Exam Details

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


Question Paper

DISTANCE EDUCATION
M.Sc. (Software Engineering) Years Integrated) DEGREE
EXAMINATION, DECEMBER 2017.
LAB
Time Three hours Maximum 100 marks
Examiner should select and give ONE question to each
candidate by lot system.
1. Create a class employee that contains a employee
number, name and address. Write a program in
to get the number of employee details and
display all employee details in namewise sorted
order.
Write a program using polymorphism to calculate
the square of any two numbers of type int, float,
double and long.
2. Write a program to process students marks with the
help of classes. The class has private variables, for
name, mark mark 2 and mark 3. It has two
member functions getdata( to get input, result(
to print the result. All subjects marks must be
greater than or equal to 50 for pass, otherwise fail.
Create a four function (addition, subtraction,
multiplication and division) calculator using
Cut here
Sub. Code
26
DE-9858
2
ws
3. Write a program to find the different and total
length of given two various tubes specifies in meters
and centimeters using operator overloading concept.
Imagine a publishing company that markets both
books and audio-cassette versions of its works.
Create a class publication that stores the title and
price of a publication. From the class derive two
classes-book, which adds a page count and tape,
which adds a length count. Each classes have a
getdata( function to get its data from the keyboard
and a putdata( function to display its data. Write a
main( program to test the book and tape classes.
4. Write a program to concatenate two given
strings using dynamic constructors.
Write a menu driven program to add and
subtract two given matrices using operator
overloading.
5. Write a program to print the multiplication
table of a given number.
Create a class called TIME that has integer data
elements for hours, minutes and seconds. The
constructor should initialize these elements to
specified value, if given, otherwise to 0. A member
function should display it in 10 45 40 format.
DE-9858
3
ws
6. Write a function called power( that raising a
number n to power p. Use default argument of 2 for
so that if this argument is omitted. Write a
main( function that gets values from the user to
test this function.
Write a program to perform complex number
arithmetic operations using operator overloading.
————————


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