Y8 - Python - Quiz 2

Y8 - Python - Quiz 2

7th Grade

10 Qs

quiz-placeholder

Similar activities

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Introduction to Networks

Introduction to Networks

6th - 8th Grade

14 Qs

Binary

Binary

6th - 9th Grade

11 Qs

IT quiz class 7 E-commerce and blogging

IT quiz class 7 E-commerce and blogging

6th - 7th Grade

15 Qs

Coding helps to Understand

Coding helps to Understand

6th - 10th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Key Concepts 1

Key Concepts 1

5th - 7th Grade

11 Qs

21 Things Basics

21 Things Basics

7th - 8th Grade

10 Qs

Y8 - Python - Quiz 2

Y8 - Python - Quiz 2

Assessment

Quiz

Computers

7th Grade

Practice Problem

Hard

Created by

Courtney Owen

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?