APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 6

Year : 2019

Term : MAY

Scheme : 2015 Full Time

Course Code : CE 306

Page:1





PDF Text (Beta):

Cc F1053 Pages: 2

Reg No.:_ Name:

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
SIXTH SEMESTER B.TECH DEGREE EXAMINATION(R&S), MAY 2019

Course Code: CE306
Course Name: COMPUTER PROGRAMMING AND COMPUTATIONAL

TECHNIQUES
Max. Marks: 100 Duration: 3 Hours
PARTA
Answer any two full questions, each carries 15 marks. Marks
1 ച Write short notes on usage of Preprocessor directives in C++ (4)
b) What are manipulators in C++. Explain with suitable examples. (4)
c) Write a program to accept the height of a person in centimetres and convert and (7)
display the height in feet and inches
2 9) Explain in detail the use of break and continue statements in C++ with suitable (7)
examples.
b) Write a program to read a 2D array of size m x n and prepare a | D array that (8)
will store all the elements of the 2D array as if they were stored in the row major
form.
1 2 9
Sample: if the 2 Darray 15 |4 5 6 | the 1 D array having the elements of 2D
7 8 9

array inrow majorformis[1 2 3 4 5 67 8 9]

3 ஐ Explain any four string handling functions. (8)

b) Write a program to check whether a given character is a vowel, using switch (7)

statement.
PART ந
Answer any two full questions, each carries 15 marks.
4 9) Explain the call by value and call by reference methods of function invoking. (5)

b) Write a program using functions to find the largest and smallest number ina 2D_ (19)
array. Note: The function should accept the 2D array from the main function and
return the maximum and minimum number.
5 ച Write and explain the general form of a structure definition, declaration & (7)

initialisation with proper examples.

Page 1 of 2

Similar Question Papers