Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

How to analyze a problem statement with the view of objects and their relationships How to represent a set of objects and their relationship among

How to analyze a problem statement with the view of objects and their relationships How to represent a set of objects and their relationship among them graphically. Problem Statement 1: A university has two types of students. BS students and MS students. MS students can be further categorized in MS-by-research and MS-by-coursework students. All the students have their names, addresses and roll-numbers stored. Each MS student has an advisor. MS-by-research student has a thesis status (whether he has started the thesis or not). Thesis comprises of Chapters, where chapter have number and title to be stored. MS-by-coursework student have number of credit hours passed to be stored. BS student can be of first year, second year, third year or forth year. The advisor could be either Lecturer or an Assistant Professor. Lecturer will have a subject as a specialty while Professor has research interest in particular research fields. In addition to that, advisor could be either HEC approved or locally approved. The approval status of the advisor also needs to be stored. To have all information of each particular category of students, a PrintInfo() operation should be there. Design the class hierarchy for the university students. For this, you need to identify the following from the given case study Classes/objects Attributes against each class/object Operations against each class/object Type of association (association, aggregation, composition or inheritance) between classes/objects After identifying the above, you need to make an object-oriented model. Your design should be such that which can be used to declare a list of students and advisors belonging to different categories.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is cultural tourism and why is it growing?

Answered: 1 week ago