Python programming -recap
Quiz
•
Computers
•
7th - 10th Grade
•
Hard
Shiv K
Used 258+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will display the text 'Hello world!' on the screen?
print(Hello world!)
print "Hello world!"
print("Hello world!")
print = "Hello world!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will correctly ask the user for their age?
age = input("How old are you?")
age = input(How old are you?)
input("How old are you?") = age
How old are you = input()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which decision statement will be triggered if the variable x is less than 20?
if x > 20:
if x <> 20:
if x == 20:
if x < 20:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these tests whether the variable x is the same as 'Hello'?
x = "Hello"
x != "Hello"
x == "Hello"
x <> "Hello"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
Yes
No
Error
No output
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
Yes
No
Error
No output
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
1 to 10 numbers
1 to 5 numbers
1
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?
Similar Resources on Wayground
9 questions
Test Excel
Quiz
•
10th - 12th Grade
10 questions
UNIT 2.4 LOGIC
Quiz
•
10th Grade
10 questions
For loop
Quiz
•
8th Grade
12 questions
prep1-revision
Quiz
•
7th Grade
17 questions
PSTS1 Informatika
Quiz
•
10th Grade
10 questions
Activity 1: How well do you know Java?
Quiz
•
9th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
10 questions
NHTW Programming
Quiz
•
9th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
