Python Variables and Subroutines
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Ray Heyob
Used 8+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the statement, PRINT ((x*2<4)) and ((5>x)), what output of x will result in true(1)
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable name shows the use of proper naming conventions?
userChoice1
variable_1
Button1
Abc
variable1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this print to the screen?
print(2*4)
2*4
8
4
error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we use variables for?
To store data
Print data
Produce functions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To get the users input what function do we use?
input
input<>
input()
INPUT()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed to the screen?
5
10
5 + 10
15
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed to the screen?
5 + John
Syntax error - you cannot add str and int together
John
JohnJohnJohnJohnJohn
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
12 questions
Effect of ICT
Quiz
•
9th - 12th Grade
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st
Quiz
•
9th - 12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Keyboard Quiz
Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
