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 | December, 2016 | |
City, State | new delhi, |
Question Paper
1. Design and implement a class "Athlete" using having the following features:
• The class should store the name, event, country and age of an athlete.
• The class should have the following member functions:
A member function to input values to data members of an object.
A member function that displays data stored in data members of an object.
A member function that changes the age of an object.
Write appropriate main( function that creates an array of three "Athlete" objects and demonstrates all the member functions. You must store meaningful values in the objects.
2. Consider the following class hierarchy along with suggested data members:
Sportsperson • Name
• Address
Individual Sport Group Sport
• Event Name • Event Name
• Number of Practice Hours • Number of sportspersons needed for the event
Design and implement the classes in the hierarchy using You may add more data members in the classes. You should include at least one constructor in each class. All the classes should have a member function print_info( which should display all the data of that object. You must demonstrate polymorphism using the print_info( and main( functions.
• The class should store the name, event, country and age of an athlete.
• The class should have the following member functions:
A member function to input values to data members of an object.
A member function that displays data stored in data members of an object.
A member function that changes the age of an object.
Write appropriate main( function that creates an array of three "Athlete" objects and demonstrates all the member functions. You must store meaningful values in the objects.
2. Consider the following class hierarchy along with suggested data members:
Sportsperson • Name
• Address
Individual Sport Group Sport
• Event Name • Event Name
• Number of Practice Hours • Number of sportspersons needed for the event
Design and implement the classes in the hierarchy using You may add more data members in the classes. You should include at least one constructor in each class. All the classes should have a member function print_info( which should display all the data of that object. You must demonstrate polymorphism using the print_info( and main( functions.
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