2023-24 - Y8 - Python Programming - Quiz 3

2023-24 - Y8 - Python Programming - Quiz 3

7th Grade

10 Qs

quiz-placeholder

Similar activities

Scratch Programming

Scratch Programming

5th - 9th Grade

15 Qs

Scratch Introduction

Scratch Introduction

5th - 8th Grade

10 Qs

Cyber Security - Year 9

Cyber Security - Year 9

1st - 9th Grade

12 Qs

Python

Python

7th - 8th Grade

13 Qs

Y8 - Python - Quiz 2

Y8 - Python - Quiz 2

7th Grade

10 Qs

Year 8 Python assessment

Year 8 Python assessment

7th Grade

15 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

KS3 Computational Thinking

KS3 Computational Thinking

7th - 8th Grade

10 Qs

2023-24 - Y8 - Python Programming - Quiz 3

2023-24 - Y8 - Python Programming - Quiz 3

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Courtney Owen

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these describes what happens in a selection statement in programming?
A list of items is sorted

A decision is made to determine what happens next

A variable is declared
An array is looped through

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these words start a selection statement?
else
elif
if
select

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct structure of a selection statement in Python?
Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these operators is used to compare two values to see if they are equal to each other?
<=
!=
==
>=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Looking at the code, what are num1 and num2 known as?
Variables
Vestibules
Vectors
Viruses

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Looking at the code, what would be output if the code was run?
Equal
10
Nothing
13

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Looking at the code, what other type of statement would need to be included to add an alternative path to the selection statement?
alternative
else
instead
otherwise

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?