Object Oriented Programming Question Paper

[gview file=”http://educlash.com/wp-content/uploads/2016/10/OOP.pdf”]



Object Oriented Programming

 

Subject CodeSubject NameCredits
MCA101Object Oriented Programming4
Subject

Code

Subject NameTeaching

Scheme

Credits

Assigned

TheoryPractTutTheoryTWTut.Total
MCA101Object Oriented Programming040404
Subject CodeSubject NameExamination Scheme
MCA101Object Oriented ProgrammingTheory MarksTWPractOralTotal
Internal AssessmentEnd Semester Exam
Test1 (T1)Test2 (T2)Average of T1 & T2
20202080100

 

Pre-requisites:

 

Basic Understanding of C Programming Language Knowledge of Algorithms and Control Flow of a program

 

Course Educational Objectives (CEO):

 

CEO 1To Explore and Study Object oriented programming and advanced C++ concepts.
CEO 2To Improve problem solving skills by applying object oriented techniques to solve bigger computing problems.
CEO 3To provide a Strong foundation for advanced programming.

 

Course Outcomes: At the end of the course, the students will be able to:

 

MCA101.1Comprehend  Object oriented programming concepts and their application
MCA101.2To write applications using C++.
MCA101.3Implement programming concepts to solve bigger problems.

 

Syllabus

 

Sr.

No.

ModuleDetailed ContentsHours
1Programming BasicsIntroduction to Programming, Programming Paradigms, Programming Languages and Types.

Introduction to C – Basic Program Structure, Execution flow of C Program, Directives, Basic Input /Output

Introduction to Object Oriented Programming- OOP concepts, Advantages, Applications, Comparison of C and C++-Data Types, Control Structures, Operators and Expressions

8
2Introduction to C++Structure of a C++ program, Execution flow, Classes and Objects, Access modifiers, Data Members, Member Functions, Inline Functions, Passing parameters to a Function(pass by Value, Pass by Address, Pass by Reference), Function with default arguments, Function Overloading, Object as a Parameter, Returning Object

Static data members and functions, Constant Data members and functions

Constructors- Default, Parameterized, Copy, Constructor Overloading, Destructors

Arrays, Array as a Class Member, Array of Objects, Strings- Cstyle strings and String Class

10
3Operator Overloading and PointersOperator Functions-Member and Non Member Functions, Friend Functions Overloading Unary operators

Overloading binary operators(Arithmetic, Relational, Arithmetic Assignment, equality), Overloading Subscript operator

Type Conversion Operators- primitive to Object, Object to primitive, Object to Object

Disadvantages of operator Overloading, Explicit and Mutable Pointers, Pointer and Address of Operator, Pointer to an Array and Array of Pointers, Pointer arithmetic, Pointer to a Constant and    Constant    Pointer,    Pointer    Initialization,    Types    of Pointers(void,    null     and    dangling),     Dynamic     Memory Allocation, Advantages and Applications of pointers

10

 

4Inheritance and PolymorphismInheritance    Concept,    Protected    modifier,    Derivation  of

Inheritance- Public, Private and Protected, Types of Inheritance-Simple, Multilevel, Hierarchical, Multiple, Hybrid, Constructors and Inheritance, Function Overriding and Member hiding

Multiple Inheritance, Multipath inheritance – Ambiguities and solutions

Polymorphism, Static and Dynamic Binding, Virtual Functions, Pure Virtual Functions, Virtual destructors,  Abstract Classes, Interfaces

8
5Streams      and ExceptionsFiles, Text and  Binary Files,  Stream  Classes,  File IO    using

Stream classes, File pointers, Error Streams, Random File Access, Manipulators, Overloading Insertion and extraction operators

Error handling, Exceptions, Throwing and catching  exceptions, Custom Exceptions, Built in exceptions

8
6Advanced C++Casting-   Static   casts,   Const   Casts,   Dynamic   Casts,  and

Reinterpret Casts.

Creating Libraries and header files. Namespaces

Generic Programming, Templates, Class Templates, Function Templates, Template arguments, STL

Database Programming with MySQL

8

 

Reference Books:

 

  1. The Complete Reference C, 4th EditionHerbert Sehlidt,Tata Mcgraw Hill
  2. Object Oriented Programming in C++,4th Edition,Robert Lafore,SAMS Techmedia
  3. The Complete Reference-C++,4th Herbert Schildt,Tata McGraw-Hill
  4. The C++ Programming Language, 4th Edition,BjarneStroustrup,AddisonWesly
  5. Starting Out with C++ Early Objects,8th Edition,Tony Gaddis et al,Addison-Wesley
  6. C++ How to Program,8th Edition,Deitel and Deitel, Prentice Hall
  7. Practical C++ Programming,2nd Edition,Steve Quoaline,O‟reilly Publication
  8. Absolute C++,4th Edition, Walter Savitch,Pearson Education

 

Web References:

  1. https://dev.mysql.com
  2. github.com