Exam 2: Algorithm Discovery and Design

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

Java and C++ are examples of pseudocode languages.

(True/False)
4.8/5
(40)

Briefly describe what pseudocode is and is not.

(Essay)
4.9/5
(30)

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
(28)

Viewing an operation at a high level of abstraction and fleshing out the details of its implementation at a later time is known as ____ design.

(Multiple Choice)
4.8/5
(34)

____ is an example of a natural language.

(Multiple Choice)
5.0/5
(43)

What is the problem with using high-level programming languages to represent algorithms?

(Essay)
4.8/5
(30)

The use of high-level instructions during the design process is an example of abstraction. _________________________

(True/False)
4.8/5
(38)

A ____ is the repetition of a block of instructions.

(Multiple Choice)
4.9/5
(39)

Under what circumstances would the body of a pretest loop never be executed?

(Essay)
4.9/5
(49)

____ statements are the "question-asking" operations of an algorithm.

(Multiple Choice)
5.0/5
(39)

A pattern-matching algorithm may be used to implement a _______ function in a word processor.

(Multiple Choice)
4.8/5
(36)

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

(True/False)
4.8/5
(41)

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

(Multiple Choice)
4.8/5
(33)

A(n)____ is an algorithmic operation that carries out a single numeric computation and stores the result.

(Multiple Choice)
4.9/5
(39)

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

(True/False)
4.8/5
(35)

An unstructured, "natural language" writing style should never be used for writing algorithms.

(True/False)
4.9/5
(40)

In a(n)____________________ loop, it is possible for the loop body to never be executed.

(Short Answer)
4.9/5
(38)

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

(True/False)
4.9/5
(37)

"Print the value of product " is an example of a(n)____ operation.

(Multiple Choice)
4.9/5
(37)

To create a loop that executes exactly b times, we create a ____.

(Multiple Choice)
4.7/5
(32)
Showing 21 - 40 of 50
close modal

Filters

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