Monday, 22 July 2013

Practical (Object Oriented Programming Through C++) [BCA -307] Syllabus BCA 3rd-III Sem Syllabus for DAVV Indore Affiliated Institutions

 DEVI AHILYA VISHWAVIDYALAYA (DAVV), INDORE
Bachelor Of Computer Applications (BCA) (Full-Time) 
Third-3rd-III Semester Curriculum/ Syllabus 2011-12 Academic Year Onwards
Practical (Object Oriented Programming Through C++) Syllabus 


Practical (Object Oriented Programming Through C++) [BCA-307] Syllabus /Course contents

Max. Marks :25Min. Marks : 09

  1. Write a program to illustrate the use of various stream classes of c++.
  2. Write a program to find the maximum of three using conditional operator.
  3. Write a program to find the largest, second largest and third largest in a given array.
  4. Write a program to generate Armstrong series.
  5. Write a program to find the factorial of a given number.
  6. Write a program to generate the Fibonacci series.
  7. Write a program to check whether the given number is palindrome or not.
  8. Write a program to find the GCD and LCM of two no’s.
  9. Write a program to read a n x m matrix and find

  • ¾    The average of each row.
  • ¾    The average of each column.
  • ¾    The average of mn matrix.

  1. Write a program to print the boundary element of matrix.
  2. Write a program to print the diagonal elements of matrix.
  3. Write a program to illustrate the use of structure and union.
  4. Write a function which accept object as a parameter and returns object.
  5. Write a program to overload ++ operator to increment age of person by one month.
  6. Write a program to overload ++ operator to concatenate two string.
  7. Write a program to illustrate the use of scope resolution operator.
  8. Write a program to find the square root using inline function.
  9. Write a program to illustrate the use of friend function.
  10. If a class D is derived from two base classes B1 and B2, then write these classes each containing zero argument constructors. Ensure while building an object of type D firstly the constructor of B2 should get called followed by that of B1.Also provide destructor in each.
  11. Write a program to overload two operator >and –as follow. Let t1, t2 and t3 be three object of time class. If (t1>t2) t3=t1-t2; Else t3=t2-t1;
  12. Create a class called Employee that includes three pieces of information as instance variables – a first name (type String), a last name (type String) and a monthly salary (double)
  13. Create a constructor in above class to initialize the three instance variables. Provide a get method for each instance variable..
  14. Create two employee objects and display each object’s yearly salary.
  15. Give each employee a 10% raise and display each Employee’s yearly salary again..
  16. Write C++ program to create five object of book, get information of book using getdata() function including name, price, publication and author.
  17. Write search() function to search a specified book, if book is search return the complete information of book and print the information of book using putdata() function.
  18. Write an application to create a super class Employee with information first name & last name and methods getFirstName(), getLastName() derive the sub-classes ContractEmployee and RegularEmployee with the information about department, designation & method displayFullName() , getDepartment, getDesig() to print the salary and to set department name & designation of the corresponding sub-class objects respectively.
  19. Create an abstract class Shape which calculate the area and volume of 2-d and 3-d shapes with methods getArea and getVolume. Reuse this class to calculate the area and volume of square ,circle ,cube and sphere.
  20. Write a C++ program in which you are overloading all arithmetic operators.
  21. Write a program that accepts two values either integer or double. Design functions that understand the input, add them and provide the correct output.
  22. Create a base class called shape. Use this class to store two double type values that could be used to compute the area of figures. Derive two specific classes called triangle and rectangle from the base shape. Add to base class, a member function get_data() to initialize base class data members and another member functions display_area() to compute and display the area of figures. Mark the display_area() as avirtual function and redefine this function in the derived class to suit their requirments.(Use pure virtual function)
  23. Create a base class that contains a function display(), displaying “I am in base” . Function with same name display() is in derived class ,displaying “I am in derive”.
  24. Write a C program that manipulates the above text file. The program must implements the operation to modify a record, delete a record and append new records.
  25. Write a C program to open two files containing integers (in sorted order) and merge their contents.
  26. Write a function template for finding the minimum value contained in an array..

No comments:

Post a Comment