Exam Details
Subject | C++ and Object Oriented Programming | |
Paper | ||
Exam / Course | Bachelor of Computer Applications | |
Department | School of Computer and Information Sciences (SOCIS) | |
Organization | indira gandhi national open university | |
Position | ||
Exam Date | June, 2016 | |
City, State | new delhi, |
Question Paper
What is dynamism in the context of OOP paradigm? What are the different types of dynamisms for object-oriented design Explain each with the help of examples.
Differentiate between private and protected class members. Elaborate with suitable examples.
Explain the following:
Library files
#include directive
How are objects defined for a class?
FOR loop
Constructors and destructors
Design the following functions using
Computing sum of two numbers
Swapping two numbers
Explain any five features of JAVA giving suitable examples.
Compare structured programming and object oriented programming.
In the following code, point out errors, if any, in statements marked to If there are no errors,indicate their output.
class base
{int
public:
void set_i (int num)
int get_i( {return i
class derived public base
{intj;
public
void setj (int num)
int getj( {returnj;}
void main()
{base
derived
bp
bp setj(20);
cout « bp get_i(
cout « bp getj(
What is exception handling? Explain it with an example.
Write a program to accept a number from the user and display its factorial.
What is Operator Overloading? Explain it with the help of an example.
Explain Reusability and Data Hiding.
5. Explain the following:
this pointer
Copy constructor
Redirection operators
Inline functions
Runtime polymorphism
Differentiate between private and protected class members. Elaborate with suitable examples.
Explain the following:
Library files
#include directive
How are objects defined for a class?
FOR loop
Constructors and destructors
Design the following functions using
Computing sum of two numbers
Swapping two numbers
Explain any five features of JAVA giving suitable examples.
Compare structured programming and object oriented programming.
In the following code, point out errors, if any, in statements marked to If there are no errors,indicate their output.
class base
{int
public:
void set_i (int num)
int get_i( {return i
class derived public base
{intj;
public
void setj (int num)
int getj( {returnj;}
void main()
{base
derived
bp
bp setj(20);
cout « bp get_i(
cout « bp getj(
What is exception handling? Explain it with an example.
Write a program to accept a number from the user and display its factorial.
What is Operator Overloading? Explain it with the help of an example.
Explain Reusability and Data Hiding.
5. Explain the following:
this pointer
Copy constructor
Redirection operators
Inline functions
Runtime polymorphism
Other Question Papers
Departments
- Centre for Corporate Education, Training & Consultancy (CCETC)
- Centre for Corporate Education, Training & Consultancy (CCETC)
- National Centre for Disability Studies (NCDS)
- School of Agriculture (SOA)
- School of Computer and Information Sciences (SOCIS)
- School of Continuing Education (SOCE)
- School of Education (SOE)
- School of Engineering & Technology (SOET)
- School of Extension and Development Studies (SOEDS)
- School of Foreign Languages (SOFL)
- School of Gender Development Studies(SOGDS)
- School of Health Science (SOHS)
- School of Humanities (SOH)
- School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
- School of Journalism and New Media Studies (SOJNMS)
- School of Law (SOL)
- School of Management Studies (SOMS)
- School of Performing Arts and Visual Arts (SOPVA)
- School of Performing Arts and Visual Arts(SOPVA)
- School of Sciences (SOS)
- School of Social Sciences (SOSS)
- School of Social Work (SOSW)
- School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
- School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
- School of Translation Studies and Training (SOTST)
- School of Vocational Education and Training (SOVET)
- Staff Training & Research in Distance Education (STRIDE)
Subjects
- ANALYSIS AND DESIGN OF ALGORITHM
- Basics Mathematics
- BUSINESS COMMUNICATION
- C' Programming and Data Structure
- C++ and Object Oriented Programming
- Computer Basics and PC Software
- Computer Fundamentals and PC Software
- Computer Networks
- COMPUTER ORIENTED NUMERICAL TECHNIQUES
- E-COMMERCE
- Foundation Course in English for Computing
- Foundation Course in Mathematics in Computing
- FUNDAMENTAL OF COMPUTER NETWORKS
- Intranet Administration
- Introduction to Computer Organisation
- Introduction to Internet Programming
- INTRODUCTION TO SOFTWARE ENGINEERING
- Introduction to System Software
- Multimedia
- NETWORK PROGRAMMING AND ADMINISTRATION
- PC Software Skills
- Programming In C++
- STATISTICAL TECHNIQUES
- TCP/IP PROGRAMMING
- Theory of Computer Science
- WEB PROGRAMMING