Exam 2: Principles of Programming and Software Engineering

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

An instance of a class is known as a(n)______.

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

B

The communication mechanisms among modules are called ______.

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

D

A prototype program is created during the ______ phase of the software life cycle.

Free
(Multiple Choice)
4.7/5
(32)
Correct Answer:
Verified

B

A programmer can decrease the time needed to develop a program by starting to write the code of the program before creating a solution design.

(True/False)
4.8/5
(34)

What is an Application Programming Interface (API)? Why is it useful?

(Essay)
4.8/5
(35)

Which of the following is an example of a syntax error?

(Multiple Choice)
4.7/5
(38)

List the information provided in a method's postcondition.

(Essay)
4.9/5
(31)

During the specification phase of the life cycle of software,the programmer should specify what enhancements to the program are likely in the future.

(True/False)
4.8/5
(40)

What are some good guidelines for deciding on a name for a method of a class?

(Essay)
4.8/5
(36)

A(n)______ is a mechanism for error handling.

(Multiple Choice)
4.9/5
(46)

Logical errors of a program are removed during the coding phase of the software life cycle.

(True/False)
4.8/5
(34)

What are some of the benefits of modularity?

(Essay)
4.8/5
(39)

What is a loop invariant?

(Essay)
4.8/5
(32)

What is meant by information hiding?

(Essay)
4.8/5
(38)

Which of the following is NOT a part of the maintenance phase of the software life cycle?

(Multiple Choice)
4.8/5
(42)

The specifications of a module describe its ______.

(Multiple Choice)
4.9/5
(37)

Syntax errors are corrected during the maintenance phase of the software life cycle.

(True/False)
4.8/5
(41)

User-detected errors are corrected during the ______ phase of the software life cycle.

(Multiple Choice)
4.8/5
(35)

A(n)______ is a step-by-step specification of a method to solve a problem within a finite amount of time.

(Multiple Choice)
4.7/5
(47)

A module reacts to an exception that another module throws by ______ the exception.

(Multiple Choice)
4.8/5
(28)
Showing 1 - 20 of 60
close modal

Filters

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