Search Header Logo

CODE.ORG CSP UNIT4 TEST REVEIW

Authored by Jared Pinkston

Computers

9th - 12th Grade

Used 120+ times

CODE.ORG CSP UNIT4 TEST REVEIW
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true of functions?

Programs written with functions run more quickly

Functions can help remove repeated code from a program

Replacing repeated code with a function will reduce the number of commands the computer needs to run

Functions are called once but can be declared many times

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct definition for Conditional Statement

affects the sequential flow of control by executing different statements based on the value of a Boolean expression

stores information as a number, String, or Boolean

joins together two or more strings end-to-end to make a new string

an ordered sequence of characters

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a function do?

functions makes programs run faster

functions are like chorus lines that call repeated segments of code instead of writting the same code over and over

reduces the total number of commands a program needs to run

functions are repeated bits of a program written over and over

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the value of the variable bags be at the end of the flowchart shown here?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the value of the variable bags be at the end of the flowchart shown here?

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the value of the variable bags be at the end of the flowchart shown here?

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the value of the variable bags be at the end of the flowchart shown here?

1

2

3

4

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?