CAPSTONE FINAL EXAM REVIEW 200 QUESTIONS AND
ANSWERS UPDATED 2026 2027 FINAL COMPLETE
PRACTICE
Why is it important to focus on programming style in addition to programming
functionality?
Program style helps others understand your program and maintain it.
Programming style increases the re-usability of your code.
In the procedure Mystery written below, the parameter number is a positive
integer. Which of the following best describes the result of running the Mystery
procedure?
The return value will be a positive integer greater than or equal to the initial value
of number
Which of the following is least likely to indicate a phishing attack?
An email from your bank asks you to call the number on your card to verify a
transaction
Which of the following Boolen expressions is not equivalent to the expression
num*-1>=10
(num<0) AND (num*-1 = 10)
Which binary value is equal to the decimal number 12base10?
1100 base2
Biologists are researching the migration patterns of birds. For each bird. the
following geolocation data is collected at frequent intervals.
-The time
-The date
-The location of the bird
Which of the following questions about the group of tracked birds could be
answered using only the data collected from the tracking collars?
In what month do the birds tend to travel the farthest?
, Which of the following is a benefit of the fault-tolerant nature of internet
routing?
The ability to provide data transmission even when some connections between
routers have failed
Which of the following programs is most likely to benefit from the use of a
heuristic?
A program that computes the best move to play in a board game
Which of the following describes a limitation of cloud computing?
Storing data using cloud computing rather than storing on a personal computer
may weaken the security of data
Which of the following code options can be used to move the robot (the black
triangle) to the gray square?
Repeat 3 times:
{
rotate_left()
move_forward()
rotate_right()
move_forward()
ROTATE_RIGHT()
move_forward()
rotate_left()
}
Which of the following statements describes a limitation of using a heuristic
approach to solve a problem?
A heuristic approach can only provide an approximate solution, rather than an
exact solution
Suppose the ESPN website uses 8-bit unsigned integers to store how many
points a team has scored in a NBA game.
255(base 10)
ANSWERS UPDATED 2026 2027 FINAL COMPLETE
PRACTICE
Why is it important to focus on programming style in addition to programming
functionality?
Program style helps others understand your program and maintain it.
Programming style increases the re-usability of your code.
In the procedure Mystery written below, the parameter number is a positive
integer. Which of the following best describes the result of running the Mystery
procedure?
The return value will be a positive integer greater than or equal to the initial value
of number
Which of the following is least likely to indicate a phishing attack?
An email from your bank asks you to call the number on your card to verify a
transaction
Which of the following Boolen expressions is not equivalent to the expression
num*-1>=10
(num<0) AND (num*-1 = 10)
Which binary value is equal to the decimal number 12base10?
1100 base2
Biologists are researching the migration patterns of birds. For each bird. the
following geolocation data is collected at frequent intervals.
-The time
-The date
-The location of the bird
Which of the following questions about the group of tracked birds could be
answered using only the data collected from the tracking collars?
In what month do the birds tend to travel the farthest?
, Which of the following is a benefit of the fault-tolerant nature of internet
routing?
The ability to provide data transmission even when some connections between
routers have failed
Which of the following programs is most likely to benefit from the use of a
heuristic?
A program that computes the best move to play in a board game
Which of the following describes a limitation of cloud computing?
Storing data using cloud computing rather than storing on a personal computer
may weaken the security of data
Which of the following code options can be used to move the robot (the black
triangle) to the gray square?
Repeat 3 times:
{
rotate_left()
move_forward()
rotate_right()
move_forward()
ROTATE_RIGHT()
move_forward()
rotate_left()
}
Which of the following statements describes a limitation of using a heuristic
approach to solve a problem?
A heuristic approach can only provide an approximate solution, rather than an
exact solution
Suppose the ESPN website uses 8-bit unsigned integers to store how many
points a team has scored in a NBA game.
255(base 10)