|GDB Announced||Dated: Feb 12, 16|
Topic of GDB is as under:
A security agency wants to develop an application that will manage its employees. Application will store employee’s personal information, deputation as security agents, expenses and job rotation along with their past experience in security agencies.
Security agency also wants to get / store NADRA verification of employees by using Verisys. Company wants that no other application can access their (employees) information except what they want to show to their users but on the other hand only get NADRA verification.
If you are deployed as software design engineer to design this application, what would be your approach to follow in programming paradigm i.e. Structures Programming or Object Oriented Programming?
Choose only one option of programming paradigm and also 3 reasons to choose the option (Keeping in view the scenario provided above). A sample of answer is provided below;
Programming paradigm: ___________________________
- NO GDB is accepted via e-mail in either case
- Lengthy replies of GDB will cause in deduction of marks
- GDB would be available for submission for 2 days that are 18/02/2016 and 19/02/2016 (Thursday - Friday).
- Copied comments / answers from any source will be awarded zero marks.
This is my 4th assingment
Saqib bhai mashAllah good but the topic is related to GDB and not Assignment. Assignment date is over already.
In the given scenario the Object Oriented Programming (OOP) paradigm will be used because of:
1. OOP provides data hiding and more secure then structure programming.
2. It provides Inheritance, Encapsulation, Abstraction, and polymorphism.
3. In OOP, we can easily reuse the code and it has less dependency.
Why are they asking about advanced level programming languages e.g. Object Oriented Programming in a subject which is just a basic (Introduction to Programming) considering the first semester of students.
Programming paradigm: Object Oriented Programming (OOP)
1: OOP provides Abstraction. Abstraction is "To represent the essential feature without representing the back ground details."
2: OOP provides Encapsulation. Wrapping up data member and method together into a single unit (i.e. Class) is called Encapsulation.
3: OOP provides inheritance. When a class acquires the property of another class is known as inheritance.
Inheritance is process of object reusability.
In upper given case. If you think every thing in term of objects. There is Person type object. This is parent of employee type. We can inherit name type object functionality in employee. And also can include some additional information that is bind with employee. We can store in derived class which is employee.