Exam 2: Algorithm Discovery and Design

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

____ is an example of a natural language.

(Multiple Choice)
4.9/5
(32)

Having an infinite loop in an algorithm is an error.

(True/False)
4.8/5
(36)

Together, conditional and iterative operations are called ____ operations.

(Multiple Choice)
4.7/5
(41)

A sequential algorithm executes its instructions in a straight line from top to bottom and then stops.

(True/False)
4.9/5
(37)

____ operations allow the computing agent to receive data values from the outside world that it may then use in later instructions.

(Multiple Choice)
4.8/5
(39)

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)
5.0/5
(32)

Finding the maximum number in a given set is an example of a problem that computer scientists want to solve.

(True/False)
4.8/5
(43)

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

When writing arithmetic expressions in pseudocode, you may assume that the computing agent executing your algorithm has all the capabilities of a typical calculator.

(True/False)
4.8/5
(40)

In a posttest loop, it is possible for the loop body to never be executed.

(True/False)
4.8/5
(37)

Java and C++ are examples of pseudocode languages.

(True/False)
4.9/5
(34)

Consider this line of code: Set the value of Area to length*width "Area" is a____.

(Multiple Choice)
4.9/5
(39)

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

(Multiple Choice)
4.8/5
(40)

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

(True/False)
4.9/5
(33)

Which statement exemplifies abstraction?

(Multiple Choice)
4.9/5
(36)

Pseudocode is a special set of English language constructs modeled to look like the statements available in most programming languages.

(True/False)
4.8/5
(35)

Most computer scientists use ____ to design and represent algorithms.

(Multiple Choice)
4.7/5
(41)

An unstructured, "free-flowing" writing style should be used for writing algorithms.

(True/False)
4.9/5
(41)

The process of finding a solution to a given problem is called algorithm discovery.

(True/False)
4.8/5
(43)

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

(True/False)
4.7/5
(48)
Showing 21 - 40 of 50
close modal

Filters

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