JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
XII COMPUTER SCIENCE EM TEST 6
6. CONTROL STRUCTURES
one mark questions :
Prepared by S. Saminathan, GHSS- MUKHASAPARUR, CUDDALORE DT
https://sites.google.com/view/tn-computer-science/home
Sign in to Google
to save your progress.
Learn more
* Indicates required question
NAME:
*
Your answer
REGISTER NO :
*
Your answer
SCHOOL :
*
Choose
GHSS - MUKHASAPARUR
OTHERS
1. How many important control structures are there in Python?
*
1 point
6
4
3
5
2. elif can be considered to be abbreviation of
*
1 point
if..else
if..elif
nested if
else if
3. What plays a vital role in Python programming?
*
1 point
Indentation
Statements
Control
Structure
4. Which statement is generally used as a placeholder ?
*
1 point
goto
pass
break
continue
5. The condition in the if statement should be in the form of
*
1 point
Arithmetic
Relational or Logical expression
Arithmetic or Relational expression
Arithmetic or Logical expression
6. Which is the most comfortable loop?
*
1 point
do..while
for
if..elif
while
7. What is the output of the following snippet?
i=1
while True:
if i%3 ==0:
break
print(i,end='')
i +=1
*
1 point
123
124
12
1234
8. What is the output of the following snippet?
T=1
while T:
print(True)
break
*
1 point
False
0
1
True
9. Which amongst this is not a jump statement ?
*
1 point
break
for
pass
continue
10. Which punctuation should be used in the blank?
if <condition>_
statements-block 1
else:
statements-block 2
*
1 point
;
:
::
!
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms