
5.11-5.16
Authored by Đỗ (TDS-THT)
others
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of print(type(0xFF)
number
hexint
hex
int
float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Please select the correct expression to reassign a global variable “x” to 20 inside a function fun1()
global x =20
global var x
x =20
global.x = 20
. global x
x=20
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following variable assignment?
Error
76
1
75
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following nested loop?
10 Chair , 10 Table , 20 Chair , 20 Table
10 Chair ,10 Table
20 Chair, 20 Table
10 Table, 20 Chair
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of precedence in python?
i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtraction
i, ii, iii, v, vi, vi
i, iii, ii, iv, v, vi
ii, i, v, iii, v, vi
ii, i, iii, v, iv, vi
i, ii, iii, iv, v, vi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the nested if-else structure below, what will be the value of x after code execution completes
2
0
3
4
1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?