OOPC++ Coursework Question Paper Module Code
OOPC++ Coursework Question Paper Module Code
Coursework Weight: This coursework accounts for 10% of your total module grades.
Submission Instructions: Submit the following to IT Department Hard copy of the coursework
and presentation slides.
Hardcopy of the Research folder along with meeting log sheets
Title: OOP C++
1. Introduction
This assignment contributes 10% to the overall mark for this module and involves Individual
Assignment.
2. Objectives
ASSIGNMENT 1
1. What is object oriented programming? How is it different from procedure oriented
programming? Also mention its features.
2. Explain how can OOP cope in solving complex program.
3. Write about Data types used in C++. How is it similar to those used in C?
4. Explain with examples: Agents, Responsibility, Messages and Methods.
5. What is message passing? Describe with example.
6. WAP using Inline Function to calculate the square of a number.
7. WAP to calculate Simple Interest using default value of r = 1.5%. Ask the user for
principle amount and time.
8. Define Constructor. Describe all types of constructor with suitable examples.
9. WAP to demonstrate program of Constructor.
10. WAP to find the details of cars at tollbooth.
11. Define a class to represent a bank account. Include the following members:
Data Members:
Name of Account Holder
Account number
Balance in the Account
Member Functions:
Open an Account
Deposit and withdraw money
Display account Information
WAP to test this class for 10 customers, make use of all three types of
constructors (wherever appropriate)
Alike programming in C, there are few steps for developing a program properly. How do
you deal with the problems faced during coding? Discuss about these steps.
3. Report Structure
Each group should produce ONE report with the following structure:
4. Marking Scheme
MODULE NAME
PURPOSE. A brief description of the module's function
PSEUDOCODE. Detailed description of the module's function
INPUT PARAMETERS (if any)
OUTPUT PARAMETERS (if any)
GLOBAL VARIABLES (if any)
LOCAL VARIABLES (if any)
CALLS. References to other modules/components (including libraries).
CALLED BY. Names of other modules/components using this one.