Font size
WorksheetsPython Unit 1 Quiz
Total questions: 20
Worksheet time: 12mins
Complete The code to take address as Input from the user?
address=_
(a)
At which line will this code stop execution?
salary
2nd
3rd
1st
5th
The computer will get stuck at line 2. why?
Line 2 contains the first error
The error in line 3 is anticipated
Produce a line of code to store a movie Title in a variable named movie
1)= , 2)"Avatar"
3)movie , 4)Avatar
123
421
312
432
Fill The blank
Campaign
CAMPAIGN
campaign
What will be the output?
True
False
show a error
What will be the output?
84
Show error
12
What will be the output here?
will give output as major or minor depending on the user's input
show error
What will be the output
50000
True
50000
True
Show Error
In what data type will the variables store the value if given input?
String
int
String
String
int
String
int
int
What will be the code output?
The sum of the numbers
The concatenation of two strings
What would be the output?
"720"
360360
720
Show error
Answer the Given question
The line starts with a Hash symbol #
There is an equal sign=
The value is surrounded by double quotation marks
The value is surrounded by any quotation marks
Which of the following operator has the highest precedence?
not
&
*
+
What will be the output?
50
Show error
0
None
Output?
(a)
Output?
(a)
What is missing in the following line of code?
[ ]
( )
{ }
What is the output of print(2%6)
(a)
What will be the output?
y=10
x= y += 2
print(x)
12
10
Syntax Error
