Python Variables and Selection

Python Variables and Selection

7th Grade

10 Qs

quiz-placeholder

Similar activities

AstepI Quiz 5

AstepI Quiz 5

4th - 8th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

KS3 GCSE Computer Science (Programming / Python)

KS3 GCSE Computer Science (Programming / Python)

7th - 11th Grade

10 Qs

Variables, Selection, & Loops

Variables, Selection, & Loops

6th - 7th Grade

10 Qs

7.4 Microbit Lesson 4 Homework

7.4 Microbit Lesson 4 Homework

7th Grade

11 Qs

Телеботы и игры

Телеботы и игры

7th Grade

15 Qs

Year 8 Python assessment

Year 8 Python assessment

7th 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?