Document Details

LuckiestLepidolite

Uploaded by LuckiestLepidolite

Beni-Suef University

Tags

programming languages computer programming programming concepts computer science

Summary

This document contains a set of True/False questions related to programming languages. It covers fundamental concepts, like what a program is and how it works. The document also includes explanations in Arabic, making it suitable for a computer science course.

Full Transcript

Sheet 1 Programming Course Languages Specialization ELECTRONICS AND Name PROCESS CONTROL...

Sheet 1 Programming Course Languages Specialization ELECTRONICS AND Name PROCESS CONTROL TECHNOLOGY ❖ Put true or false of the following. 1) A program is a set of instructions following the rules of the chosen language. True 2) With programs, computers are useless and it is like a recipe. False (Without) 3) ………………. contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables. Answer : Program.‫البرنامج عبارة عن مجموعة من التعليمات التي تتبع قواعد اللغة المختارة‬-1.‫ تصبح أجهزة الكمبيوتر عديمة الفائدة وهي بمثابة الوصفة‬،‫مع البرامج‬-2 ‫ يحتوي على قائمة من المكونات (تسمى المتغيرات) وقائمة من التوجيهات (تسمى البيانات) التي تخبر الكمبيوتر‬.……………… -3.‫بما يجب فعله بالمتغيرات‬ 4) It is a vocabulary and set of grammatical rules (syntax) for instructing a computer to perform specific tasks. Answer : Programming languages 5) Programming languages can be used to create computer programs. True 6) The term …………………. usually refers to high-level languages, such as BASIC, C, C++, COBOL, FORTRAN, Ada, and Pascal. Answer : programming language.‫إنها عبارة عن مفردات ومجموعة من القواعد النحوية (بناء الجملة) لتوجيه الكمبيوتر ألداء مهام محددة‬-4.‫يمكن استخدام لغات البرمجة إلنشاء برامج الكمبيوتر‬-5 Ada‫ و‬FORTRAN‫ و‬COBOL‫ و‬++C‫ و‬C‫ و‬BASIC ‫ مثل‬،‫يشير مصطلح لغة البرمجة عادةً إلى اللغات عالية المستوى‬-6.Pascal‫و‬ 7) You eventually need to convert your program into …….so that the computer can understand it. Answer :machine language 8) There are three ways to convert your program into machine language, Compile the program and Interpret the program. False (two).‫ستحتاج في النهاية إلى تحويل برنامجك إلى لغة اآللة حتى يتمكن الكمبيوتر من فهمه‬-7.‫ ترجمة البرنامج وتفسيره‬،‫هناك طريقتان لتحويل برنامجك إلى لغة اآللة‬-8 9) Compile is to transform a program written in a high-level programming language from source code into object code. True 10) A …………. reads the whole source code and translates it into a complete machine code program to perform the required tasks which is output as a new file. Answer : compiler.‫الترجمة هي تحويل برنامج مكتوب بلغة برمجة عالية المستوى من كود المصدر إلى كود الكائن‬-9.‫ يقرأ المترجم كود المصدر بالكامل ويترجمه إلى برنامج كود اآللة الكامل ألداء المهام المطلوبة التي يتم إخراجها كملف جديد‬-10 11) Interpreter is a program that executes instructions written in a low-level language. False (high) 12) An ………….. reads the source code one instruction or line at a time, converts this line into machine code and executes it. Answer : interpreter.‫ هو برنامج ينفذ التعليمات المكتوبة بلغة عالية المستوى‬Interpreter-11.‫ ويحول هذا السطر إلى كود اآللة وينفذه‬،‫سطرا واحدًا في كل مرة‬ ً ‫ التعليمات البرمجية المصدرية تعليمة أو‬Interpreter ‫يقرأ‬-12 13) …………………is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. Answer : Computer programming 14) The source code is written in a programming language like C++, JAVA, Perl etc. True ‫استكشاف األخطاء وإصالحها والحفاظ على الكود المصدري لبرامج‬/‫برمجة الكمبيوتر هي عملية الكتابة واالختبار والتصحيح‬-13.‫الكمبيوتر‬.‫ وغيرها‬Perl ،JAVA ،C++ ‫الكود المصدري مكتوب بلغة برمجة مثل‬-14 15) A Interpreter is someone who writes computer program. False (programmer) 16) Computer programmers write, test, and maintain programs or software that tell the computer what to do. True.‫المبرمج هو الشخص الذي يكتب برامج الكمبيوتر‬-15.‫ يقوم مبرمجو الكمبيوتر بكتابة واختبار وصيانة البرامج أو البرامج التي تخبر الكمبيوتر بما يجب عليه فعله‬-16 17) What Skills are Required to Become a Programmer? 17 Programming Writing Reading Comprehension Critical Thinking Computers and Electronics programming Mathematics Oral Expression Oral Comprehension Written Expression Written Comprehension Deductive Reasoning Information Organization 18) Programming is Writing computer programs for various purposes. 19) Writing is Communicating effectively with others in writing as indicated by the needs of the audience. 20) Reading Comprehension is Understanding written sentences and paragraphs in work-related documents. 21) Critical Thinking is Using logic and analysis to identify the strengths and weaknesses of different approaches. 22) Computers and Electronics is Knowledge of electric circuit boards, processors, chips, and computer hardware and software, including applications and programming. 23) Mathematics is Knowledge of numbers, their operations, and interrelationships including arithmetic, algebra, geometry, calculus, statistics, and their applications. 24) Oral Expression is The ability to communicate information and ideas in speaking so others will understand. 25) Oral Comprehension is The ability to listen to and understand information and ideas presented through spoken words and sentences. 26) Written Expression is The ability to communicate information and ideas in writing so others will understand. 27) Written Comprehension is The ability to read and understand information and ideas presented in writing. 28) Deductive Reasoning is The ability to apply general rules to specific problems to come up with logical answers. It involves deciding if an answer makes sense. 29) Information Organization is Finding ways to structure or classify multiple pieces of information. -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 30) There are fifth Generations of Programming Language. true 31) Mention the Types of Programming Language There are three types of programming language: – Machine language (Low-level language) – Assembly language (Low-level language) – High-level language 30 31 : – – - 32) Low-level languages are closer to the language used by a computer, while high-level languages are closer to human languages. True 33) ………………..is a collection of binary digits or bits that the computer reads and interprets Answer : Machine language 34) Machine languages are the only languages understood by computers True 35) While easily understood by computers, …………………are almost impossible for humans to use because they consist entirely of numbers. Answer : Machine language 32 33 34 35 36) Assembly languages use keywords and symbols, much like English, to form a programming language but at the same time introduce a new problem True 37) Assembly language programs are translated into machine language by a program called an………. Answer : assembler -36 -37 38) High-level languages allow us to write computer code using instructions resembling everyday spoken language (for example: print, if, while) which are then translated into machine language to be executed True 39) Programs written in a high-level language need to be translated into machine language before they can be executed True 40) Some programming languages use a compiler to perform this translation and others use an interpreter True -38 -39 -40 41) List some examples of High-level Language: ADA C C++ JAVA BASIC COBOL PASCAL PHYTON

Use Quizgecko on...
Browser
Browser