QUESTIONS WITH CORRECT ANSWERS
GRADED A+
◉ Delivery trucks enter and leave a depot through a controlled gate. At
the depot, each truck is loaded with packages, which will then be
delivered to one or more customers. As each truck enters and leaves the
depot, the following information is recorded and uploaded to a database.
The truck's identification number
The truck's weight
The date and time the truck passes through the gate
Whether the truck is entering or leaving the depot
Using only the information in the database, which of the following
questions CANNOT be answered? Answer: What is the average number
of customer deliveries made by each truck on a particular day?
◉ What is the average number of customer deliveries made by each
truck on a particular day? Answer: When the solution to the problem
requires real-world data inputs that are continually measured at regular
intervals.
, ◉ A sorted list of numbers contains 128 elements. Which of the
following is closest to the maximum number of list elements that can be
examined when performing a binary search for a value in the list?
Answer: 8
◉ A store uses binary numbers to assign a unique binary sequence to
each item in its inventory. What is the minimum number of bits required
for each binary sequence if the store has between 75 and 100 items in its
inventory? Answer: 7
◉ The following table shows the value of expression based on the
values of input1 and input2.
Which of the following expressions are equivalent to the value of
expression as shown in the table? Answer: (NOT input1) OR (NOT
input2)
NOT (input1 AND input2)
◉ The following spinner is used in a game. The region labeled "blue"
represents 1/4 of the spinner. The regions labeled "orange" and "purple"
are equal in size.
Which of the following code segments can be used to simulate the
behavior of the spinner?
Select two answers. Answer: If random 1,4 = 1
Display "blue