Search Header Logo

Python Variables and Selection

Authored by P Clark

Computers

7th Grade

Used 28+ times

Python Variables and Selection
AI

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's a variable.
It can input data.

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?

A chart showing the flow of a series of events
Step-by-step instructions used to solve a problem
A computer program that follows a chart

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?