The course covers the basic concepts of object oriented programming using C++ programming language.
CSC166Semester II3 credit hours8 units72 solved questions934 study cardsFull study modes
The course covers the basic concepts of object oriented programming using C++ programming language.
The free sample is open to everyone. Sign in for 2 free weeks of every answer, flashcards and progress.
This unit contrasts the structured (procedure oriented) style of programming with the object oriented style that C++ is built around, then works through the core vocabulary of object oriented languages: objects, classes, encapsulation, inheritance, polymorphism and dynamic binding, that recur through every later unit.
Structured programming, also called procedure oriented programming, organizes a program as a collection of functions, each performing one well defined task, with control flowing from the top of the program down through these functions. It rests on a few consistent ideas. Emphasis falls on the algorithm rather than on the data: the programmer designs the sequence of steps first and only afterward decides what variables carry the data between them. A large program is divided into smaller, more manageable units called functions, and most of the data those functions work on is kept as global variables, so that many functions can read and change it directly. The design proceeds top down, breaking the overall task into sub tasks and those sub tasks into still smaller ones, and data therefore moves openly around the system from function to function, each function's job being to transform that data from one form into another.
This style works well for programs of moderate size, and languages such as C, FORTRAN and Pascal are built around it, but it has two weaknesses that become serious as a program grows. Because data is global, if the layout of a data structure has to change, every function that touches that structure has to be revised, and in a large program it is easy to miss one. And because functions are organized around actions rather than around the things a program models, procedural code does not map cleanly onto real world entities: a banking program written this way ends up with functions like deposit() and withdraw() floating free, rather than an Account that owns its own balance together with the operations allowed on it.
Object Oriented Programming for TU BSc CSIT is covered here in full, from syllabus notes to solved past questions. This subject has 8 chapters mapped to the official syllabus, and 72 past exam questions with written model answers. The opening of every note and answer is free, and the most-searched questions are free in full. A free account gets 2 free weeks of the whole program plus flashcards and progress tracking so weak topics come back before the exam.
This TU BSc CSIT Object Oriented Programming guide covers Introduction to Object Oriented Programming, Basics of C++ programming, Classes & Objects, Operator Overloading, Inheritance, Virtual Function, Polymorphism, and miscellaneous C++ Features, Function Templates and Exception Handling, File handling, across 8 chapters. It includes model answers to 72 past exam questions, plus flashcards for quick revision.
Object Oriented Programming has 8 chapters mapped to the official syllabus.
Yes. Each of the 72 past questions comes with a written model answer; the most-searched ones are free in full, the rest open with a free account's 2 free weeks or a pass.
Free to start. The opening of every note and answer is free, the most-searched questions are free in full, and a free account gets 2 free weeks of the whole program plus flashcards and progress tracking. After that a program pass keeps everything open.
Based on the official syllabus.