Exam Details

Subject c++ lab
Paper
Exam / Course m.sc. (software engineering)
Department
Organization Alagappa University Distance Education
Position
Exam Date May, 2016
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
M.Sc. Years Integrated) DEGREE EXAMINATION,
MAY 2016.
LAB
Time Three hours Maximum 100 marks
Examiner should select and give ONE question to each
candidate by lot system.
1. Write a program using operator overloading to
find the different and total length of given two
various tubes specifies in meters and centimetres.
Using pointers create a class and write a program to
get names and display them in sorted order.
2. Write a program using polymorphism to calculate
the square of any two numbers of type int, float,
double and long.
Write a program using pointers to get a given
number of names and display them in ascending
order.
3. Assume you want to generate a table of multiple of
any number. Write a program that allows the user
to enter the number and then generate the table,
formatting it into ten columns and 20 lines.
Declare student name and marks (mark marks
and mark as private variables in a class. Create a
function, named get 'data to get input and create
another function, named result to print the
results. Students shall obtain a minimum of 50
marks to pass. Other wise they fail.
Cut here
Cut here
Sub. Code
26
DE-9212
Ws11
2
4. Write a program to process students mark with the
help of classes. All subjects mark must be greater
50 for pass otherwise fail.
Create a class employee that contains an 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.
5. Write a program to add 2 complex numbers using
operator overloading.
Write a program to Count the number of
alphabets, number, special characters, spaces and
words in a given line of text.
6. Write a program which uses an array of pointers to
objects and sort then in the alphabetical sequence.
Develop a program to illustrate a copy constructor
so that a string may be duplicated into another
variable either by assignment or copying.
7. Write a program using dynamic constructors to
concatenate two strings.
Write a program to find the volume of physical
structure (cube, cylinder, rectangular box) using
function overloading.
Cut here
Cut here
Cut here
DE-9212
Ws11
3
8. Write a menu driven program using operator
overloading to add and subtract two given matrices.
Define the matrices in a class.
Write a program in to display the elder among
3 persons using pointer.


Subjects

  • c programming – lab
  • c++ lab
  • case tools lab
  • computer graphics and multimedia
  • computer networks
  • cryptography and network security
  • data structures lab
  • data ware housing and mining
  • distributed computing
  • internet and java - lab
  • internet and java programming
  • mobile communications
  • object oriented programming and c++
  • open source architecture
  • open source lab
  • operating systems
  • relational database management system
  • relational database management systems –lab
  • software engineering
  • software project management and metrics
  • software quality assurance and standards
  • software testing and reuse
  • unix and shell programming
  • visual basic and vc++ lab
  • visual programming
  • web technology
  • web technology — lab