CSC 413 Questions and Answers
What are the three Pillars of Object Oriented Programming?
Encapsulation , Inheritance , Polymorphism
What is Cohesion?
Cohesion measures the strength of relationship between pieces of functionality within a given module.
Previous
Play
Next
Rewind...
what are the three pillars of object oriented prog
what is cohesion cohesion measures the strength o
Written for
CSC - Cyber Secure Coder
CSC - Cyber Secure Coder
Seller
Follow
Pogba119
Reviews received
Content preview
CSC 413 Questions and Answers
What are the three Pillars of Object Oriented Programming? - answer
Encapsulation , Inheritance , Polymorphism
What is Cohesion? - answer Cohesion measures the strength of relationship
between pieces of functionality within a given module.
What is coupling? - answer Coupling is the degree of interdependence between
software modules.
Can you instantiate objects of an abstract class? - answer No
What is an abstract class? - answer An inherited subclass that can be instantiated.
Give an example of an Inheritance relationship - answer Apple is a Fruit
Give an example of a Composition relationship - answer House has a Bathroom
What is the difference between static and dynamic binding? - answer Static Binding :
Binding can be resolved at compile time
Dynamic Binding : Compiler doesn't decide method to be called.
What is the difference between overloading and overriding? - answer Overloading :
Compile time, done in the same class
Overriding : Run time, base and child class required
You are tasked with developing a employee application. In the design phase, you are
asked to create a hierarchical diagram of the employee structure so they can be
modeled as classes. You are given the following information:
Our company has a set of employees. These employees can be managers, front-end
and back-end. Managers can be a store manager, an assistant store manager or a shift
manager. Front-end employees can be Cashiers and baggers. Back-end employees
can either be a custodian, an utility-clerk or a stocker. Given the above description,
please list all the data-fields that are common among all classes.
Do not go crazy, Please only list the important ones. Names are fine, you may exclude
the types.
Given the above description, create the correct hierarchy of classes using inheritance.
thanks - answer https://www.chegg.com/homework-help/questions-and-answers/1-
15-points-tasked-developing-employee-application-design-phase-asked-create-
hierarchical--q30488599
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Pogba119. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £9.73. You're not tied to anything after your purchase.