AP CSP Algorithms

AP CSP Algorithms

10th - 12th Grade

23 Qs

quiz-placeholder

Similar activities

ON TAP TIN 11

ON TAP TIN 11

1st - 12th Grade

20 Qs

Cuarto Bach. III U/Final

Cuarto Bach. III U/Final

10th Grade

20 Qs

Database&Relation

Database&Relation

12th Grade

20 Qs

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

SUMATIF MS WORD X E 4 DAN 5

SUMATIF MS WORD X E 4 DAN 5

10th Grade

20 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

20 Qs

UH 1 Teknologi wan

UH 1 Teknologi wan

12th Grade

20 Qs

AP CSP Algorithms

AP CSP Algorithms

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Created by

Dr. Moriarty

Used 251+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following algorithm display?
 \leftarrow   13
 \leftarrow   17
 \leftarrow   a + 1
 \leftarrow   a/7
DISPLAY(c)
DISPLAY(a)
DISPLAY(b)

2, 14, 17

13, 17, 5

2, 12, 2

14, 17, 2

2.

MULTIPLE CHOICE QUESTION

30 sec • 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

30 sec • 1 pt

What will the following algorithm display?

a ← 11

a ← a + 35

a ← a + 6

a ← a MOD 2

a ← a x b

DISPLAY (a)

0

42

84

126

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Extra Credit: Before deciding on a Hedgehog, Sega originally planned to make Sonic a...

rabbit

goose

cat

dinosaur

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following display?

a ← "Milk"

a ← "Cookies Soda"

a ← "Chips"

b ← a + "put them in a bag so they stay crisp"

Milk

Milk Cookies Soda

Put them in a bag so they crisp

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value displayed after the program is run?
 \leftarrow  8
 \leftarrow  3
 \leftarrow  2
 \leftarrow  b * c
 \leftarrow  c+4
display "a"
display (c)

a  8

a  6

8  6

16  4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What is the value displayed after the program is run?
 \leftarrow  8
 \leftarrow  3
 \leftarrow  2
 \leftarrow  b*c
 \leftarrow   c+4
DISPLAY("a")
DISPLAY("c")

a  8

a  c

8  6

16  4

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?