CS 160: Introduction to Computer Science – Final Exam Overview
From the choices below, select the ones that are types of algorithm flows. - (ANSWER)reverse
operations
b. sequential operations
c. conditional operations
d. iterative operations
BCD
Look at the following items below and identify which type of operation each one is and properly label
them. Use the terms conditional, sequential, or iterative.Look at the following items below and identify
which type of operation each one is and properly label them. Use the terms conditional, sequential, or
iterative.
A. Prompt user for input for the value of Total.
B. Calculate the value of Total. If the value of Total is greater than 0, output the value is valid.
C. Calculate the average of the three test scores.
D. Carry out steps 7, 8, and 10 ninety-four times. - (ANSWER)A:Sequential
B:Conditional
C:Sequential
D:Iterative
In order to designate a statement group, this is what should be done in order to create a "block of
code". - (ANSWER)
Which of these describes how instructions are handled in the Von Neumann architecture? - (ANSWER)a.
none of these
b. encoded as binary values and stored internally
c. encoded as external wired connections
,CS 160: Introduction to Computer Science – Final Exam Overview
d. encoded as decimal values and stored internally
e. encoded as digital values on external paper tape
B
Which of these software package activities is the responsibility of computer scientists? - (ANSWER)a.
building
b. designing
c. testing
d. all of these
e. specifying
D
From the choices below, choose the one that is not true in regard to an algorithmic solutions to a
problem. - (ANSWER)a. Some problems have no algorithmic solution.
b. Some problems may have a solution, but none has been discovered yet.
c. All of these are true statements.
d. Every problem has an algorithmic solution.
e. Some problems have an algorithmic solution that would take too long to execute.
D
Which of these is output by the following algorithm?
set the value of x to 0
add 1 to x
if the value of x < 1
subtract 1 from the value of x
else
add 1 to the value of x
print the value of x - (ANSWER)2
, CS 160: Introduction to Computer Science – Final Exam Overview
Which of these major advances did NOT occur during the fifth generation of computer development? -
(ANSWER)a. cloud computing
b. mobile computing
c. ultra-large-scale integrated circuits
d. time-sliced operating systems
e. worldwide networks
D
From the list below, choose the statement that describes what a virtual machine is. - (ANSWER)a. an
electrical engineering view of a computer system
b. the user-oriented view of a computer system
c. cloud computing
d. artificial intelligence
e. binary instructions stored in memory
A
When an algorithm starts and does not have a point in which it stops, it is referred to as this. -
(ANSWER)Infinite Loop
Which of these is ambiguous? - (ANSWER)Do either part 1 or part 2
From the list below, choose the one that defines how a computer would implement an algorithm? -
(ANSWER)Mechanically
Using this allows a loop to complete exactly the amount of times that it needs to. - (ANSWER)Counter
Which of these is a characteristic of abstraction? - (ANSWER)a. the basis for top-down design
b. allows us to manage large, complex systems
From the choices below, select the ones that are types of algorithm flows. - (ANSWER)reverse
operations
b. sequential operations
c. conditional operations
d. iterative operations
BCD
Look at the following items below and identify which type of operation each one is and properly label
them. Use the terms conditional, sequential, or iterative.Look at the following items below and identify
which type of operation each one is and properly label them. Use the terms conditional, sequential, or
iterative.
A. Prompt user for input for the value of Total.
B. Calculate the value of Total. If the value of Total is greater than 0, output the value is valid.
C. Calculate the average of the three test scores.
D. Carry out steps 7, 8, and 10 ninety-four times. - (ANSWER)A:Sequential
B:Conditional
C:Sequential
D:Iterative
In order to designate a statement group, this is what should be done in order to create a "block of
code". - (ANSWER)
Which of these describes how instructions are handled in the Von Neumann architecture? - (ANSWER)a.
none of these
b. encoded as binary values and stored internally
c. encoded as external wired connections
,CS 160: Introduction to Computer Science – Final Exam Overview
d. encoded as decimal values and stored internally
e. encoded as digital values on external paper tape
B
Which of these software package activities is the responsibility of computer scientists? - (ANSWER)a.
building
b. designing
c. testing
d. all of these
e. specifying
D
From the choices below, choose the one that is not true in regard to an algorithmic solutions to a
problem. - (ANSWER)a. Some problems have no algorithmic solution.
b. Some problems may have a solution, but none has been discovered yet.
c. All of these are true statements.
d. Every problem has an algorithmic solution.
e. Some problems have an algorithmic solution that would take too long to execute.
D
Which of these is output by the following algorithm?
set the value of x to 0
add 1 to x
if the value of x < 1
subtract 1 from the value of x
else
add 1 to the value of x
print the value of x - (ANSWER)2
, CS 160: Introduction to Computer Science – Final Exam Overview
Which of these major advances did NOT occur during the fifth generation of computer development? -
(ANSWER)a. cloud computing
b. mobile computing
c. ultra-large-scale integrated circuits
d. time-sliced operating systems
e. worldwide networks
D
From the list below, choose the statement that describes what a virtual machine is. - (ANSWER)a. an
electrical engineering view of a computer system
b. the user-oriented view of a computer system
c. cloud computing
d. artificial intelligence
e. binary instructions stored in memory
A
When an algorithm starts and does not have a point in which it stops, it is referred to as this. -
(ANSWER)Infinite Loop
Which of these is ambiguous? - (ANSWER)Do either part 1 or part 2
From the list below, choose the one that defines how a computer would implement an algorithm? -
(ANSWER)Mechanically
Using this allows a loop to complete exactly the amount of times that it needs to. - (ANSWER)Counter
Which of these is a characteristic of abstraction? - (ANSWER)a. the basis for top-down design
b. allows us to manage large, complex systems