Unit 4: Variables, Conditionals, Functions (APCSP Code.org)

Unit 4: Variables, Conditionals, Functions (APCSP Code.org)

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

21 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

Functions can help remove repeated code from a program

2.

FLASHCARD QUESTION

Front

Choose the correct definition for Conditional Statement

Back

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

3.

FLASHCARD QUESTION

Front

What does a function do?

Back

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

4.

FLASHCARD QUESTION

Front

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

Back

2

5.

FLASHCARD QUESTION

Front

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

Back

1

6.

FLASHCARD QUESTION

Front

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

Back

3

7.

FLASHCARD QUESTION

Front

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

Back

4

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?