Exam 2: Algorithm Discovery and Design

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

A ____ is the repetition of a block of instructions.

(Multiple Choice)
4.8/5
(42)

With a natural language, different readers can interpret the same sentence in totally different ways.

(True/False)
4.8/5
(32)

Discuss in detail the application of pattern matching to the mapping of the human genome.

(Essay)
4.9/5
(33)

The three basic sequential operations are called addition, multiplication, and exponentiation.

(True/False)
4.8/5
(30)

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

(Essay)
4.9/5
(42)

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

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.7/5
(39)

In a pretest loop, the continuation condition is tested at the ____ through the loop.

(Multiple Choice)
4.9/5
(45)

The ____ loop is an example of a posttest loop.

(Multiple Choice)
4.8/5
(39)

Together, conditional and iterative operations are called ____ operations.

(Multiple Choice)
4.8/5
(38)

A purely ____ algorithm is sometimes termed a straight-line algorithm.

(Multiple Choice)
4.8/5
(41)

Input and output enable the computing agent to communicate with the outside world.

(True/False)
4.8/5
(29)

The technique of looking at all the items in a list, starting at the beginning of the list, one at a time, until we either find what we are looking for or come to the end of the list is called ____ search.

(Multiple Choice)
4.7/5
(42)

In order to implement a "find" functionality in a word processor, one would have to design a ____ algorithm.

(Multiple Choice)
4.9/5
(32)

A(n) control algorithm executes its instructions in a straight line from top to bottom and then stops. _________________________

(True/False)
4.8/5
(41)

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

(True/False)
4.8/5
(34)

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

(Short Answer)
4.8/5
(39)

Briefly describe what pseudocode is and is not.

(Essay)
4.8/5
(44)

Having an infinite loop in an algorithm is an error.

(True/False)
4.9/5
(45)

Which statement exemplifies abstraction?

(Multiple Choice)
4.9/5
(33)
Showing 21 - 40 of 50
close modal

Filters

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