Unit 5 AP CSP Code.org

Unit 5 AP CSP Code.org

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

FLASHCARD QUESTION

Front

.

Back

Media Image

2.

FLASHCARD QUESTION

Front

What code should Jasmine insert where it says in order for her app to work? Options: cart total = 1; , cartTotal + 1; , cartTotal = cartTotal +1; , var cartTotal = cartTotal + 1; , var cartTotal + 1;

Back

cartTotal = cartTotal +1;

3.

FLASHCARD QUESTION

Front

Jose is writing a reply function for a text messaging app. He'd like to swap the sender and receiver so that the value currently in variable From ends up as the value in To and To ends up in From. Which code segments will correctly swap the values?

Back

Media Image

4.

FLASHCARD QUESTION

Front

Which of the following images is the most likely outcome of the drawing?

Back

Media Image

5.

FLASHCARD QUESTION

Front

What is displayed by the console.log statement after the following code segment executes?

Back

value is: 4

6.

FLASHCARD QUESTION

Front

A student decides to draw a series of three dots (sort of like a snowman) as shown in the diagram. She wants each dot to be half the radius of the previous dot, and for the center to be on the edge of the dot below it. She writes the following code segment to do it.

Back

Media Image

7.

FLASHCARD QUESTION

Front

What is the output to the console after the following code segment is executed?

Back

Error. Unknown Identifier: x

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?