Exam 2: Algorithm Discovery and Design

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The if/then/else operation allows you to select exactly one of three alternatives.

(True/False)
4.8/5
(35)

What is the definition of a library in terms of algorithms?

(Essay)
4.8/5
(33)

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

(Multiple Choice)
4.9/5
(38)

____ is an example of a natural language.

(Multiple Choice)
4.7/5
(41)

Pattern matching can only be applied to graphics and pictures.

(True/False)
4.8/5
(40)

One of the most powerful features of a computer is its ability to handle loops.

(True/False)
4.8/5
(33)

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

(True/False)
4.8/5
(37)

Briefly define the concept of iteration

(Essay)
4.8/5
(25)

The ____ loop is an example of a posttest loop.

(Multiple Choice)
4.8/5
(43)

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

(Multiple Choice)
4.8/5
(46)

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.7/5
(35)

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.9/5
(35)

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

(Essay)
4.8/5
(38)

The selection of an algorithm to solve a problem is greatly influenced by the way the input ____ for that problem are organized.

(Multiple Choice)
4.8/5
(34)

Which statement exemplifies abstraction?

(Multiple Choice)
4.9/5
(30)

What is pattern matching?

(Short Answer)
4.8/5
(38)

Java and C++ are examples of pseudocode languages.

(True/False)
4.7/5
(30)

Briefly describe what pseudocode is and is not.

(Essay)
5.0/5
(35)

What is pseudocode and why is it well-suited for representing algorithms?

(Essay)
4.9/5
(38)

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

(Essay)
4.7/5
(35)
Showing 21 - 40 of 50
close modal

Filters

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