
Program Development - Python: Code Basics 1
Computers
8th - 10th Grade
Used 33+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
name = 'Fred'
print (name)
Fred
'Fred'
name
(name)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the answer to print (16//5)?
1
3
21
165
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of comment lines in code?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Returns the remainder from division.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output from the following code?
print(17%5)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the assignment operator?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the output be from the following code?
print("3*4+5")
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?