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

Python 146- While Loops

Python 146- While Loops

4th Grade - Professional Development

10 Qs

QuickCSharpCodeQuiz

QuickCSharpCodeQuiz

8th - 12th Grade

12 Qs

Week 3 Arduino Basics Quiz

Week 3 Arduino Basics Quiz

7th - 12th Grade

10 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

Algorithms & Pseudocode

Algorithms & Pseudocode

8th - 12th Grade

10 Qs

Website Design

Website Design

KG - University

10 Qs

KS3 Computing -- Iteration: FOR or WHILE?

KS3 Computing -- Iteration: FOR or WHILE?

7th - 9th Grade

10 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