Code.org CSP Unit 4 Review (23-24)

Code.org CSP Unit 4 Review (23-24)

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does each variable store at the end of the program?

Back

Media Image

2.

FLASHCARD QUESTION

Front

var a = 6;
var b = 4;
var c = 2;
b = a / 2;
a = a % b;
c = b + 1;

Back

Media Image

3.

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;

4.

FLASHCARD QUESTION

Front

What is output by line 6?

Back

35

5.

FLASHCARD QUESTION

Front

Which of the following will be printed out? Options: Option A, Option B, Option C, Option D, Option E

Back

Option A

6.

FLASHCARD QUESTION

Front

What is the output to the console after the following code segment is executed? Options: 5, 8, 10, 13, Error. Cannot make a new variable x inside function increase()

Back

13

7.

FLASHCARD QUESTION

Front

Consider the following flow chart showing a process for program execution. Given that a = 5, and b = 10, what will be displayed by the program?

Back

10

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?