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
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
20 questions
Coding 1 Diagnostic
Quiz
•
9th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
20 questions
Analisis Data X-2
Quiz
•
10th Grade
20 questions
Computer Fundamentals
Quiz
•
10th Grade
11 questions
Evaluación de Computación de 6to
Quiz
•
12th Grade
20 questions
CS LEAGUE QUIZZ 1
Quiz
•
1st - 9th Grade
20 questions
Term 3 - CCDI - Adv - Checkpoint Quiz1
Quiz
•
12th Grade
10 questions
Input and Output Device Combo Meal!
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
