

Unit 4 - Variables, Conditionals, Functions
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

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
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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?