Showing Page:
1/1
Software Design & Architecture
Quiz No 1
Total Marks: 15
Date: 30
th
September, 2019 Time Allowed: 15 mins
CMS#: ______ Full Name: ___________________________
Q1. Differentiate between Composition and Aggregation
Aggregation implies a relationship where the child can exist
independently of the parent. Example: Class (parent) and Student
(child). Delete the Class and the Students still exist.
Composition implies a relationship where the child cannot exist
independent of the parent. Example: House (parent) and Room (child).
Rooms don't exist separate to a House.
Q2. What is Robustness? Give Example.
Robustness --- ability to handle anomalous situations even in the presence of
errors
Example: Use Exception handling to handle the error condition when user
enters the zero (0) as a denominator for division.
Q3. Elaborate Build-a-little-Test-a-little Rule in implementation phase of SDLC.
Build-a-little-Test-a-little Rule
Add a relatively small amount of code (build a little)
Read what you have typed and correct it if necessary until you are totally
satisfied with its correctness
Test the new functionality (test-a-little)

Unformatted Attachment Preview

Software Design & Architecture Quiz No 1 Total Marks: 15 Date: 30th September, 2019 Time Allowed: 15 mins CMS#: ______ Full Name: ___________________________ Q1. Differentiate between Composition and Aggregation Aggregation implies a relationship where the child can exist independently of the parent. Example: Class (parent) and Student (child). Delete the Class and the Students still exist. Composition implies a relationship where the child cannot exist independent of the parent. Example: House (parent) and Room (child). Rooms don't exist separate to a House. • • Q2. What is Robustness? Give Example. Robustness --- ability to handle anomalous situations even in the presence of errors Example: Use Exception handling to handle the error condition when user enters the zero (0) as a denominator for division. Q3. Elaborate Build-a-little-Test-a-little Rule in implementation phase of SDLC. Build-a-little-Test-a-little Rule • • • Add a relatively small amount of code (build a little) Read what you have typed and correct it if necessary until you are totally satisfied with its correctness Test the new functionality (test-a-little) Name: Description: ...
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4