MEDICAL KNOWLEDGE MODULE SOLVED
ITEMS AND RESPONSE KEY
◉ Which of the following actions are generally helpful in program
development?
Consulting potential users of the program to identify their concerns
Writing and testing small code segments before adding them to the
program
Collaborating with other individuals when developing a large
program
A I and II only
B I and III only
C II and III only
D I, II, and III. Answer: D
◉ An Internet user has a need to send private data to another user.
Which of the following provides the most security when
transmitting private data?
A
Certifying the data with a Creative Commons license before sending
it
B
,Sending the data using a high-bandwidth connection
C
Sending the data using public-key encryption
D
Sending the data using redundant routing. Answer: C
◉ A programmer is creating an algorithm to display the cost of a
ticket based on the information in the table. The programmer uses
the integer variable age for the age of the ticket recipient. The
Boolean variable includesTour is true when the ticket is for a guided
tour and is false when the ticket is for general admission.
Which of the following code segments correctly displays the cost of a
ticket?. Answer: B
◉ According to information in the table, what color is represented
by the binary RGB triplet (11111111, 11111111, 11110000) ?
A
Ivory
B
Light yellow
C
Neutral gray
D
,Vivid yellow. Answer: B
◉ What is the binary RGB triplet for the color indigo?
A
(00100101, 00000000, 10000010)
B
(00100101, 00000000, 01000001)
C
(01001011, 00000000, 10000010)
D
(01001011, 00000000, 01000001). Answer: C
◉ A library system contains information for each book that was
borrowed. Each time a person borrows or returns a book from the
library, the following information is recorded in a database.
Name and the unique ID number of the person who was borrowing
the book
Author, title, and the unique ID number of the book that was
borrowed
Date that the book was borrowed
Date that the book was due to be returned
Date that the book was returned (or 0 if the book has not been
returned yet)
, Which of the following CANNOT be determined from the
information collected by the system?
A
The total number of books borrowed in a given year
B
The total number of books that were never borrowed in a given year
C
The total number of books that were returned past their due date in
a given year
D
The total number of people who borrowed at least one book in a
given year. Answer: B
◉ The following algorithm is intended to take a positive integer as
input and display its individual digits in order from right to left. For
example, if the input is 512, the algorithm should produce the
output 2 1 5. Step 3 of the algorithm is missing.
Step 1: Input a positive integer from the user and store it in the
variable number.
Step 2: Divide number by 10 and record the integer quotient and the
remainder. The integer quotient is the quotient with any part after
the decimal point dropped. For example, when 127 is divided by 10,
the quotient is 12.7, the integer quotient is 12 and the remainder is
7.
Step 3: (missing step)