- Type
- Quiz
- Course
- CS504 Software Engineering - I
- Size
- PDF 182 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 7. Download the file for all 7 pages.
CS504 (ALL SOLVED CURRENT PAPERS)
Q01. Suppose you want to develop the object Model of a Hospital system. Identify and write down any five classes that will be used in object Model of Hospital System. (5 Marks)
- Doctor
- Patient
- Rooms
- Department
- Bill
Q02. The attributes have relationship among them to perform the functionality of the system. Identify which types of relationship exist among objects? (5 Marks)
Inheritance, association and aggregation are the three inter-object relationships specified by the object model.
- Inheritance defines a “kind of” hierarchy among classes.
- In an association relationship, when objects A “uses” object B, then A may send messages to B. The relationship defines visibility among objects.
- The aggregation relationship defines part-of structure among objects. When object A is part of the state of object B, A is said to be contained by B.
Q03. While identifying structure in object model derivation, there are three steps involved. Mention those steps. (3 Marks)
Q1. Define Attributes - What I Know?
Q2. Show Collaborations (associations and aggregations) - Who I know?
Q3. Define Services - What I do?
Q04. Ali is considers as an object. What are the characters its which decide Ali is an object.
Answer: Ali have random characteristics like ali is person ali his skills ali is employee ali house.....
Q05. Which of the following is/are True about software design?
a. Common coupling occurs when some global data repository is shared by two or more modules. b. Polymorphism is a design principle that helps the code to be flexible and reused. c. Software reuse injects more reliability to code. d. Stepwise refinement refers to increasing the level of detail of the design
Q06. Define Container Objects. Give an example and name any two attributes. (2 Marks)
Answer: Containers are objects that hold other objects. e.g. bin, box, cabinet, folder, locker
Q07. “Users should be able to access their mails using their correct username and password” Above mentioned requirement is functional or non-functional?
Answer: Non-functional
Q08. Apply peter code methodology on virtual university of Pakistan and identify actors, participants, places, transactions and tangible things.
In peter coad methodology for Virtual University of Pakistan. (write actors, participants, places, transactions and tangible things
Answer
Actors: person Attributes: name, address, phone
Participants: teacher Attributes: number, ID, education level, name, age Services: record result , make paper , teaching
Places: room Attributes: name, width Tangible things: PC Attributes: number, prices, model
Related CS504 files
All CS504 files →- CS504 Highlighted Handouts Set 3 by VUBuddy Highlighted PDF 5.9 MB
- CS504 Final Term Solved MCQs by Junaid Final term PDF 2 MB
- CS504 Quiz 3 by VU Topper RM Quiz PDF 446 KB
- CS504 Quiz 1 Updated June 2022 by Attiq Kundi Quiz PDF 685 KB
- CS504 Quiz 2 Quiz PDF 2.7 MB
- CS504 Solved Quiz 2 by Junaid Quiz PDF 895 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.