You are on page 1of 2

List of Practical Name of the Department Computer Engg Name of Laboratory Object Oriented Programming Lab Class IV Computer

Semester (Year) Spring Course Title Object Oriented Programming Course Code CP 206 Credits (L-T-P ) - 4 (3 L , 2P) Total No. of Experiments 22 Assignment List S.No. Assignment 1 2 3 4 5 6 7 8 9 10 11 12
Write a program that use two dimensional array and perform matrix addition, subtraction and multiplication operations. Write a program that create box object and calculate area of it. Write a program that generates winning lottery number with given range. (a) Write a program that implement and simulate stack using pop, push & stack trace , peek methods.(b) Implements stack using constructor overloading and check stack overflow and stack underflow condition. Write a program that (a) Write a program that implement and simulate queue using insert , delete, peek methods.(b) Implements Circular queue and priority queue using constructor overloading and check empty & overflow condition. Program deals with the basic operation like Addition (+), Subtraction (-), Dot Product, Cross Product etc. on Two 3-D vectors. Write a program that compute area of rectangle, triangle, square and circle by using switch selection and implement also with constructor overloading. Write a program that shows difference between static and instance variable and static functions. Write a program that program finds out & prints the no. of ways the letters of a given string may be arranged. Write a program that creates box Object and use constructor and method overloading and return result to calling method. Write a program that extends box class and add colour information in extended class and display colour information with volume of the box. Write a program for the problem: the array of integers indicating the marks of the students is given, U have to calculate the percentile of the students according to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks are A 12, B 60,C 80,D 71,E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have marks less then him) percentile of A = 0/5*100 = 0%. Write a program that call parent class constructor and access parent class variables and method. Write a program that extends box class and use method overriding on box class methods.

Duration (Hrs.)

2 hrs

2 hrs 2 hrs 2 hrs

2 hrs

2 hrs

13 14

15 16

Create an abstract stack class & abstract methods, and implement its methods in its sub class. Create a queue class with final methods that cant override in its sub class.

2 hrs

17

Write a program to display a digital clock. Use the principle of multiple inheritance for class. The clock should be running.

2 hrs

18

Write a program that calculates the salary of a worker, staff and officer. Use base class Employee. Use the concept of array of base class pointer.

19

Write program that copies a source file, by reading it line by line and write into a destination file.

20

Write a program that use exception handling in single try block and multiple catch block.

2 hrs

21

Design and implement full functional electricity billing system that store and retrieve data by file handling and use concept of OOP and do write appropriate errors if found.

22

Design and implement a project assigned.

Take Home

You might also like