ISYS6197 Business Application Development: Practicum Case

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

270921 FM-BINUS-AA-FPT-66/R7

Practicum Case
ISYS6197
Business Application Development
Computer Science O221-ISYS6197-DU01-04

Valid on Odd Semester Year 2021/2022 Revision 00

Learning Outcomes
 Explain Object Oriented concept
 Solve the algorithm problem using Object Oriented concept

Topic
 Session 04 - Polymorphism

Subtopics
 Polymorphism
 Overloading and Overriding
 Abstraction

Page 1 of 3
270921 FM-BINUS-AA-FPT-66/R7

Soal
Case

DeU’s Class

You are asked to build an object-oriented application called DeU’s Class to manage their
classroom’s students and lecturers. You are assigned to make a program with the description below:

 The program consists of 5 menus:


1. Add People
2. View People
3. Remove People
4. Exit
 Ask user to input menu choice between 1 and 4.
 If the user chooses Add People (Menu 1):
o Ask user to input name. Validate length of name must be between 3 and 15 characters.
o Ask user to input age. Validate age must be numeric and minimum of age is 16.
o Ask user to input role. Validate role must be between “Student” or “Lecturer”.
o If role is “Student”, ask user to input gpa. Validate gpa must be numeric and between 0 and
4.
o If role is “Lecturer”, ask user to input salary. Validate salary must be numeric and
minimum of salary is 4000000.

 If user chooses View People (Menu 2):


o Show all students and lecturer.
o If there is no data, then show “There are no peoples in classroom!”.

Page 2 of 3
270921 FM-BINUS-AA-FPT-66/R7

 If user chooses Employee Report (Menu 3):


o Show all students and lecturer.
o If there is no data, then show “There are no peoples in classroom!”.
o Ask user to input people’s index, validate people’s index must be numeric and between 1
and total peoples in classroom.
o Finally, display a message indicating the corresponding people has been removed and remove
it from the list.

 If user chooses Exit (Menu 4), the program ends.

Please ask your teaching assistant if there are any related questions.

Page 3 of 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy