Unit 4 - Variables, Conditionals, Functions

Unit 4 - Variables, Conditionals, Functions

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will be the order of letters printed to the console when this program is run? Options: a b c, a b c b c b c, a b c b c, a b c a

Back

a b c b c

2.

FLASHCARD QUESTION

Front

This function chooses the screen to display based on the score. What is the correct way to call this function?

Back

Media Image

3.

FLASHCARD QUESTION

Front

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

Back

2

4.

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

5.

FLASHCARD QUESTION

Front

What number will be output by the console.log command on line 7? Options: 10, 100, 20, 200

Back

100

6.

FLASHCARD QUESTION

Front

This flowchart is used by an apartment rental Web site to set the variable "include" to "true" for apartments that meet certain criteria.

Back

Media Image

7.

FLASHCARD QUESTION

Front

The variable age is to be used to represent a person’s age, in years. Which of the following is the most appropriate data type for age? boolean, number, string, list

Back

number

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?