
4.18 - 5.4
Authored by Đỗ (TDS-THT)
Computers
9th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the following?
[i*i for i in range(5)][2::-1]
[0, 1, 4, 9, 16]
[4, 1, 0]
[16, 9, 4]
[16, 9, 4, 1, 0]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the program?
7
[1, 2, 3]
[1, 2, 3, None, None, None, 7]
[1, 2, 3, 7]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the expected output of the program?
None
a
C
None of the above
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python language was developed in what year?
1985
1920
1991
2001
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a statement in programming?
Expresses an action to be carried out
Always returns results like expressions
Rules controlling how components in a program are combined
An instruction to perform a task, usually one word
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
James
JamesJamesJamesJamesJamesJames
JamesJamesJamesJamesJames
Error: invalid syntax
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code
py
yn
pyn
yna
pn
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
Already have an account?