Exam 2: Algorithm Discovery and Design

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The if/then/else operation is a conditional statement.

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

True

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.

Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
Verified

D

____ operations provide the computing agent with data values from the outside world that it may use in later instructions.

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

C

Explain the importance of the concept of building blocks in the use of algorithms.

(Essay)
4.8/5
(34)

During the initial phases of design, we should be thinking and writing at a highly ____________________ level.

(Short Answer)
4.9/5
(41)

In the line of pseudocode, "Set the value of Area to length × width", "Area" is a ____.

(Multiple Choice)
4.9/5
(43)

Pseudocode is a formal language with rigidly standardized syntactic rules and regulations. _________________________

(True/False)
4.8/5
(42)

Natural language is a set of English language constructs designed to resemble the statements in a programming language but that do not actually run on a computer. _________________________

(True/False)
4.9/5
(32)

What is the problem with using natural language to represent algorithms?

(Essay)
4.9/5
(34)

Briefly define the concept of iteration.

(Essay)
4.8/5
(28)

Once an algorithm has been developed, it cannot be used in the construction of other algorithms.

(True/False)
5.0/5
(43)

Having an infinite loop in an algorithm is an error.

(True/False)
4.8/5
(42)

____ operations send results from the computing agent to the outside world.

(Multiple Choice)
4.8/5
(32)

Pattern matching can only be applied to graphics and pictures.

(True/False)
4.7/5
(25)

Which statement exemplifies abstraction?

(Multiple Choice)
4.7/5
(36)

____________________ operations allow us to alter the normal sequential flow of control in an algorithm.

(Short Answer)
4.9/5
(32)

The process of searching for a special pattern of symbols within a larger collection of information is called object matching. _________________________

(True/False)
4.9/5
(38)

____________________ is sometimes called a programming language without any details.

(Short Answer)
4.9/5
(34)

What is pattern matching?

(Short Answer)
4.8/5
(37)

The ____ loop is an example of a posttest loop.

(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 50
close modal

Filters

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