CSE 5314/7314 (Spring 2005): Homework #2 Answer Sketches
Answer Sketches
- Problem 8.4. or 8.5 (pick one here).
Answers depend on the program/spec you selected to work.
But the attention should be on the decision points,
and the partitions derived accordingly.
- Problem 9.4.
Answer Key:
The boundary is shared between A-B, B-C, and A-C pairs
(A for "<"; B for "="; and C for ">").
- Sample midterm exam question IV.
Answer Key:
-
1a. concatenation: TT, TF, FF, FT
-
1b. nesting: TT, TF, F-
-
2. each branch with probability, and the overall probability for a
combination is the product of its probabilities of the branches involved.
(in fact, this is the so called "implicity" OP)
- Sample midterm exam question V.
Answer Key:
-
EPC: draw the bounding boxes for each shape and place test points in corners
-
Weak N X 1: 2 ON and 1 OFF for each boundary
-
Weak 1 X 1: 1 ON and 1 OFF for each boundary
-
For Weak Nx1 and 1x1 above, remember that
the circle consists of only one boundary.
Prepared by Jeff Tian
(tian@engr.smu.edu).
Initially posted on 3/9/05.