Exam Details
Subject | c++ laboratory | |
Paper | ||
Exam / Course | m.sc. information technology | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | May, 2016 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
M.Sc. DEGREE EXAMINATION, MAY 2016.
LABORATORY
(2002 onwards)
Time Three hours Maximum 100 marks
Examiner has to choose any ONE question.
Break-up of Mark:
Record 10
Algorithm 10
Program 50
Debugging 10
Execution 10
Result 10
Total 100
1. Write a program to find whether a given number is
Prime
Odd/Even.
2. Write a program to arrange a given set of number in
ascending order.
Cut here
Sub. Code
16
DE-9180
2
hp-ap1
3. Create a class called TIME that has integer data
elements for hours, minutes, seconds. The constructors
should initialize these data elements to specified value, if
given, and otherwise to 0. A member function should
display it, in 11:50:45 format. The final member function
should add two objects of type Time passed as arguments.
4. Using operator overloading, write a program to find
the different and total length of given two various tubes
specified in meters and centimeters.
5. Create a class Employee the contains a Employee
number, Employee name and address. Write a Menu
driven program to get the number of employee
details and display all details in employee name wise
sorted order.
6. Write a menu driven program to add and subtract
given two matrices of order m n defined in class, using
operator overloading.
7. Create a class called employee that contains a name and
an employee number include a member function called
getdata( from the user, another function called
putdata( to display data. Write a main( program to
exercise this class. It should create an array of type
employee and then invite the user to input data for n
employee.
Cut here
Cut here
Cut here
Cut here
DE-9180
3
hp-ap1
8. Write a program that reads a group of numbers for the
user and places them in array of type float. Once the
numbers are sorted in the array, the program should
average them and print the result. Use Pointer notation
whenever possible.
9. Create a class for a stock item abstract data type. It
should have the attributes of stock levels (an integer) and
unit price float). Define the methods to return the
values of these two attributes and to set them using
parameters. Add two more methods to allow stock
receipts and issues updating the stock level as
appropriate. Write a menu driven program to solve
the problem.
10. Write a function to create a four functions calculator.
M.Sc. DEGREE EXAMINATION, MAY 2016.
LABORATORY
(2002 onwards)
Time Three hours Maximum 100 marks
Examiner has to choose any ONE question.
Break-up of Mark:
Record 10
Algorithm 10
Program 50
Debugging 10
Execution 10
Result 10
Total 100
1. Write a program to find whether a given number is
Prime
Odd/Even.
2. Write a program to arrange a given set of number in
ascending order.
Cut here
Sub. Code
16
DE-9180
2
hp-ap1
3. Create a class called TIME that has integer data
elements for hours, minutes, seconds. The constructors
should initialize these data elements to specified value, if
given, and otherwise to 0. A member function should
display it, in 11:50:45 format. The final member function
should add two objects of type Time passed as arguments.
4. Using operator overloading, write a program to find
the different and total length of given two various tubes
specified in meters and centimeters.
5. Create a class Employee the contains a Employee
number, Employee name and address. Write a Menu
driven program to get the number of employee
details and display all details in employee name wise
sorted order.
6. Write a menu driven program to add and subtract
given two matrices of order m n defined in class, using
operator overloading.
7. Create a class called employee that contains a name and
an employee number include a member function called
getdata( from the user, another function called
putdata( to display data. Write a main( program to
exercise this class. It should create an array of type
employee and then invite the user to input data for n
employee.
Cut here
Cut here
Cut here
Cut here
DE-9180
3
hp-ap1
8. Write a program that reads a group of numbers for the
user and places them in array of type float. Once the
numbers are sorted in the array, the program should
average them and print the result. Use Pointer notation
whenever possible.
9. Create a class for a stock item abstract data type. It
should have the attributes of stock levels (an integer) and
unit price float). Define the methods to return the
values of these two attributes and to set them using
parameters. Add two more methods to allow stock
receipts and issues updating the stock level as
appropriate. Write a menu driven program to solve
the problem.
10. Write a function to create a four functions calculator.
Other Question Papers
Subjects
- c++ laboratory
- computer networks
- data structures – laboratory
- data structures and algorithms
- internet programming – laboratory
- internet programming and web design
- multimedia applications
- object oriented dbms
- object oriented programming and c++
- operating systems
- principles of information technology
- software engineering
- visual programming
- visual programming – laboratory