AP CSP 3.8 (Iteration)

AP CSP 3.8 (Iteration)

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

AP CSP Unit 7

AP CSP Unit 7

9th - 12th Grade

8 Qs

Unit 7 APCSA

Unit 7 APCSA

9th - 12th Grade

8 Qs

AP Computer Science Principles Unit 7 Review

AP Computer Science Principles Unit 7 Review

9th - 12th Grade

8 Qs

Comp Sci unit 3 #8

Comp Sci unit 3 #8

11th Grade

10 Qs

U5L13 - Pseudocode Homework (Conditionals & Loops)

U5L13 - Pseudocode Homework (Conditionals & Loops)

10th - 12th Grade

10 Qs

AP CSP Big Idea 3 Practice

AP CSP Big Idea 3 Practice

9th - 12th Grade

10 Qs

CMYK and RGB

CMYK and RGB

9th - 12th Grade

10 Qs

APCSA Unit 7

APCSA Unit 7

9th - 12th Grade

8 Qs

AP CSP 3.8 (Iteration)

AP CSP 3.8 (Iteration)

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Herman Galioulline

Used 15+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

The following grid contains a robot represented as a triangle, which is initially facing toward the top of the grid. The robot can move into a white or gray square but cannot move into a black region.


Which of the following code segments can be used to move the robot to the gray square?

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the value of result after the code segment is executed?

6

10

15

21

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

true false false

true false true

true true false

true true true

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following describes the result of executing the program?

The program displays the sum of the even integers from 2 to 10.

The program displays the sum of the even integers from 2 to 20.

The program displays the sum of the odd integers from 1 to 9.

The program displays the sum of the odd integers from 1 to 19.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
Media Image
Media Image
Media Image
Media Image