Y8 - Python - Quiz 2

Y8 - Python - Quiz 2

7th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Networks

Computer Networks

7th Grade

15 Qs

2024-25 - Y8 - Python Programming - Quiz 3

2024-25 - Y8 - Python Programming - Quiz 3

7th Grade

10 Qs

Programming Logic 1st

Programming Logic 1st

6th - 7th Grade

14 Qs

Python Basics - Year 8

Python Basics - Year 8

7th - 9th Grade

14 Qs

Edison Robot

Edison Robot

6th Grade - Professional Development

15 Qs

Coding in Minecraft #1

Coding in Minecraft #1

7th - 8th Grade

10 Qs

Unit 1 Quiz - Bootstrap: Algebra

Unit 1 Quiz - Bootstrap: Algebra

6th - 12th Grade

10 Qs

HW: Micro:bit Week 5

HW: Micro:bit Week 5

7th - 8th Grade

10 Qs

Y8 - Python - Quiz 2

Y8 - Python - Quiz 2

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Courtney Owen

Used 2+ 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 block of code is chosen
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?