الثلاثاء، 27 مايو 2014

What is a Computer Program?



What is a Computer Program?


A computer program is a file or collection of files that instruct a computer what to do. Just like a program at a play or concert, a computer program at the most basic level is a list of events. The computer iterates through the list and performs functions based upon the instructions in the program. Computer programs are rarely used in a stand-alone fashion: most programs used in home and business settings read input from data files or store their output, thus constituting one component of a software system. Even the simplest of calculator programs with no persistent memory or user-configurable settings make use of shared code libraries, thus they are not true stand-alone programs. A computer program is one type of software, other types of software include configuration files that store user preferences, linked or shared libraries, and user files which contain data.
Computer programs are either written in machine language, which is directly readable by the computer's CPU yet difficult for humans to understand, or in a high-level programming language which is similar to human languages, but must be converted to machine language in order to run. The task of converting the high-level languages to machine language is usually done by a compiler (another program), which is written in an intermediate-level language that was likely considered a high-level language at the time it was written. Thus as new, more powerful programming languages are developed they can be used to develop newer, yet more powerful languages. This constant reinvention cycle, aided by rapid improvements in computer hardware, helps fuel the software industries' accelerated development and release schedule. Usually, computer programs that are acquired by the end user are already converted into machine language and the code that created it cannot be examined or altered. Programs that distribute the source code with the intention that others will read it and improve upon it are usually referred to as open-source software.
a Computer Program logo
The first computer program was written in the early 1840's by Ada Lovelace as an amendment to a translation of the description of the unbuilt Analytical Engine. This early program describes an algorithm for computing Bernoulli numbers: a tedious, repetitive task that is easy to compute in an automated fashion. While simple in theory, this pioneer application of the algorithm established many core principals for computer programing still used today. The concepts of program flow, decision making, turing completeness, and necessity of valid input were all developed in Ada's notes. Additionally, this program preceded the construction of computers actually capable of running it by almost one hundred years.


برنامج كمبيوتر هو ملف أو مجموعة من الملفات التي يكلف جهاز كمبيوتر ما يجب القيام به . تماما مثل البرنامج إلى مسرحية أو حفلة موسيقية ، برنامج كمبيوتر على مستوى أبسط هي قائمة من الأحداث . و تتكرر الكمبيوتر من خلال القائمة و يؤدي وظائف بناء على تعليمات في البرنامج. نادرا ما تستخدم برامج الكمبيوتر في قائمة بذاتها أزياء : معظم البرامج المستخدمة في المنزل و الأعمال إعدادات قراءة المدخلات من ملفات البيانات أو تخزين إنتاجهم ، مما يشكل أحد مكونات نظام البرمجيات. حتى أبسط برامج الآلة الحاسبة مع عدم وجود الذاكرة الثابتة أو إعدادات المستخدم للتكوين الاستفادة من المكتبات التعليمة البرمجية المشتركة ، وبالتالي فهي ليست برامج قائمة بذاتها الحقيقية. برنامج الكمبيوتر هو نوع واحد من البرامج ، وأنواع أخرى من البرامج تشمل ملفات التكوين التي تقوم بتخزين تفضيلات المستخدم ، أو ربط المكتبات المشتركة ، و ملفات المستخدم التي تحتوي على بيانات .
يتم كتابة برامج الكمبيوتر إما في لغة الآلة ، التي هي قابلة للقراءة مباشرة من قبل وحدة المعالجة المركزية حتى الآن من الصعب على البشر أن نفهم، أو في لغة برمجة عالية المستوى التي هي مماثلة ل غات البشر ، ولكن يجب تحويلها إلى لغة الآلة من أجل تشغيل الكمبيوتر . وعادة ما يتم مهمة تحويل لغات عالية المستوى إلى لغة الآلة بواسطة مترجم ( برنامج آخر ) ، الذي هو مكتوب في لغة المتوسطة المستوى التي كان من المحتمل اعتبار لغة عالية المستوى في الوقت الذي كتبت عليه . وبالتالي كما يتم تطوير جديدة ، لغات البرمجة أكثر قوة يمكن استخدامها لتطوير أحدث و أقوى لغة حتى الآن . هذه دورة التجديد المستمر ، وبمساعدة من تحسينات سريعة في أجهزة الكمبيوتر ، ويساعد على دعم التنمية في صناعة البرمجيات " تسارع والافراج عن الجدول الزمني . عادة ، يتم تحويل برامج الكمبيوتر التي يتم الحصول عليها من قبل المستخدم النهائي بالفعل إلى لغة الآلة و التعليمات البرمجية التي تم إنشاؤها أنه لا يمكن فحص أو تغييرها. عادة ما يشار البرامج التي توزع شفرة المصدر مع نية أن الآخرين سوف يقرأها و تحسين عليه ل برمجيات المصدر المفتوح كما .
شعار برنامج الحاسوب
تم كتابة برنامج كمبيوتر لأول مرة في أوائل عام 1840 من قبل آدا لوفليس كتعديل لل ترجمة لل وصف المحرك التحليلي غير مبني . يصف هذا البرنامج في وقت مبكر خوارزمية لحساب أعداد برنولي : لذلك، مهمة شاقة المتكررة التي هي سهلة لحساب بطريقة آلية . في حين بسيطة من الناحية النظرية ، التي أنشئت هذا التطبيق رائدة من الخوارزمية العديد من مديري المدارس الأساسية ل برمجة الكمبيوتر لا تزال تستخدم اليوم. مفاهيم تدفق البرنامج ، وصنع القرار ، تورينج اكتمال ، و ضرورة إدخال صالح وقد وضعت جميع الملاحظات في آدا . بالإضافة إلى ذلك، سبقت هذا البرنامج بناء أجهزة الكمبيوتر في الواقع قادرة على تشغيل من قبل ما يقرب من مائة سنة .

0 التعليقات:

إرسال تعليق