Incorrect Questions (46/50)

Q22 Two robots in separate grids try to reach the goal

Wrong: Neither grid I nor grid II

Right: Grid 1 only

Q41 Using binary search on list of genetic codes

Wrong: The genetic codes must be converted from binary to decimal numbers.

Right: The list must be sorted based on the genetic code values.

Q45 Benefits of procedural abstraction

Wrong: Procedural abstraction eliminates the need for programmers to document their code.

Right: Procedural abstraction provides an opportunity to give a name to a block of code that describes the purpose of the code block.

Q49 Crowd flow simulation

Wrong: The model used by the simulation software cannot be modified once the simulation has been used.

Right: The model used by the simulation software often omits details so that it is easier to implement.

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.