CMU CS Academy Unit 7.3.1 For Loops

CMU CS Academy Unit 7.3.1 For Loops

9th Grade

9 Qs

quiz-placeholder

Similar activities

FOR Loops Python

FOR Loops Python

9th - 12th Grade

12 Qs

Python Programming - Iteration

Python Programming - Iteration

9th Grade

12 Qs

C++ - Loops and Random Numbers

C++ - Loops and Random Numbers

9th - 12th Grade

14 Qs

Programming Constructs - Bitesize

Programming Constructs - Bitesize

KG - 11th Grade

10 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

For Loops (Java)

For Loops (Java)

9th - 12th Grade

14 Qs

loops

loops

9th - 10th Grade

6 Qs

CMU CS Academy Unit 5

CMU CS Academy Unit 5

9th Grade

9 Qs

CMU CS Academy Unit 7.3.1 For Loops

CMU CS Academy Unit 7.3.1 For Loops

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Joan Goldberg

Used 97+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program prints

numbers from 0 to 9

numbers from 0 to 10

numbers from 1 to 10

numbers from 0 to 11

numbers from 1 to 11

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program prints

0

1

9

10

11

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

i is called the

loop body

pass

looping variable

index

numbers from 1 to 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Line 2 is the

loop body

pass

looping variable

index

numbers from 1 to 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Each time through the loop is called a

loop body

pass

looping variable

index

numbers from 1 to 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the loop run?

0

9

10

11

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of i on the first pass of the loop?

0

9

10

11

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of i on the last pass of the loop?

0

9

10

11

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many lines of code are in the loop body?

0

1

2

3