APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 5

Year : 2020

Term : SEPTEMBER

Scheme : 2015 Full Time

Course Code : CH 307

Page:2





PDF Text (Beta):

a)

b)

a)

b)

a)

b)

0)

a)

b)

00000CH307121903

Write a C++ program to store and display integer values collected from the user
in an array of user defined size.

Use a C++ program to implement Multilevel Inheritance using three classes,
Student, Test and Result where Test is inherited from students and Result is
inherited from Test. Create objects of all the three classes.

PART C
Answer any two full questions, each carries 20 marks.
Write a C++ program to dynamically allocate a float type array using ‘new’

operator and remove the allocated memory using ‘delete operator’.

Define a class of your choice with private data members and public member
functions. Use pointers to point to the objects of the class and access the
members.

Explain the various Stream classes for file operation.

Write a C++ program to get employee id and salary of an Employee of a Water
Treatment Chemical Company from the user and store these details into a file
called ‘employee.dat’. Also read the details from the file and display the data.
Explain the concept of polymorphism in C++.

Explain the concept of Virtual and Pure Virtual Functions with the help of
examples.

Give an example code to illustrate how a base class pointer can be used to call a

function in a derived class.

(5)

(10)

(10)

(10)

(5)
(10)

(5)
(10)

(10)

Similar Question Papers