Python Variables and Selection

Python Variables and Selection

7th Grade

10 Qs

quiz-placeholder

Similar activities

Y7 Variables and Algorithms

Y7 Variables and Algorithms

7th Grade

10 Qs

Small Basic Quiz

Small Basic Quiz

7th - 9th Grade

12 Qs

Scratch Arithmetic Operators

Scratch Arithmetic Operators

4th - 7th Grade

15 Qs

Small Basic Variables

Small Basic Variables

6th - 10th Grade

7 Qs

Microbit-Countdown timer2

Microbit-Countdown timer2

6th - 8th Grade

15 Qs

MIT App Inventor SC Assessment 1

MIT App Inventor SC Assessment 1

7th - 12th Grade

15 Qs

Intro to Small Basic

Intro to Small Basic

KG - 7th Grade

15 Qs

SCRATCH QUIZ

SCRATCH QUIZ

6th - 8th Grade

15 Qs

Python Variables and Selection

Python Variables and Selection

Assessment

Quiz

Computers

7th Grade

Medium

Created by

P Clark

Used 28+ times

FREE Resource

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

==
!=
>

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?