Page 124 - ConceptGP_C8_Fb
P. 124
At a Glance
• A computer language is the means by which instructions and data are transmitted to the
computer.
• Compilers and interpreters are types of software that convert the source program into machine
language before executing it.
• Interactive Mode is a command line shell which gives immediate result for each command.
• IDLE stands for Integrated Development and Learning Environment.
• The input() function takes the user’s input while a program executes.
• The print() function prints or sends the output to the standard output device, which is usually
a monitor.
• Variables are memory reference points where we store values which can be accessed or changed
later.
• A data type specifies the type of value a variable can contains.
• Comments enable us to understand the way a program works.
• Operators can be defined as special symbols which perform arithmetic and logical computation.
• Arithmetic operators perform arithmetic operations between two operands.
• The assignment operators are used to assign the value of the right expression to the left operand.
• Relational operators are used to compare the value of the two operands and returns True or
False accordingly.
• Precedence of operators determines the order in which the operators are executed.
Tick ( ) the correct option.
1. The language understood by the computer is ____________ .
a. Assembly language b. Machine language
c. High-level language d. 4GL
2. Which of the following is the third generation language?
a. High-level language b. Machine language
c. Assembly language d. Low-level language
3. Which one of the following has the highest precedence in a logical expression?
a. Addition b. Multiplication
c. Exponential d. Parentheses
122 Premium Edition-VIII

