Unit 4 Questions CompSci

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

3

"You win!" never displays. What line is responsible for this error?

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

Choose the correct definition for Conditional Statement

checkWin

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

16

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

35

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

100

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

30 or more

What text will be output by the program?

Output D

What text will be output by the program?

num1 == num2

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?

Functions are called once but can be declared many times

Which of the following is true of functions?

a b c b c

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


Set pelajaran terkait

Psych 322: AFAM Personality Final Exam

View Set

FSCJ Psych Evolve Practice Questions - Exam 1

View Set

Commutative, Associative, Identity, Inverse, Multiplicative,and Distributive

View Set

Applying Elastic Stockings + Using a Sequential Compression Device

View Set

Psych of Learning Hammonds TEST 3

View Set