Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Practicum Case
COMP6153
Operating System
Computer Science O181-COMP6153-GA01-04
Learning Outcomes
Demonstrate the skills in programming to write user programs to interact with the operating system
Topic
Java Programming 2
Sub Topics
OOP Concept
Inheritance
Polymorphism
Soal
Case
LINK
https://drive.google.com/drive/folders/1HsGaSU4fRknJLfao2t6v3fNfM2lfttIh
Shape Manager
You are asked to build an Object Oriented application for calculate shape called Shape
manager. You are assigned to make a program with description below:
Halaman : 1 dari 3
Page 1 of 3
170220 FM-BINUS-AA-FPT-66/R7
o Then ask user to input the shape’s attribute according to the chosen shape, validate
each attribute must be between 1 and 100:
Shape Attribute
Square Side
Triangle Base, Height
Circle Diameter
Halaman : 2 dari 3
Page 2 of 3
170220 FM-BINUS-AA-FPT-66/R7
o After user fulfills all validations, the shape will created and shown in main menu.
o If user’s current shape is Triangle, the program needs to count the side first with the
following formula:
Halaman : 3 dari 3
Page 3 of 3