Search Header Logo

AP Computer Science Algorithms Review Quizziz

Authored by Chase Choi

Science

10th Grade

NGSS covered

Used 26+ times

AP Computer Science Algorithms Review Quizziz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will the following algorithm display?

a ← 13
b ← 17
a ← a + 1
c ← a / 7
DISPLAY(c)
DISPLAY(a)
DISPLAY(b)

2 14 17

13 17 5

2 12 2

14 17 2

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following algorithm display?

a ← 13
a ← 17
a ← a + 1
DISPLAY(a)

13

17

18

19

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following algorithm display?

a ← "Milk"
a ← a + "Cookies Soda"
a ← a + "Chips"
b ← a + "put them in a bag so you know they stay crisp"
DISPLAY(b)

Milk

Milk Cookies Soda

Put them in a bag and they stay crisp

Milk Cookies Soda Chips put them in a bag so you know they stay crisp

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a ← 13 MOD 26

DISPLAY (a)

26

13

8

0

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will the following algorithm display?

a ← 26 MOD 13
DISPLAY (a)

26

13

8

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the percentage that this algorithm displays true?

DISPLAY(RANDOM(5, 9) > 9)

0%

20%

60%

100%

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With Boolean, what does "A OR B" mean?

Neither A or B can be true for the condition to be true

If A is true, then the condition is true

If B is not true, then the condition is always true

Both A and B must be true for the condition to be true

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?