Unit 19 Object Oriented Programming

09-07-17 cheapnisha 0 comment

Unit 19 Object Oriented Programming

Introduction                                                                                                                                                                                              This report discusses the concepts of object oriented programming and application development according to the concepts. The student information management system has developed. Object oriented programming concepts are used because of their security applicability. As it is known fact that object oriented programming language is robust in nature and used to make application in modules. The student information management system is developed in modules. The application’s main task is to store the records of students and make it available for other management tasks such as course schedule, tutor assignment, study material and many more. The documents contains the application implementation that is defined in a proper way.

LO1. Understand the principles of object oriented programming

1.1  Discuss the principles, characteristics and features of objected oriented programming

Unit 19 Object Oriented Programming

Unit 19 Object Oriented ProgrammingAll the programs in the object oriented programming are defined in the classes. Memory is divided so that function for the programing structure and data type can be defined by these classes. Thus several objects could be connected with each other. Procedural language and technique was kept under consideration while developing this procedure. There are many classes into which the program has been developed. In the already existing classes, the objects could be developed. The newly developed objects can take up the qualities of the classes and objects which already exist. OOPs data is given more priority as compared to actions. Functions and data are secured in bottom up approach in suitable manner. Objective declaration for example, data hiding and security is easy. Communication is facilitated by the sets of function in the between of several objects, therefore it allows the data to be flexible in updating in the whole class (Rouse, 2015). Data security is allowed to describe the unauthorized and authorized access. C language of programming is dependent on OOP features. This permits the software development and programing in both the object orientation and procedural methods. This allows the software development process to be consistent.

1.1.1 Classes and Objects in OOP

Objects which are identical to each other make a class. The classes set relations of objects for example, the functions in common. In case of an individual class, there can be many objects. The “class” keyword is used to define this. For example, if can is an individual class and BMW< Toyota, Duster, Safari are the members of its class. An example of a class would be as in the picture below the class called Student with the Fields (age, nationality, ethnicity, DOB, weight, height) and the Methods (Student ID, Attendance, Enroll, Exam, Register). The following example will show the representation of the class.

The following example will show the representation of class.

StudentID: int

FirstName: string

LastName: string

DOB: DateTime

Nationality: string





1.1.2 Abstraction, Inheritance, Encapsulation and Polymorphism in OOP Design

Functionality is allowed by the object oriented programming through objects and classes. With concepts of OOPS, the practices of implementation and execution are completed. Some of those are listed below:

  • Abstraction
  • Inheritance
  • Encapsulation
  • Polymorphism

Abstraction –In order to decrease the sophistications and increase the efficiency, abstraction allows the program developer to hide all of the data which is important regarding any object. This way, the user is provided with only the useful information by hiding the secret details and details of background. This is considered as the OOP privacy standards. This allows in the complexity reduction and thus increases the efficiency in code. This also helps in making the useful information available to the world. (Yaiser, 2012). This furthers makes changes in the database which is saved and hiding the details about its management. This also allows the change in the interface from outside without disturbing the inside.