NEAR WESTERN VIEW HOSPITAL
COMPREHENSIVE STUDY GUIDE 2026 FULL
QUESTIONS AND SOLUTIONS GRADED A+
◍ A file storage application allows users to save their files on cloud servers. A
group of researchers gathered user data for the first eight years of the
application's existence. Some of the data are summarized in the following
graphs. The line graph on the left shows the number of registered users each
year. The line graph on the right shows the total amount of data stored by all
users each year. The circle graph shows the distribution of file sizes
currently stored by all users.Which of the following best describes the
growth in the number of registered users for the first eight years of the
application's existence?A: The number of registered users increased at about
a constant rate each year for all eight years.B: The number of registered
users increased at about a constant rate for years 1 to 5 and then about
doubled each year after that.C: The number of registered users about
doubled each year for years 1 to 5 and then increased at about a constant rate
after that.D: The number of registered users about doubled each year for all
eight years..
Answer: C: The number of registered users about doubled each year for
years 1 to 5 and then increased at about a constant rate after that.
◍ debugging.
Answer: fixing errors
◍ UML diagram.
Answer: tree-like representation of relationship between classes
◍ The following algorithm is intended to determine the average height, in
, centimeters, of a group of people in a room. Each person has a card, a
pencil, and an eraser. Step 2 of the algorithm is missing.Step 1: All people
stand up.Step 2: (missing step)Step 3: Each standing person finds another
standing person and they form a pair. If a person cannot find an unpaired
standing person, that person remains standing and waits until the next
opportunity to form pairs.Step 4: In each pair, one person hands their card to
the other person and sits down.Step 5: At this point, the standing person in
each pair is holding two cards. The standing person in each pair replaces the
top number on their card with the sum of the top numbers on the two cards
and replaces the bottom number on their card with the sum of the bottom
numbers on the two cards. The sitting partner's card is discarded.Step 6:
Repeat steps 3-5 until there is only one person standing.Step 7: The last
person standing divides the top number by the bottom number to determine
the average height.Which of the following can be used as step 2 so that the
algorithm works as intended?A: Step 2: Each person writes their height, in
centimeters, at the top of the card and writes the number 1 at the bottom of
the card.B: Step 2: Each person writes their height, in centimeters, at the top
of the card and writes the number 2 at the bottom of the card.Step 2: C: Step
2: Each person writes the number 1 at the top of the card and writes their
height, in centimeters, at the bottom of the card.D: Step 2: Each person
writes the number 2 at the top of the card and writes their height, in
centimeters, at the bottom of the card..
Answer: A: Step 2: Each person writes their height, in centimeters, at the top
of the card and writes the number 1 at the bottom of the card.
◍ run-time error.
Answer: occurs during execution (e.g., int division by 0)→integer divide by
zero→out of bounds indices→file searching problems
◍ information hiding.
Answer: using "private" to restrict access
◍ A list of binary values (0 or 1) is used to represent a black-and-white image.
Which of the following is LEAST likely to be stored as metadata associated
, with the image?A: Copyright information for the imageB: The date and time
the image was createdC: The dimensions (number of rows and columns of
pixels) of the imageD: A duplicate copy of the data.
Answer: D: A duplicate copy of the data
◍ Assume that the Boolean variable x is assigned the value true and the
Boolean variable y is assigned the value false. Which of the following will
display the valuetrue ?Select two answers.A:
https://assets.learnosity.com/organisations/537/VR021758.g02.pngB:
https://assets.learnosity.com/organisations/537/VR021758.g04.pngC:
https://assets.learnosity.com/organisations/537/VR021758.g06.pngD:
https://assets.learnosity.com/organisations/537/VR021758.g08.png.
Answer: A:
https://assets.learnosity.com/organisations/537/VR021758.g02.pngANDB:
https://assets.learnosity.com/organisations/537/VR021758.g04.png
◍ inheritance relationship.
Answer: is-a relationship between classes
◍ precondition.
Answer: a statement of what is true immediately before execution of that
code
◍ assertion.
Answer: a precise statement about a program at any given point
◍ A biologist wrote a program to simulate the population of a sample of
bacteria. The program uses the following procedures.Code for the
simulation is shown below.hours ← 0startPop ← InitialPopulation
()currentPop ← startPopREPEAT UNTIL ((hours ≥ 24) OR (currentPop ≤
0)){currentPop ← NextPopulation (currentPop)hours ← hours +
1}DISPLAY (currentPop - startPop)Which of the following are true
statements about the simulation?The simulation continues until either 24
hours pass or the population reaches 0.The simulation displays the average
change in population per hour over the course of the simulation.The
simulation displays the total population at the end of the simulation.A: I