APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 5

Year : 2020

Term : DECEMBER

Scheme : 2015 Full Time

Course Code : CH 307

Page:2





PDF Text (Beta):

a)
b)

a)

b)

00000CH307121902

List out and explain the purpose of any 6 file modes in C++.

Differentiate between virtual and pure virtual functions. Give the syntax of each.
A sales manager of a firm is finding it difficult to maintain the sales register of
their multiple products. Assume you have joined there as a trainee and was asked
to help him. Develop a C++ program to get the product name, annual sale and
unit price of products from the user and store these details in a file “‘sales.dat’.
Also read and display the data from the file.

A class of students is to be defined with name, roll number and CGPA as data
members and functions to collect and display these data members. An object of
this class is to be defined. Use a pointer pointing to this object to call the member
functions. Develop a C++ program to implement this. Also give the change in
syntax if the member functions are called by the object instead of pointer.

Define command line arguments. Give the syntax.

Page 2 of 2

(12)
(5)
(15)

(15)

(5)

Similar Question Papers