5 Questions on Processes for Object-Oriented Software Development | COP 4331, Exams of Computer Science

Material Type: Exam; Professor: Workman; Class: Processes for Object-Oriented Software Development; Subject: Computer Programming; University: University of Central Florida; Term: Fall 2003;

Typology: Exams

Pre 2010

Uploaded on 02/24/2010

koofers-user-ucq
koofers-user-ucq 🇺🇸

10 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
COP 4232 Exam 1 Fall 2003
1. (25 pts) For each of the definitions or descriptions given below, fill in the term or
concept that best matches. Choose your answers from the list provided.
Software Engineering
Computer Science
Software Process
Water Fall Model
Spiral Model
Software Life Cycle
Software Development Cycle
Requirements Elicitation
Requirements Elaboration
Architectural Design
Detailed Design
Implementation
Code & Unit Test
Integration and System Test
Delivery & Installation
Maintenance
Actor (Use Case Model)
Use Case (Use Case Model)
Includes Relation (UCM)
Generalization Relation
Specialization Relation
Association Relation
Use Case Model (UCM)
Analysis Model (AM)
Design Model (DM)
Deployment Model (DPM)
Implementation Model (IM)
Test Model (TM)
Collaboration Diagram
Sequence Diagram
State Diagram
Use Case Diagram
Inception
Elaboration
Construction
Transition
Information Hiding
Data Encapsulation
Maintainability
Reusability
Modularity
Cohesion
Coupling
Software Engineering
Computer Science
Software Process
Water Fall Model
Spiral Model
Software Life Cycle
Software Development Cycle
Requirements Elicitation
Requirements Elaboration
Architectural Design
Detailed Design
Implementation
Code & Unit Test
Integration and System Test
Delivery & Installation
Maintenance
Actor (Use Case Model)
Use Case (Use Case Model)
Includes Relation (UCM)
Generalization Relation
Specialization Relation
Association Relation
Use Case Model (UCM)
Analysis Model (AM)
Design Model (DM)
Deployment Model (DPM)
Implementation Model (IM)
Test Model (TM)
Collaboration Diagram
Sequence Diagram
State Diagram
Use Case Diagram
Inception
Elaboration
Construction
Transition
Information Hiding
Data Encapsulation
Maintainability
Reusability
Modularity
Cohesion
Coupling
(a) Algorithms for developing software: A set of activities, methods, practices, and
transformations that people employ to develop and maintain software and the associated
products ________________________________________
(b) A software development phase that produces a Software Requirements Specification
giving a high-level internal view of the system architecture. __________________________
(c) A type of UML diagram that presents a functional description of a software system from
the perspective of the users of the system. _________________________________
(d) Two software qualities that vary and serve to distinguish the Functional and Object-
Oriented design styles studied in class.________________________________________
(e) The scientific study of computation, programs and computational devices to determine
their properties and the properties of the processes that create them.
__________________________
(f) The work flows that comprise the Software Development Cycle (list them all):
__________________________________________________________________________
__________________________________________________________________________
(g) The first model produced by the Unified Software Development process that defines an
internal view of a system under development.. __________________________
Page 1
Name
pf3
pf4
pf5

Partial preview of the text

Download 5 Questions on Processes for Object-Oriented Software Development | COP 4331 and more Exams Computer Science in PDF only on Docsity!

  1. (25 pts) For each of the definitions or descriptions given below, fill in the term or concept that best matches. Choose your answers from the list provided. Software Engineering Computer Science Software Process Water Fall Model Spiral Model Software Life Cycle Software Development Cycle Requirements Elicitation Requirements Elaboration Architectural Design Detailed Design Implementation Code & Unit Test Integration and System Test Delivery & Installation Maintenance Actor (Use Case Model) Use Case (Use Case Model) Includes Relation (UCM) Generalization Relation Specialization Relation Association Relation Use Case Model (UCM) Analysis Model (AM) Design Model (DM) Deployment Model (DPM) Implementation Model (IM) Test Model (TM) Collaboration Diagram Sequence Diagram State Diagram Use Case Diagram Inception Elaboration Construction Transition Information Hiding Data Encapsulation Maintainability Reusability Modularity Cohesion Coupling Software Engineering Computer Science Software Process Water Fall Model Spiral Model Software Life Cycle Software Development Cycle Requirements Elicitation Requirements Elaboration Architectural Design Detailed Design Implementation Code & Unit Test Integration and System Test Delivery & Installation Maintenance Actor (Use Case Model) Use Case (Use Case Model) Includes Relation (UCM) Generalization Relation Specialization Relation Association Relation Use Case Model (UCM) Analysis Model (AM) Design Model (DM) Deployment Model (DPM) Implementation Model (IM) Test Model (TM) Collaboration Diagram Sequence Diagram State Diagram Use Case Diagram Inception Elaboration Construction Transition Information Hiding Data Encapsulation Maintainability Reusability Modularity Cohesion Coupling (a) Algorithms for developing software: A set of activities, methods, practices, and transformations that people employ to develop and maintain software and the associated products ________________________________________ (b) A software development phase that produces a Software Requirements Specification giving a high-level internal view of the system architecture. ___________________________ (c) A type of UML diagram that presents a functional description of a software system from the perspective of the users of the system. _________________________________ (d) Two software qualities that vary and serve to distinguish the Functional and Object- Oriented design styles studied in class**._** __________________________________________ (e) The scientific study of computation, programs and computational devices to determine their properties and the properties of the processes that create them.
    (f) The work flows that comprise the Software Development Cycle (list them all):

    (g) The first model produced by the Unified Software Development process that defines an _internal view of a system under development.. ___________________________ Name

(#1 continued) (h) _An external agent or entity that directly interacts with a system under development.


(i) _A type of UML diagram used in Use Case modeling to convey the dynamic flow and sequence of actor interactions comprising a use case. ___________________________ (j) _A technique employed in software design that attempts to prevent software clients from knowing or making use of knowledge about the implementation details of data abstractions or types. ___________________________ (k) _The activity of Use Case modeling occurs what phase of the Unified Software Development Process?. ___________________________ (l) A specification of a software solution that focuses primarily on satisfying functional requirements occurs in the ________________ model while a solution specification that is ready for implementation is given in the _____________ model.

  1. (5 pts) Identify the type of information that should be gathered from the customer and users during requirements elicitation and use case modeling. List at least four distinct information categories or questions that must be addressed.

1.______________________________________________________________

2.______________________________________________________________

3._____________________________________________________________

4._____________________________________________________________

  1. (30 pts) (a)(6 pts) What is the primary purpose of a “namespace” in C++? (Answer by giving a software engineering definition or viewpoint.) (b)(24 pts)There are three kinds of namespaces. Briefly describe each namespace and then give an example for how you would declare a variable, x, of type double defined in each type of namespace. Finally, in each case, describe how you would reference x within the file in which it is defined, and then in some file for which it is not defined, but needs to be visible. Namespace 1: Declaration Example (x) References to (x) Same File ------------------------------ Different File -------------------------

Namespace 2: Declaration Example (x) References to (x) Same File ------------------------------ Different File ------------------------- Namespace 3: Declaration Example (x) References to (x) Same File ------------------------------ Different File -------------------------

//file "app.cpp" ======================================================================= #include "alpha.h" using namespace alpha; #include "beta.h" using namespace beta; namespace { int x = 4; float y = 4.0; } int u = 2, v = 3; float r = 2.0, s = 3.0; int main() { int u, v, x; float r, z; u = __________; //(a) Fill in the blank with an expression referencing u in the global namespace. x = __________; //(b) Fill in the blank with an expression referencing x in the file namespace. r = ________________________; //(c) Give an expression (function call) to compute the // cube of the variable x defined in namespace alpha by //calling the function "cube" in namespace alpha _________________ p(u, x) ; //(d) Give the correct type specification for variable "p". z = s * p.getY(); ___________ //(e) give the resulting value of z using alpha::y; r = y*::y; ___________ //(f) give the resulting value of r return 0; }//main //end "app.cpp" =======================================================================