COMP-125 - Quiz 1
COMP-125 - Quiz 1
202301 COMP-125-SD1
Answers: a. Java
b. English
c. C
d. Perl
With a natural language, different readers can interpret the same sentence in
totally different ways.
Selected Answer: True
Answers: True
False
Correct
Answer: If a is a Boolean expression, then the value of the expression
(NOT a) is true if a has the value false, and it is false if a has
the value true.
Response If a is a Boolean expression, then the value of the expression
Feedback: (NOT a) is true if a has the value false, and it is false if a has the
value true.
In Babbage’s Analytical Engine, a mill was most like the ____ of modern-day
computers.
Selected Answer: b. logic unit
Answers: a. input/output
b. logic unit
https://myclass.ufv.ca/webapps/assessment/review/review.jsp?attempt_id=_4410272_1&course_id=_62025_1&content_id=_2448829_1&outcome_id=_432834… 2/8
08/04/2023, 16:54 Review Test Submission: Quiz 1 – 14427.202301 COMP-125-SD1
c. processor
d. RAM
Answers: a. cycles
b. bytes
c. periods
d. bits
Answers: a.
when the object to be searched is in the middle of the list
b.
when the object to be searched is at the beginning of the list
In the _______ search algorithm, the worst case occurs when the value being
searched for is the last value in the list.
Selected Answer: b. shuffle
Answers: a. binary
b. shuffle
c. sequential
d. bubble
https://myclass.ufv.ca/webapps/assessment/review/review.jsp?attempt_id=_4410272_1&course_id=_62025_1&content_id=_2448829_1&outcome_id=_432834… 3/8
08/04/2023, 16:54 Review Test Submission: Quiz 1 – 14427.202301 COMP-125-SD1
In 1672, a French philosopher and mathematician designed and built one of the
first mechanical calculators named the ____ that could do addition and
subtraction.
Selected Answer: a. Leibniz Wheel
b. Abacus
c. TI-85
d. Pascaline
A sequential search is the technique of looking at all the items in a list one at a
time, starting at _______ of the list, until we either find what we are looking for
or come to the end of the list.
Selected Answer: d. the beginning
b. the middle
c. The end
d. the beginning
b. counter
c. control object
d. variable
Jacquard’s Loom was considered the first “computing device” because it was
____ and had memory where information was stored in a machine-readable form.
Selected Answer: c. compact
Answers: a. programmable
b. electric
c. compact
https://myclass.ufv.ca/webapps/assessment/review/review.jsp?attempt_id=_4410272_1&course_id=_62025_1&content_id=_2448829_1&outcome_id=_432834… 4/8
08/04/2023, 16:54 Review Test Submission: Quiz 1 – 14427.202301 COMP-125-SD1
d. mathematically efficient
Answers: a. computation
b. constant
c. variable
d. expression
Answers: a. Iterative
b. Primitive
c. Conditional
d. Sequential
Answers: a. interpreter
b. linguistic
c. programming language
https://myclass.ufv.ca/webapps/assessment/review/review.jsp?attempt_id=_4410272_1&course_id=_62025_1&content_id=_2448829_1&outcome_id=_432834… 5/8
08/04/2023, 16:54 Review Test Submission: Quiz 1 – 14427.202301 COMP-125-SD1
d. compiler
Answers: a. solutions
b. words
c. data
d. pseudocode
Answers: a. NOT
b. OR
c. NOR
d. AND
https://myclass.ufv.ca/webapps/assessment/review/review.jsp?attempt_id=_4410272_1&course_id=_62025_1&content_id=_2448829_1&outcome_id=_432834… 7/8
08/04/2023, 16:54 Review Test Submission: Quiz 1 – 14427.202301 COMP-125-SD1
Correct Answer:
Evaluation Method Correct Answer Case Sensitivity
Answers: a. cycle
b. loop
c. nucleus
d. matrix
← OK
https://myclass.ufv.ca/webapps/assessment/review/review.jsp?attempt_id=_4410272_1&course_id=_62025_1&content_id=_2448829_1&outcome_id=_432834… 8/8