Exam 4: Algorithms

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The process of running multiple threads is called repetition.

Free
(True/False)
4.9/5
(44)
Correct Answer:
Verified

False

In pseudocode, a ____ is equivalent to an IF/THEN instruction of the form IF (condition) THEN (instruction).

Free
(Multiple Choice)
4.7/5
(38)
Correct Answer:
Verified

D

Alice has a special LOOP instruction for programming count-controlled loops.

Free
(True/False)
4.7/5
(31)
Correct Answer:
Verified

True

Sequential logic forms patterns, which can be understood as the elements of logical structure.

(True/False)
4.7/5
(39)

A counter causes a process to be repeated until a condition or marker is encountered.

(True/False)
4.9/5
(47)

If there are more than two paths in an algorithm, then it is called ____.

(Multiple Choice)
4.8/5
(32)

The most notable characteristic of a linear sequence is that it has one branching routine.

(True/False)
4.8/5
(27)

Methods are not algorithms.

(True/False)
4.7/5
(38)

It is possible for one computer, or several computers working together, to work on several parts of an algorithm at the same time. Each path of logic that is being executed is called a(n) ____ of sequential logic.

(Multiple Choice)
4.7/5
(25)

A(n) ____ causes a process to be repeated a specific number of times.

(Multiple Choice)
4.8/5
(40)

Flowcharts are designed to show the possible paths through an algorithm.

(True/False)
4.7/5
(36)

In a ____, the test to determine whether or not to go though the loop comes before the block of code to be executed.

(Multiple Choice)
4.9/5
(31)

Sometimes computer programmers use a more formal language, called ____ to describe algorithms.

(Multiple Choice)
4.9/5
(33)

A ____ occurs whenever the path or flow of sequential logic in an algorithm splits into two or more paths.

(Multiple Choice)
4.7/5
(40)

Branching routines are also known as ____.

(Multiple Choice)
4.8/5
(40)

Algorithms contain the steps necessary to complete a particular task or solve a particular problem.

(True/False)
4.8/5
(33)

The LOOP instruction in Alice is really intended to be used only in situations where the programmer wants to make something happen a certain number of times, such as jumping five times.

(True/False)
4.7/5
(41)

The question "What flavor ice cream would you like?," is an example of ____.

(Multiple Choice)
4.8/5
(40)

The question"Would you like vanilla ice cream?" is an example of ____.

(Multiple Choice)
5.0/5
(46)

A count-controlled loop has a value or condition that tells a loop when to stop executing.

(True/False)
4.9/5
(32)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)