Exam 7: Problem Solving and Algorithms

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

An array is a named collection of homogeneous items in which individual items are accessed by position.

Free
(True/False)
4.8/5
(42)
Correct Answer:
Verified

True

Which of the following refers to the separation of the logical view of data from its implementation?

Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
Verified

C

Which of the following best describes top-down design?

Free
(Multiple Choice)
5.0/5
(31)
Correct Answer:
Verified

C

During top-down design, a concrete step is one that needs to be expanded further.

(True/False)
4.8/5
(33)

What is the first step in the "How to Solve It" list?

(Multiple Choice)
4.8/5
(37)

A(n) _________________ search looks for an item sorted list by eliminating large portions of the data on each comparison.

(Short Answer)
4.9/5
(40)

Which of the following allows a WHILE loop to be contained within the body of another WHILE loop?

(Multiple Choice)
5.0/5
(37)

In top-down design, the main module is the most abstract.

(True/False)
4.8/5
(34)

An algorithm is a calculation that determines how long it will take to solve a problem.

(True/False)
4.9/5
(44)

A(n) _______________ search examines each item in turn to find the item being sought.

(Short Answer)
4.8/5
(43)

A plan for solving a problem is not an algorithm if it requires infinite time or data.

(True/False)
4.8/5
(35)

An abstract step is one for which some details remain unspecified.

(True/False)
4.8/5
(33)

The general case of a recursive solution determines when the recursion stops.

(True/False)
4.7/5
(43)

A(n) _______________ is a set of instructions for solving a problem in a finite amount of time using a finite amount of data.

(Short Answer)
4.9/5
(39)

What is the practice of hiding the details of a module with the goal of controlling access to the details of the module?

(Multiple Choice)
4.8/5
(38)

After a program is in use, changes made to it to enhance functionality or fix errors is called _______________.

(Short Answer)
4.9/5
(35)

The first pass of the _______________ sort algorithm scans the list for the item that should be first in the list, then puts it there.

(Short Answer)
4.8/5
(37)

An array is a named homogeneous collection of items in which individual items are accessed by an index.

(True/False)
4.9/5
(38)

Infinite recursion occurs because there is no general case.

(True/False)
4.9/5
(33)

_______________ is the ability of a subprogram to call itself.

(Short Answer)
4.8/5
(49)
Showing 1 - 20 of 48
close modal

Filters

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