Tuesday 18 October 2011

MCA I sem lablist

SRI VENKATESWARA  UNIVERSITY
DEPARTMENT OF COMPTER SCIENCE
M.C.A  I SEMESTER  PROGRAMMING LAB – I    

  1. Design a c++ program to implement the following using i/o formatting functions.


s.no.                 itemcode                     quantity                       price                amount

1                      --------  --                      --------- -                       -------               ---------
2                      ----------                        -----------                      ------                 ----------
--                      -----------                      ------------                     --------              ------------        

  1. Design a program in c++ to demonstrate the concept of message passing using:
    1. call by value.
    2. Call by address
    3. Call by reference
    4. Return by reference
  2. Design and develop a program in C++ to illustrate the concept of control structures.
  3. Design a program in C++ to illustrate the concept of function overloading to calculate the volumes of cube, cylinder and rectangular box.

  1. Design a program in C++ to illustrate array of objects to implement the following.
Student marks list.
Sno            sname  m1       m2       m3       m4       m5       m6       avg      grade   rank
-----            ------     --          --          --          --          --          --          ---        -----      -----     
-----            ------     ---        ---        ---        ---        ----       ----       ----       -----      -----
------           ------     ----       ----       ---        ---        ---        ---        ----       -----      ----      

For a given student number, the information of the student has to be displayed.

  1. Develop a C++ class to generate employee information using the concepts of constructors and array of objects.  For a given employee number, the information regarding the employee has to be displayed.

  1. Design a C++ class to demonstrate different types of  constructors viz.,
    1. default constructors
    2. parameterized constructors
    3. overloaded constructors
    4. copy constructors
    5. dynamic constructors
  2. Design a C++ program to implement constructor overloading to calculate the
    1. area of triangle
    2. area of a rectangle
    3. area of a circle
    4. area of a sphere

  1. Design and develop a program in c++ to illustrate the following operations on strings
    1. finding the length of a string
    2. to copy the contents of one string to another string
    3. to concatenate two strings.
  2. Design and develop a program in C++ to illustrate operator overloading to perform the following operations on complex numbers:
    1. addition
    2. substraction
    3. multiplication
    4. division

  1. Design a C++ class to illustrate hierarchial inheritance taking an example of your own.
  2. Develop a program in c++ to illustrate the concept of multiple inheritance in preparing the marks statement of an university examination with the following items read  from the keyboard:
Name of the student
Roll number
Subject name
Subject code
Internal marks
External marks
The following methods have to be identified:
a.       display the menu options
b.      insert a new entry
c.       delete an entry
d.      display all the entries
e.       display the selected entry.

  1. For a given employee number the following has to be displayed
Eno, ename, HRA, DA, gross, ded, net has to be displayed.

  1. Design and develop a program in C++ to illustrate the concept of  virtual functions to draw various types of figures using graphical functions.

  1. Design a program in C++ to illustrate the concept of sequential access using files to implement student information.
for a given student number, the information regarding the student has to be displayed i.e., sno, sname,marks,total, avg, pass/fail.

  1. Design a program in C++ to illustrate the concept of random access using files to implement inventory control system.

  1. Design a program in C++ to perform various searching and sorting operations for an integer and float array.

  1. Design a program a program in C++ to illustrate the concept of files in
    1. creating a file
    2. updating a file
    3. deleting a file

  1. Design a C++ template to implement queue operations like insert, delete and displaying the contents of the queue.

  1. Design and develop a program in C++ to illustrate operator overloading to perform various mathematical operations on matrices.

No comments:

Post a Comment