0% found this document useful (0 votes)
19 views5 pages

CS304P - Lab Exercises

Uploaded by

itsayesha65
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views5 pages

CS304P - Lab Exercises

Uploaded by

itsayesha65
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Dear Student,

You have to solve the given problem statement by yourself. First read it carefully and try to
solve it. There is no need to copy it from anywhere or to solve it in the group. Try to analyze
yourself. There are no marks for this activity. It is only for your own understanding. In the
coming lab, we are going to perform this lab, we will discuss your solution, and try to find out
the mistakes.

Lab 01
Problem Statement
Consider the following scenario and identify all objects, their attributes and behaviors.

In Virtual University bookshop, the handouts of all courses are provided at reasonable price.
The handouts are made in accordance with the video lectures recorded by famous professors. It
is a step to facilitate students to easily digest the course contents.

Solution:
Object Attribute Behaviors

Bookshop Name Set Order

Address (Location) Get Order

Phone number Confirm order

List of Books Deliver Order

Update inventory

Payment collection

Order status

Handout Title Upload

No. of topics/chapters Download

Author name Edit


Publisher name Open

Creation date Close

Modify date Read

Edition Write

Price Share

Book form View

Course Course code Add information

Course name View information

Course instructor Edit information

Credit hours Read

Total marks Write

Grading scheme

No. of lectures

Course content

Video Lecture Video Name View / watch

Video number Record

Duration Upload

Quality Download

Type Stop

Video URL Share

caption Pause
Forward

Reverse

Increase_speed

Decrease_speed

Increase_volume

Decrease_volume

Playback

Professor Employee ID Teach

Name Develop assignment

Age Solve student’s problems

Address Develop quiz

Contact Number Develop GDB

Gender Prepare Exam

Qualification Take Exam

Designation Invigilator

Experience Mark papers

Salary Mark activities

No. of taught subjects Give Grades

Department Prepare Exam

Students Student ID / Roll number Study

Name Give Exam


Age Attempt Activities

Gender Write notes

Address Making time table

Contact number

Student program

Department

Semester

CGPA

N. of course

Course content Name Upload

No. of topics Edit

Topic Number View

Topic Description Share

Composed by Write

Published by Download

Written by Delete
Lab 02
Problem Statement
In the below diagram, we have two different types of file classes (PDF and Video). You are
required to apply the concept of generalization to the given classes and draw a class diagram
showing this generalization relationship.

Solution

You might also like