APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 6

Year : 2019

Term : DECEMBER

Scheme : 2015 Full Time

Course Code : CE 306

Page:1





PDF Text (Beta):

6

Reg No.:_ Name:

F192047 Pages:2

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY

SIXTH SEMESTER B.TECH DEGREE EXAMINATION(S), DECEMBER 2019

Course Code: CE306

Course Name: COMPUTER PROGRAMMING AND COMPUTATIONAL TECHNIQUES

Max. Marks: 100

1 ஐ
b)
2 a)
b)
3 a)
b)
4 ஐ
b)
5 ஐ
b)
6 a)
b)

PARTA
Answer any two full questions, each carries 15 marks.

Explain the use of switch statement in C++ with suitable example.
Write a C++ program to sort an array of integers in ascending order using
selection sorting concept.
Explain in detail the three looping statements used in C++, with example for
each.
Write a C++ program to read a single word as a string and count the number of
characters without using string function.
Differentiate between input stream & output stream. Explain any two stream
functions used for console I/O operation.
Write a program to read a one dimensional array of integers and print the odd &
even numbers separately.

PART 13

Answer any two full questions, each carries 15 marks.

What are the key features of an object oriented programming? Explain any two
features in detail.
Write a program to read an array from the user, pass it to a user defined function
and print the even numbers present in it.
Explain various storage classes used in C++.
Explain the concept of file. Explain the file input and output streams (any three)
commonly used in C++?
What is recursion? Explain with an example.
Write a C++ program to define a structure to store the student roll number, and
the marks obtained in 6 subjects and display each roll number & Total mark of
corresponding student. Accept the number of students, roll number and the marks

from the user.

Page 1 of 2

Duration: 3 Hours

Marks

(5)

(10)

(10)

(5)

(7)

(8)

(5)

(10)

(8)
(7)

(5)
(10)

Similar Question Papers