0% found this document useful (0 votes)
15 views2 pages

Midterm Pointer To Review App Dev

Uploaded by

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

Midterm Pointer To Review App Dev

Uploaded by

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

REVIEWER POSSIBLE QUESTIONS IN MIDTERM EXAM (BASED ON HANDOUTS

AND MY PAST EXAMS)


1.) Make an interface named KAYAMOYAN with void method named GRADUATE. The
interface method should be public and with a INT parameter DOLLAR.

2.) Make a interface program named EXAM with a void method named HOTDOG. The
interface method should be public and with a char parameter type named
EWANDIKOALAM.

3.) What are the 2 advantages of following the SOLID Principles of Object – oriented
design.

4.) Make a void method named WALANGFOREVER with a String parameter named
FRIENDZONE. Add statement to display the message “Break na tayo: ” then
concatenate the value of FRIENZONE.

5.) Make a subclass named AYOKONA that extends the superclass named PAASA.
Create 2 private variables named MANLOLOKO (int) and UTOUTO (Char).

6.) What is Single Responsibility principle


This suggests that each software module, class, or interface should have only one (1)
reason to change.
7.) What is Liskov Substitution Principle (LSP)
all the derived classes of a base class should be able to perform the same behavior of
their base class without negative side effects.
8.) What is Open-Closed Principle (OCP)
when there are new requirements for the software, the new behavior must be added by
deriving a new class without modifying the existing class.
9.) What is Dependency Inversion Principle (DIP)
This principle suggests that flexible software are those with classes that depend on
abstract classes or interfaces.
10.) What is Interface Segregation Principle (ISP)
This principle advises software designers to avoid depending on things that they don’t
use.
11.) Alin ang mga or not belong to the 7 Structural Design Pattern
➢ Adapter Pattern ➢ Facade Pattern
➢ Bridge Pattern ➢ Flyweight Pattern
➢ Composite Pattern ➢ Proxy Pattern
➢ Decorator Pattern

Pointers to Review
Coverage ng Midterm Exam (Alamin intindihin isaulo ang mga keyword mga ito)
Design Principles (Midterms) 03 Handout 1
3 Important charactertistics of a bad design architecture
➢ Ragility
➢ Fragility
➢ Immobality
The Solid Principle
➢ Single Responsibility principle (SRP)
➢ Open-Closed Principle (OCP)
➢ Liskov Substitution Principle (LSP)
➢ Interface Segregation Principle (ISP)
➢ Dependency Inversion Principle (DIP)
Design Pattern (Midterm) 04 Handout 1
Design pattern 4 Essential Features
➢ Pattern Name ➢ Solution
➢ Problem ➢ Consequence
3 Categories of design patterns in object oriented
➢ Creational Patterns
➢ Structural Patterns
➢ Behavioral Patterns
The 7 Starctural Design Pattern
The 3 Behavior Design Pattern

You might also like