0% found this document useful (0 votes)
88 views4 pages

Learning Activity in Computer 10 SY 2020 - 2021 Second Quarter

The document describes an activity where a student is asked to design object-oriented classes, objects, and functions to help organize a large book collection. It provides a scenario where a person has collected hundreds of books and wants to categorize them by genre. As a software developer, the student must determine the appropriate classes, objects, and functions to model this book collection and sorting task. It includes example class relationships like BookName to AuthorName and getAuthorName to getBookName. The activity asks students to identify relationships between linked data and create a UML diagram showing method relationships.

Uploaded by

April Canoy
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)
88 views4 pages

Learning Activity in Computer 10 SY 2020 - 2021 Second Quarter

The document describes an activity where a student is asked to design object-oriented classes, objects, and functions to help organize a large book collection. It provides a scenario where a person has collected hundreds of books and wants to categorize them by genre. As a software developer, the student must determine the appropriate classes, objects, and functions to model this book collection and sorting task. It includes example class relationships like BookName to AuthorName and getAuthorName to getBookName. The activity asks students to identify relationships between linked data and create a UML diagram showing method relationships.

Uploaded by

April Canoy
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/ 4

FORMATIVE ACADEMIC AND SKILLS DEVELOPMENT SCHOOL

National Highway, Cotcot, Liloan, Cebu 6002


Tel. # (032) 424-4404

LEARNING ACTIVITY IN COMPUTER 10


SY 2020 – 2021
SECOND QUARTER

Activity 2.5.3: Creating Object-Oriented Design

Directions: Read the situation below. As a software developer, give your opinion regarding the
dilema by completing the table.

Problem:

Jane loves to collect books since she was a grade 3. Now she already graduated in college and
collected hundreds of books. She decided to store it in a cabinet shell and arranged it according to
genre. However, due to the large number of books it would take a year to arrange it. As a software
developer, what would be your classes, objects, and functions?
Activity: Identifying Relationship

Directions: Look at the UML diagram and tell the relationship of the linked data.

Genre

BookName

Summary

getBookName()

PrintSummary()

Publication

AuthorName

Biography

getAuthorName()

PrintBiography()
Process Questions:

1. What relationship do the linked data exhibit?

 getAuthorName to BookName: The


author is the creator or originator of
any books. In publicating books
author made sure to originates every
works to avoid uncertainty to any
. readers
 getBookName to
AuthorName: Titled books
was given by multiple
authors. It was done to
avoid readers from

What are other relationship can the data above exhibit?


Summary and Biography are the others that
shows relationships that data above exhibit.
Activity: Formative Assessment

Directions: Using the object-oriented made in Activity 2.5.3, create a UML diagram showing the
relationship of the methods.

Method:
Attribute:
class: Class:
givesUse to locate
books genre every story just
informations
by focusing on its
to readers
genre

Class: Class: author Class: sypnosis


classification of Object: Object:
categories
 Publication  Genre
Object:
 Biography  Variety of
 Summary Functions: books
 Title Functions:
 Locatepublic
Functions ation  Findgenre
 Getsummary  getbiograph  getvariety

 Printtheme/titl
y
e

You might also like