Incorrect Questions (44/50)

Q1 initial values that yield incorrect value of max

Wrong: x = 1, y = 3, z = 2

Right: x = 3, y = 2, z = 1

Q8 Laptops being borrowed from a school library

Wrong: The quotient when borrows is divided by returns is greater than 1.

Right: The difference between borrows and returns is zero.

Q10 Boolean expressions equivalent to num greater than or equal to 15

Wrong: ( num greater than 15) and (num equals 15)

Right: Not (num less than 15)

Q13 old enough to drive but not to vote

Wrong: II only

Right: II and III only

Q14 The figure below shows a circuit composed of tw…

Wrong: Input A can be either true or false.

Right: Input A Must be true

Q15 Robot in maze series of ifs

Wrong: C

True: D

Reflection

1) Initial values refer to the starting point or seed values used in a computation or algorithm, such as in optimization problems or machine learning models. If the initial values used in a computation or algorithm yield an incorrect value of the maximum, it could be due to a number of factors.

2) A database of laptops: This would include information such as the make, model, and serial number of each laptop, as well as its current status. A system for check-out and check-in: This would allow students or staff to borrow laptops, and to return them when they are finished. The system would likely involve a check-out form, where the borrower would enter their name, ID, and other information, as well as the serial number of the laptop they are borrowing. When the laptop is returned, the borrower would enter the serial number again to check it back in.

3) a Boolean expression is an expression that evaluates to either true or false. A Boolean expression that checks if a variable “num” is greater than or equal to 15 can be written in several ways.

4) A code that checks if a person is old enough to drive but not old enough to vote would likely involve comparing the person’s age to the legal driving age and the legal voting age.

5) A code that controls a robot navigating through a maze using a series of if-statements would likely involve checking the robot’s current position and the state of the surrounding squares in the maze.