Final Exam Paper on Software Engineering | CMSC 435, Exams of Software Engineering

Material Type: Exam; Professor: Zelkowitz; Class: Software Engineering; Subject: Computer Science; University: University of Maryland; Term: Fall 2004;

Typology: Exams

Pre 2010

Uploaded on 07/30/2009

koofers-user-8wb
koofers-user-8wb 🇺🇸

4.5

(1)

9 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
NAME:_________________________________________ CMSC 435 final December 14, 2004
1
CMSC 435 final
December 14, 2004
Sections 0402
Answer all questions in the space following each
question.
1. [10] What is:
(a) White box testing
(b) Black box testing
(c) Regression testing
(d) Partition testing
(e) Stress testing
2. [5] (a) Which of the following is not an estimator of
project effort and why and what does it measure?
(a) COCOMO
(b) Function points
(c) Cyclomatic complexity
(d) Work breakdown structure
(b) One of the above is based upon a formal
definition. Which one and what is it?
3. [10] (a) A risk requires what two attributes in order to
be considered a risk?
(b) Explain the statement “The only absolutely safe
car is one, which cannot move.”
(c) Congress often passes unrealistic laws.
Assuming current cars has a safety factor of .999, what
would be some problems is a law that required a car to be
.999999 safe?
4. [5] A version control system often keeps a version of a
module and the set of changes between one version and the
next version. Would a version control system keep the first
version and the set of changes to successive versions or the
last version and successive changes from the previous
version? Why choose one approach over the other?
pf3
pf4

Partial preview of the text

Download Final Exam Paper on Software Engineering | CMSC 435 and more Exams Software Engineering in PDF only on Docsity!

CMSC 435 final December 14, 2004 Sections 0402 Answer all questions in the space following each question.

  1. [10] What is: (a) White box testing

(b) Black box testing

(c) Regression testing

(d) Partition testing

(e) Stress testing

  1. [5] (a) Which of the following is not an estimator of project effort and why and what does it measure? (a) COCOMO (b) Function points (c) Cyclomatic complexity (d) Work breakdown structure

(b) One of the above is based upon a formal definition. Which one and what is it?

  1. [10] (a) A risk requires what two attributes in order to be considered a risk?

(b) Explain the statement “The only absolutely safe car is one, which cannot move.”

(c) Congress often passes unrealistic laws. Assuming current cars has a safety factor of .999, what would be some problems is a law that required a car to be .999999 safe?

  1. [5] A version control system often keeps a version of a module and the set of changes between one version and the next version. Would a version control system keep the first version and the set of changes to successive versions or the last version and successive changes from the previous version? Why choose one approach over the other?
  1. [10] Consider the axioms: add(0,x)=x add(succ(x),y) = succ(add(x,y)) (a) Prove 1+1=

(b) If you add the axiom add(x,y)=x what happens? Is 1+1 still equal to 2? What does this mean?

  1. [10] What are the following: (a) Precondition

(b) Postcondition

(c) Invariant

(d) Is Z a functional or non-functional language and why?

(e) In which lifecycle phase is a Z artifact created?

  1. [5] Assume 10 defects are inserted into a program. After a week of debugging, 4 of those defects are found, as well as 12 others. If the 6 inserted defects that were not found are also removed, how many defects are likely to remain in the program?

(b) What testing technique is this known as?

  1. [15] Give a message sequence chart for the process of buying candy from a vending machine that accepts coins and bills. Describe as many aspects of the design as you think necessary.
  1. [5] What is each of the following and what is its role in a project life cycle:

(a) Milestone

(b) Use case

(c) Sprint

(d) User story

(e) Metaphor