Mind your Test
More TEST Q's
Vocab
Mo Vocab
Lingo Mr. Anderson Shouldn't use
100

What number will be output by the console.log command on line 5? 

A.   10

 B.   25

 C.   30

D.   35

D.   35

100

What will be the order of letters printed to the console when this program is run?


 A.   a b c

 B.   a b c b c b c

C.   a b c b c

 D.   a b c a

C.   a b c b c

100

A named group of programming instructions. Also referred to as a “procedure”

Function

100

An ordered sequence of characters

String

100

What does, "slay" mean?

A. Refers to what a butcher does

B. It's what those smelly reindeer pull

C. to do something well/to impress

D. small Lay's chips, usually mini in stature.

200

What number will be output by the console.log command on line 7?

 A.   10

B.   100

 C.   20

 D.   200

B.   100

200

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


 A.  


 B.  


 C.  


 D.  

200

NOT, AND, and OR, which evaluate to a Boolean value. What are these called?

Logical operator

200

<, >, <=, >=, ==, != indicate a Boolean expression. What are these called?

Comparison Operators

200

What does the word, "GOAT" mean?

A. It is a vegetable, similar to a sweet potato

B. The next up and comming viral rapper

C. To put a curse on your enemies by turning them into a farm animal

D. Greatest of all time

300


What text will be output by the program?

 A.   Less than 10

 B.   Less than 20

 C.   Less than 30

D.   30 or more

D.   30 or more

300

You win!" never displays. What change would fix this issue?

 A.   Line 1 - change variable name to totalScore

B.   Line 3 - remove var

 C.   Line 4 - change conditional to score >= 5

 D.   Line 5 - change to a getText command

B.   Line 3 - remove var

300

A  data type that is either true or false. 

Boolean Value

300

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

Conditional Statement

300

What does the term, "Hits different" mean?

A. The unique way something quenches a desire

B. Rock'em sock'em Robots

C. Refers to a slap instead of a punch in a fight. "Why are their Hits different?"

400

What number will be output by the console.log command on line 5? 

A.   10

 B.   11

 C.   12

 D.   13

E.   16

E.   16

400


There is repeated code in these onEvent blocks. Choose the correct code for the updateScreen() function which would be called in each of the onEvent blocks.



 A.  


 B.  


 C.  


 D.  

400

a combination of operators and values that evaluates to a single value 

Expression  

400

 This is a command that executes the code within a function.


Function Call

400

What does the term, "Let them cook" mean?

A. a description of a character on a T.V. show about a teacher, "Breaking Bad."

B. When a parent is cooking dinner and the kids keep interrupting

C. Give one space to proceed uninterrupted (especially when saying or doing something provocative) in the hope that the result might be entertaining 

500


What text will be output by the program?

A.   Output A

 B.   Output B

 C.   Output C

D.   Output D

 E.   Output E

D.   Output D

500

When this function is called, the smaller of two numbers is displayed. What Boolean expression would not work in line 12 in order to accomplish this goal?


A.  


 B.  


 C.  


 D.  

A.  

500

allows a program to change the value represented by a variable

Assignment Operator

500

This is a named reference to a value that can be used repeatedly throughout a program.

Variable

500

What does the word, "Shook" mean?

A. How you feel after getting off a ride at an amusement park

B. To be shocked, surprised, or bothered. 

C. When someone is acting like they need to be shaken to bring them back to reality.

D. How James Bond likes his drinks.