Page 24 - PlusGPT_V2.1_C8_Flipbook
P. 24
3. Write ‘T’ for True and ‘F’ for False.
a. The print() function allows to display output on the screen while a
program executes. _________________
b. Machine language is also known as the second-generation language (2GL). _________________
c. Float data types represent numbers that contain a decimal point. _________________
d. A variable can hold different types of values. _________________
e. Comments are the most helpful part of any program. _________________
4. Answer the following:
a. What do you mean by expression ‘a = 8’?
___________________________________________________________________________________
___________________________________________________________________________________
b. What is the use of variables in Python.
___________________________________________________________________________________
___________________________________________________________________________________
c. Define the term data types.
___________________________________________________________________________________
___________________________________________________________________________________
d. Write the name of any five components of Python Editor window.
___________________________________________________________________________________
___________________________________________________________________________________
e. What is the use of W3Schools?
___________________________________________________________________________________
___________________________________________________________________________________
f. What is the use of comments in programming? How many types of comments are there in
Python?
___________________________________________________________________________________
___________________________________________________________________________________
g. Write any two disadvantages of W3Schools.
___________________________________________________________________________________
___________________________________________________________________________________
h. Distinguish between the following with the help of examples.
(i) Modulus operator and Division operator
________________________________________________________________________________
________________________________________________________________________________
22 Premium Edition-VIII

