Verified Answers
The variable isOpen is to be used to indicate whether or not a store is currently open. Which of
the following is the most appropriate data type for isOpen ? - ✔✔boolean
A teacher is writing a code segment that will use variables to represent a student's name and
whether or not the student is currently absent. Which of the following variables are most
appropriate for the code segment? - ✔✔a string variable named StudentName and a boolean
variable named isAbsent.
r←1
s←2
t←3
r←s
s←t
DISPLAY (r)
DISPLAY (s) - ✔✔2 3
start<--1
end<-- end
current<-- 3
start<--current
Current<-- current+1
Display(start)
Display (current) - ✔✔3 4
Value of input1 Value of input2 Value of expression
, true true false
true false true
false true true
false false true - ✔✔(NOT input1) OR (NOT input2) and NOT (input1 AND input2)
Internet - ✔✔network of interconnected networks
Which of the following Boolean expressions are equivalent to the expression
? num ≥15 - ✔✔num > 15 OR num = 15 and NOT(num<15)
World Wide Web - ✔✔a system of linked pages, programs, and files, accessed via the internet
up down down down up down down down - ✔✔repeat 2 times
display up
repeat 3 times
display down
Which of the following best exemplifies the use of multifactor authentication to protect an
online banking system? - ✔✔After entering a password for an online bank account, a user must
also enter a code that is sent to the user's phone via text message.
A game is played by moving a game piece left or right along a horizontal game board. The board
consists of spaces of various colors, as shown. The circle represents the initial location of the
game piece. - ✔✔4
Which of the following best describes a direct benefit in using redundant routing on the
Internet? - ✔✔Redundancy often allows messages to be sent on the network even if some
network devices or connections have failed.