Exam 2: Principles of Programming and Software Engineering

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

What are some ways of finding logic errors?

(Essay)
4.8/5
(38)

A(n)______ is a construct that can be defined to store a collection of data.

(Multiple Choice)
4.8/5
(39)

During the design phase of the software life cycle,the program is divided into ______.

(Multiple Choice)
4.9/5
(33)

The first phase of the life cycle of software is the ______ phase.

(Multiple Choice)
4.9/5
(44)

What is an accessor method?

(Essay)
4.9/5
(37)

What are the four parts necessary to proving that a loop is correctly implemented?

(Essay)
4.8/5
(38)

What is a mutator method?

(Essay)
4.8/5
(36)

A set of objects that have the same type is called a(n)______.

(Multiple Choice)
4.8/5
(40)

Name two important features of fail-safe programming.

(Essay)
4.7/5
(40)

What are the three principles of object-oriented programming?

(Essay)
4.7/5
(31)

Coding is a relatively minor phase in the software life cycle.

(True/False)
4.8/5
(42)

Which of the following is an example of an exception?

(Multiple Choice)
4.8/5
(32)

If two programs perform the same task,then the faster program is always better.

(True/False)
4.9/5
(32)

The syntax errors of a program are removed during the ______ phase of the program's life cycle.

(Multiple Choice)
4.8/5
(29)

What is meant by the object-oriented approach to modularity?

(Essay)
4.7/5
(38)

The cost of software includes the consequences of the software not behaving correctly.

(True/False)
4.8/5
(31)

List the information provided in a method's precondition.

(Essay)
4.9/5
(28)

A module indicates that an error has occurred by catching an exception.

(True/False)
4.8/5
(41)

During the ______ phase of the software life cycle,formal methods may be used to prove the correctness of an algorithm.

(Multiple Choice)
4.8/5
(38)

A(n)______ is a condition that is always true at a particular point in an algorithm.

(Multiple Choice)
4.9/5
(35)
Showing 41 - 60 of 60
close modal

Filters

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