Search Header Logo

AP CSP - Fall Review

Authored by Jon Cihlar

Computers

10th - 12th Grade

Used 5+ times

AP CSP - Fall Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is 10 (base 10) in base 2?

1010

10

101

1001

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol comes after if, while, and for in statements?

:

,

;

!

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An algorithm is a/an ____.

precise and unambiguous set of instructions that complete a task

binary representation of a specific phenomenon

computer program that must finish its task in a reasonable time

computer program that never finishes its task

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

In Python, which of the following are equivalent to 4?

2**2

2*2

9 // 2

9 % 5

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The Structured Program Theorem states any algorithm can be expressed as a combination of which of the following control structures (select all that apply).

Sequence

Selection

Repetition

Procedures/Functions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the largest in base 16?

B0

5A

3C

AF

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the following code output when the user enters 1? (Assume the indenting is correct)


a = input()

if (a % 2 == 0):

print('Even')

else:

print('Odd')

Odd

Even

Nothing

An error - there is a syntax error

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?