Department of Computer Science



Department of Computer Science

College of Engineering, University of Nevada, Reno

CS 425/625 Software Engineering

Midterm Test #2

November 19, 2003

Test type: Closed-book examination

Number of questions: 12

Total points: 29

Test weight: 11%

Time: 70 minutes

Notes:

( For questions 1 to 7 indicate the correct answer (only one) on the answer sheets provided by the instructor. Each of the questions 1 to 7 has a one point value for a group total of 7 points.

( Questions 8 to 12 require that you elaborate your answers. You must also write these answers on the sheets provided by the instructor. The total value of questions 8 to 12 is 22 points.

Questions:

1 In architectural design, which of the following is a type of centralized control model?

a. Broadcast model

b. Call-return model

c. Interrupt-driven model

d. None of the above [1 point]

2 Which of the following is not a typical component of a real-time executive?

a. Real-time clock

b. Scheduler

c. Resource manager

d. Garbage collector [1 point]

3 Two types of user documentation are:

a. Functional description, database definition

b. Installation manual, design documentation

c. Introductory manual, reference manual

d. Functional description, source code documentation [1 point]

4 Which of the following is not a primary style of user interaction?

a. Direct manipulation

b. Natural language

c. Code visualization

d. Fill-in forms [1 point]

5 Which of the following is a role in a program inspection team?

a. Reader

b. Author

c. Moderator

d. All of the above [1 point]

6 Which of the following is a part of static analysis of programs?

a. Data use analysis

b. Message analysis

c. Timing analysis

d. None of the above [1 point]

7 Two types of dynamic models used in object-oriented design are:

a. Class model, state machine model

b. State machine model, sequence model

c. Package model, sub-system model

d. Sub-system model, sequence model [1 point]

8 Describe the broadcast model used for control modeling in architectural design. Also, indicate its advantages and disadvantages. [4 points]

9 Briefly describe the following classes of RTS: monitoring systems, control systems, and data acquisition systems (2-3 lines each).

[4 points]

10 Indicate four user interface design principles. For each of them provide a concrete example of application based on your experience with using various software tools. You can consider familiar software such as text processors, spreadsheet applications, web browsers, and so forth. Be specific when indicating this software, e.g., vi, Microsoft Excel, Netscape Navigator, etc. [4 points]

11Describe the top-down approach for integration testing and indicate its advantages and disadvantages. [5 points]

12 Explain what is meant by the cyclomatic complexity of a program flow graph. Provide a concrete example of program (code or pseudocode or flowchart) where the cyclomatic complexity is at least 4. Briefly describe the purpose of the program, which can either be related to your team project or be a short general procedure such as the binary searching algorithm. Explain how the cyclomatic complexity of your program’s flow graph is determined. [5 points]

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download