
Python Variables and Selection
Authored by P Clark
Computers
7th Grade
Used 32+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the print function do in python?
It displays an output message
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the definition for a VARIABLE?
It stores a value within a program that can change
It allows the algorithm to make a selection
It is a set of precise instructions to solve a problem
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is an Algorithm?
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these is an example of a variable EXPRESSION?
seconds = 60
seconds = 60 * 60 * 24
seconds = minutes * 60
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these is an example of a simple variable ASSIGNMENT?
seconds = 60
seconds = 60 * 60 * 24
seconds = 60 + minutes * 5
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a definition of SELECTION?
A variable expression
A precise set of step-by-step instructions written in a programming language
When the program checks the conditions and chooses the path based on the outcome
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This operator means that one value is equal to the other value
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?