Y9 Loops and Ifs

Y9 Loops and Ifs

8th - 12th Grade

40 Qs

quiz-placeholder

Similar activities

Pseudocode - Initialization of variables

Pseudocode - Initialization of variables

8th - 12th Grade

45 Qs

Problem Solving and Program Design Final Quiz

Problem Solving and Program Design Final Quiz

11th Grade

40 Qs

Scratch Midterm Revision

Scratch Midterm Revision

9th Grade

40 Qs

Loops in Java

Loops in Java

10th - 12th Grade

41 Qs

CS8 - ZLGA - 2nd SW

CS8 - ZLGA - 2nd SW

8th Grade

45 Qs

Roblox  Lanjutan (Bag. 7.2)

Roblox Lanjutan (Bag. 7.2)

9th - 12th Grade

45 Qs

AI Captain (artificial intelligence)

AI Captain (artificial intelligence)

6th - 12th Grade

37 Qs

Algorithm and Flowchart - Unit 4 (IT 9626)

Algorithm and Flowchart - Unit 4 (IT 9626)

12th Grade

41 Qs

Y9 Loops and Ifs

Y9 Loops and Ifs

Assessment

Quiz

Computers

8th - 12th Grade

Hard

CCSS
6.EE.A.2B, L.2.2C

Standards-aligned

Created by

Rachel Pugh

Used 7+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

In programming, what is iteration?

The repetition of steps within a program

The order in which instructions are carried out

A decision point in a program

Testing a program to make sure it works

2.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Why is iteration important?
It determines the order in which instructions are carried out
It allows code to be simplified by removing duplicated steps
It allows multiple paths through a program
It ensures the code works correctly

3.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which two statements are used to implement iteration?
IF and WHILE
ELSE and WHILE
FOR and WHILE
IF and ELSE

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

FOR loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

5.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which type of loop iterates until instructed otherwise?

FOR loop

WHILE loop

6.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

WHILE loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

7.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

The condition for a while loop to continue could include which of the following?
While something equals something
While something is greater than something
While something is True
All of these

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?