Page 60 - Modular v1.1 Pyhton
P. 60
Test Sheet-1
(Based on chapters 1 to 5)
Section A
A. Tick ( ) the correct option.
1. Which of the following does the menu bar of the Python IDLE window contain?
a. File b. Edit
c. Shell d. All of the above
2. Which of the following function takes the user’s input while a program executes?
a. input( ) b. output( )
c. print( ) d. None of the above
3. Which one of the following has the highest precedence in a logical expression?
a. Addition b. Multiplication
c. Exponential d. Parentheses
4. Which of the following symbol(s) is/are used for comments in Python?
a. // b. ‘’
c. /**/ d. #
5. Which of the following is not the conditional statement in Python?
a. if Statement b. if…else Statement
c. if...elif...else Statement d. None of the above
6. Which of the following conditional statements is used to test multiple conditions?
a. if b. if…else
c. if…elif…else d. All of the above
7. Which of the following is a looping statement in Python?
a. for statement b. while statement
c. if statement d. break statement
8. Which of the following statements terminates the execution of the loop?
a. if b. for
c. break d. continue
58 Touchpad MODULAR (Version 1.0)

