Search Header Logo

AP CSP 3.8 (Iteration)

Authored by Herman Galioulline

Computers

9th - 12th Grade

Used 17+ times

AP CSP 3.8 (Iteration)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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?