CISP 301 Algorithm Design &
Implementation Question and answers
already passed 2025
What is the process of joining two strings together called?
a) substitution
b) concatenation
c) sublimation
d) cancotenation - correct answer b) concatenation
The literal "4.5" is of what data type?
a) integer
b) float
c) string
d) character - correct answer c) string
A string with no characters ("") is called the __________ or empty string.
a) void
b) null
c) zero
d) default - correct answer b) null
The __________ type has two values: true and false.
a) integer
b) float
,c) boolean
d) string
e) character - correct answer c) boolean
The literal 3.5 is of what data type?
a) character
b) integer
c) string
d) float - correct answer d) float
The character data types are character and __________.
a) integer
b float
c) string
d) boolean - correct answer c) string
The literal '+' is of what data type?
a) integer
b) string
c) float
d) character - correct answer d) character
How is the number two written in binary?
a) 100
b) 10
c) 1000
,d) 1 - correct answer c) 10
Which of the following is not a legal variable name?
a) super9bowl_
b) 9super_bowl
c) superb_owl9
d) _superbowl9 - correct answer b) 9super_bowl
The word __________ refers to the numbers, words, or more generally, any
collection of symbols that is manipulated by a program.
a) syntax
b) output
c) semantics
d) data - correct answer d) data
A __________ is a quantity that cannot change its value during the execution
of a program.
a) statement
b) data type
c) constant
d) variable - correct answer c) constant
According to the textbook, what is the last step of their general problem-
solving strategy?
a) Review the results
b) Carry out the plan
c) Try to understand the problem completely
, d) Devise a plan of action to solve the problem - correct answer a) Review the
results
The word __________ is used with regard to the program development
process, as we often have to return to previous steps as we discover flaws in
subsequent ones.
a) painstaking
b) structured
c) cycle
d) waterfall - correct answer c) cycle
The __________ of a computer programming language is/are its rules of
usage.
a) statements
b) expressions
c) pseudocode
d) syntax - correct answer d) syntax
According to the textbook, what is the fourth step of the program development
cycle?
a) Test the program
b) Code the program
c) Design a program to solve the problem
d) Analyze the problem - correct answer a) Test the program
According to the textbook, what is the first step of their general problem-
solving strategy?
a) Review the results