Docsity

CS 30700 Midterm Exam Chapter 1 -- Software and Software Engineering, Exams of Software Engineering

Toggle sidebar
bg1
CS 30700 Midterm Exam
Chapter 1 -- Software and Software Engineering
(1) Why do some Software Engineering projects NOT involve writing software?
Sometimes the solution is to assemble from existing components, not build from
scratch.
Sometimes the solution is to buy, not assemble or build.
(Either answer is ok.)
(2) What are Software Quality Attributes?
The Functional Requirements describe what the system should do.
Software Quality Attributes are constraints on the design to meet specified levels
of quality.
(3) Give an example of two (or more) Software Quality Attributes that may
conflict.
Security and Performance.
Efficiency and any of Maintainability, Reusability, Usability, Modifiability.
(4) What is Scalability?
Can the software handle increasingly large volumes of data from the current
configuration up through the largest possible?
pf3
pf4
pf5

Partial preview of the text

Download CS 30700 Midterm Exam Chapter 1 -- Software and Software Engineering and more Exams Software Engineering in PDF only on Docsity!

CS 30700 Midterm Exam

Chapter 1 -- Software and Software Engineering

(1) Why do some Software Engineering projects NOT involve writing software? Sometimes the solution is to assemble from existing components, not build from scratch. Sometimes the solution is to buy, not assemble or build. (Either answer is ok.)

(2) What are Software Quality Attributes? The Functional Requirements describe what the system should do. Software Quality Attributes are constraints on the design to meet specified levels of quality.

(3) Give an example of two (or more) Software Quality Attributes that may conflict. Security and Performance. Efficiency and any of Maintainability, Reusability, Usability, Modifiability.

(4) What is Scalability? Can the software handle increasingly large volumes of data from the current configuration up through the largest possible?

Chapter 3 -- Basing Software Development on Reusable Technology

(5) What does it mean to say that an advantage of a client-server system is that both the client and server can be simpler? Client: Does not need to know how computation is done or service is provided. Server: Does not need to know what will be done with resulting computation or service.

Chapter 4 -- Developing Requirements

(6) What is the objective of Use Case analysis? To model the system from the point of view of how users interact with the system when trying to achieve their objectives.

(7) In a Use Case the steps are divided into two columns. What are these? Actor actions and System responses

(8) A Requirement is a statement. What does that statement describe? An aspect of what the proposed system must do, or a constraint on the system's development.

Chapter 8 -- Modelling Interactions and Behaviour

(12) In a Sequence Diagram, what does the vertical dimension (top to bottom) represent? Time

(13) Draw an Activity Diagram (involving at least 2 classes and 2 activities) that represents some use case(s) for your project.

Chapter 8, slide 34 or 38.

(14) In an Activity Diagram what do Swimlanes show? The partitioning of activities among classes.

Chapter 9 -- Architecting and Designing Software

(15) What does it mean to say that a module has "high cohesion"? It contains things that are related to each other and keeps out unrelated things.

(16) Design Principle 3 is "Reduce coupling where possible". What is Coupling and why is it generally a bad thing? Coupling occurs when there are interdependencies between one module and another. When interdependencies exist, changes in one place will require changes somewhere else.

(17) What is Software Architecture? The high-level structure of a software system including how the software will be divided into subsystems, deciding how these will interact, and determining their interfaces.

(18) In the Multi-Layer architectural pattern, why can each layer only communicate with the layer immediately below it? So that details of the lower levels can be completely hidden from this layer.

Chapter 10 -- Testing and Inspecting to Ensure High Quality

(19) What is the difference between White-box and Black-box testing? White-box -- Testers have access to the system design. They can examine the design documents, view the code, and observe at run time the steps taken by algorithms and their internal data. Black-box -- Testers provide the system with inputs and observe the outputs. They can see none of the source code, the internal data, or any of the design documentation describing the system's internals.

(20) Define Equivalence Classes as they are used in Testing. You should divide the possible inputs into groups which you believe will be treated similarly by all algorithms. Such groups are called Equivalence Classes. A tester needs only to run one test per equivalence class.