Page 85 - 2619_PlusGPT V2.1_C-8
P. 85
test Your skiLLs
1. Tick ( ) the correct option.
a. What will be the output of the following expression:
22 % 3
(i) 7 (ii) 1
(iii) 0 (iv) 5
b. Python is a _________________ programming language.
(i) High-level (ii) Middle-level
(iii) Low-level (iv) Assembly-level
c. Which of the following variable is incorrect?
(i) NaMe (ii) _name
(iii) @value (iv) number
d. Which of the following is true?
(i) Comments are for programmers for better understanding of the program.
(ii) Python Interpreter ignores comments.
(iii) You can write multi-line comments in Python using triple quotes, either ‘’’ or “””.
(iv) All of these
e. Which of the following symbol(s) is/are used for comments in Python?
(i) // (ii) ‘’
(iii) /**/ (iv) #
f. Which one of the following is not a arithmetic operator used in Python?
(i) Addition (ii) Multiplication
(iii) Exponentiation (iv) Parentheses
2. Fill in the blanks using the words given below:
operands, Guido van Rossum, Quotes, input( ), variable
a. Python was developed by _________________.
b. A data type specifies the type of value a _________________ can contains.
c. The values which the operators use to get the output are called _________________.
d. The _________________ function allows to take user’s input while a program executes.
e. To write a multi-line comment in Python, we use the triple _________________.
Introduction to Python 83

