CpSc 372
Exam 2
Name______________________________________________
Answer any FOUR of the five questions. Place a large X on the question you are omitting. If you answer all five, the one on which you score the best will NOT be counted. All questions are counted the same: 25 points each. Answer all parts of each question.
You can not have a laptop in the exam. You may have the class notes, handouts, copies of submitted homework. You have from 12:30 am until 1:45am for the exam.
a. “for” statements in reqspec link to AADL files; “for” statements in verify link to reqspec files
b. Enhances modularity and flexibility; degrades performance
c. The least amount of redundant code, the least effort to change/maintain
d.
a. With an iterative, incremental process model, what are the differences between an iteration and an increment?
a. An increment is an additional unit of functionality; an iteration is a single pass through the tasks in the development process
b. The flow of control – the Model talks directly to the view in MVC but not in MVP
c.
Login procedure and representing an open file
a. The number of ports or flows that have participated in a scenario.
b. There is a risk that 2 components may be too tightly coupled which would result in increased time required to modify the system resulting in increased cost or delay.
c. 1. How many times a task may be performed 2. The level of abstraction used in a given pass through the tasks.
a. So that we can change how a component accomplishes its job without changing how it integrates with the rest of the system.
b. A recspec file uses a “for” statement to reference an AADL file in which the specification is given.
c. The row is an iteration and a group of rows is an increment.
a. Introduce a third component that represents the common behavior and have A and B interact with the new component.
b. Substitution – usually static but can be dynamic; is static in that one element is substituted for another at design time
c. Each flow segment and port can have a latency property attached to it. The Latency Analysis method traverses each end-to-end flow path and sums all of the latency annotations for that path. The result is added to a spreadsheet returned as a report.