AP CSP:  Interpreting Algorithms / Block Programming Language

AP CSP: Interpreting Algorithms / Block Programming Language

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

AAP

Standards-aligned

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will the following code segment display?

Media Image

Back

16

Tags

AAP

2.

FLASHCARD QUESTION

Front

What will the following code segment display?

Media Image

Back

128

3.

FLASHCARD QUESTION

Front

Media Image

Back

8

4.

FLASHCARD QUESTION

Front

What does the following code segment display?

Media Image

Back

Does not display due to an infinite loop.

5.

FLASHCARD QUESTION

Front

What will the code segment display if x is set to 88?

Media Image

Back

The program will display true

6.

FLASHCARD QUESTION

Front

What will the program display if x is set to 65?

Media Image

Back

The code segment will not display any value.

7.

FLASHCARD QUESTION

Front

What are the contents of b after the code segment is executed? Options: [1,1,3,5,6], [1,1,3,5,6,7,7,10,15,1], [7,7,10,15,1], []

Media Image

Back

[1,1,3,5,6]

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?