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
10 questions
Kiểm tra 15' tin 8 lần 2
Quiz
•
8th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
9 questions
Microbit Features Activity
Quiz
•
6th - 8th Grade
15 questions
KD 3.1_Aplikasi Pengolah Angka / Spreadsheet
Quiz
•
10th Grade
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
ICT: WEEK 1
Quiz
•
8th Grade
10 questions
Network
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
