Object oriented programming notes pdf

Object oriented programming outline and the notes in pdf highlighted here. Object oriented programming unit is examinable by Kenya national examination council KNEC and is mainly taught in courses highlighted below;

  • Diploma in Information communication technology

OBJECT ORIENTED PROGRAMMING UNIT; Object-oriented programming unit is a programming paradigm based on the concept of “objects”, which can contain data and code: data in the form of fields, and code, in the form of procedures. A feature of objects is that an object’s own procedures can access and often modify the data fields of itself.

OBJECT ORIENTED PROGRAMMING TOPICS COVERED

  1. Introduction to object oriented programming
  2. Control structures and functions
  3. Objects classes and inheritance
  4. Polymorphism
  5. Input/output and file management

Introduction to object oriented programming

This topic trainees will be able to learn; OOP introduction As the name suggests, Object-Oriented Programming or OOPs refers to languages that use objects in programming. Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc in programming

Control structures and functions

This topic trainees will be able to learn; control structure which is like a block of programming that analyses variables and chooses a direction in which to go based on given parameters. The term flow control details the direction the program takes (which way program control “flows”). Hence it is the basic decision-making process in computing; There are 3 main control structures learned in object oriented programming: Sequence, Selection and Repetition.

Objects classes and inheritance

This topic trainees will be able to learn; Inheritance in object-oriented programming which is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation. An inherited class in OOP is called a subclass of its parent class or super class. Classes in OOP are user-defined data types that act as the blueprint for individual objects, attributes and methods. Objects are instances of a class created with specifically defined data. Objects can correspond to real-world objects or an abstract entity.

Polymorphism

This topic trainees will be able to learn; Polymorphism which is one of the core concepts of object-oriented programming (OOP) and describes situations in which something occurs in several different forms. In computer science, it describes the concept that you can access objects of different types through the same interface

Input/output and file management

This topic trainees will be able to learn; File handling which provides a mechanism to store the output of a program in a file and to perform various operations on it. A stream in file management is an abstraction that represents a device on which operations of input and output are performed. The set of file handling methods learned include ifstream, ofstream, and fstream.

OBJECT ORIENTED PROGRAMMING NOTES (PDF)

OOP NOTES: Many students sitting for KNEC exams have found themselves on a difficult situation on How to pass OOP unit and avoid fails and referred results. Its easy the simple steps to follow include;

  • Reviewing previous KNEC past papers available for this unit
  • Focus on your weak topics during revision
  • Involve your Friends, Experts or tutors
  • Good timely preparation
  • Attempt all KNEC questions provided for this unit

You can access these and other notes from this PAGE

KNEC grading system for colleges and TVETs exams

QUESTIONS AND ANSWERS TO STATISTICS, QUANTITATIVE TECHNIQUES, QUANTITATIVE METHODS E.T.C

  1. Frequency distribution table example with solution
  2. Examples & Formulas For Standard Deviation Variance Mean For Ungrouped Data
  3. Examples & formulas for standard deviation variance mean for grouped data
  4. Time series analysis least square method solved examples
  5. Price index Laspeyres Paasche’s and fisher’s ideal price index questions and answers
  6. Probability questions and answers statistics
  7. Pearson’s Coefficient of correlation formula example & solution
  8. PERT network diagram critical path example and solution project management
  9. Venn diagrams examples with solution 2 3 circles
  10. Regression equation formula how to calculate solved example

FREE KNEC PAST PAPERS PDF FORMAT:

COURSE NOTES

We are a group of graduates from Kenya school of TVET which is tasked with Training of Technical Trainers to teach in secondary schools and tertiary institutions, Implementation of various syllabi under TVET Programs in collaboration with stakeholders. Development of relevant syllabi for technical training in collaboration with stakeholders.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top