If statement / While loop

If statement / While loop

8th Grade

10 Qs

quiz-placeholder

Similar activities

Recuperação - 8º anos - Prova PR + Quizizz

Recuperação - 8º anos - Prova PR + Quizizz

8th Grade

12 Qs

Python List

Python List

4th Grade - University

15 Qs

Python

Python

8th - 9th Grade

15 Qs

KEIRO PROGRAMMING

KEIRO PROGRAMMING

4th - 12th Grade

10 Qs

Programming Constructs

Programming Constructs

5th - 11th Grade

10 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

TSKC-TASK: NETAJI QUIZ-23

TSKC-TASK: NETAJI QUIZ-23

KG - Professional Development

10 Qs

Games Industry Jobs

Games Industry Jobs

8th Grade

14 Qs

If statement / While loop

If statement / While loop

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Used 34+ 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

What is selection?

Using IF and ELSE to have a decision in a program
Selecting which character to use in your game
Selecting options in a game
Selecting how much XP to gain

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What colour does the "selection" code change to in Python?

Black
Purple
Orange
Green

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the == mean in this code?

Is
Is equal to
Is not equal to
Is not

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What best defines an IF statement in python?

Is an embedded string with a variable
An IF statement checks to see if a statement is true or false and then does one of two things depending on the result.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We use ________ to indicate what statement a block of code belongs to

Conditions

Iteration

Indentation

Infinite loops

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The while loop statement ends with which symbol?

#

:

)

+

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

This code will..

ask a user for an input 10 times

output all numbers from 0 to 9

output all numbers from 0 to 10

output the word num 10 times

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

Already have an account?

Discover more resources for Computers