Function Assessment
What quantity can be output by using the console.Log command on line 7? - ANS100
What range could be output through the console.Log command online 5? - ANS16
What quantity can be output with the aid of the console.Log command on-line five? - ANS35
What textual content might be output by way of this system? - ANS30 or greater
What textual content will be output with the aid of the program? - ANSOutput D
What could be the order of letters revealed to the console while this program is run? - ANSa b c
bc
"You win!" in no way displays. What line is chargeable for this error? - ANS3
When this function is referred to as, the smaller of two numbers is displayed. What Boolean
expression might no longer work in line 12 a good way to accomplish this aim? - ANSnum1 ==
num2
This characteristic chooses the display screen to show based at the rating. What is the ideal
manner to call this feature? - ANScheckWin();
There is repeated code in those onEvent blocks. Choose the correct code for the
updateScreen() feature which might be referred to as in each of the onEvent blocks. -
ANSfunction updateScreen()
set Text("counter_label", counter);
if (counter == zero)
setProperty("counter_label", "font-length", 24);
A movie theater expenses exclusive price tag expenses based on a purchaser's age. The costs
are shown inside the desk underneath. The customer's age is stored within the variable age and
the fee is stored in the variable charge. Which piece of code will effectively determine the price
for each price tag? - ANSif (age >= sixty five)
price == 6;
else if (age > 12)