NEW
Font size
WorksheetsLesson 6 - Introduction to control statements
Total questions: 10
Worksheet time: 20mins
What will be the output of following code ?
20
14
12
none
What will be the output of the following code ?
not equal
equal
False
none
What will be the output of The following code ?
rohit
my name is
my name is rohit
none
What will be the output of the following code ?
18
not eligible for vote
True
eligible for vote
What will be the output of the following code ?
True
False
Both true and false
none
What will be the output of following code ?
False
True
nothing
none
what will be the output of the following statement ?
False
0
False and 0
none
what will be the output of the following statement ?
good morning
good day
both good morning and good day
none
What will be the output of the following code ?
good
True
both good and True
none
For which purpose if statement is used ?
For assigning the values
For checking conditions
For creating new variable
none
