APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 3

Year : 2018

Term : APRIL

Scheme : 2015 Full Time

Course Code : EE 207

Page:1





PDF Text (Beta):

E E3843 Pages: 2

RegNo: ٤. . ः Name:

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
THIRD SEMESTER B.TECH DEGREE EXAMINATION, APRIL 2018
Course Code: EE207
Course Name: COMPUTER PROGRAMMING (EE)

Max. Marks: 100 Duration: 3 Hours
PARTA
Answer all questions, each carries 5 marks Marks
1 What are the advantages of High Level languages? How a high-level language is (5)
converted to Machine language?
2 With suitable example differentiate between while () and do....while () statements. (5)
3 Write a program to read an array of integers and search for the occurrence of a (5)
given value.
4 What is recursion? Write a recursive function to find factorial of a number (5)
5 Which arithmetic operations are possible with pointers? Illustrate with suitable (5)
example.
6 Define and explain a structure to store Roll no, Name, marks for three subjects ofa (5)
group of 25 students. Write a program to read the data and print the same as a table.
7 How is a file pointer declared? What are the different modes of opening a file? (5)
Explain with one simple example.
8 Differentiate between for and while loops in Python with examples. (5)
PART B

Answer any two full questions, each carries 10 marks

9 Write an algorithm and draw flow chart for finding the Average mark for one (10)
subject in a class of 50 students.
10 a) Which are the basic data types in C language? How much memory is allocated for (5)

each?
b) Write a program to swap two numbers without third variable. (5)
11 ஐ Find the reverse of a number using loop statement. (5)
b) Write a program to print first 10 numbers of Fibonacci series. (5)

PART C
Answer any two full questions, each carries 10 marks

12 a) What are the differences between Auto and Extern variables? Explain with (4)

example.
b) Write a program for multiplication of two matrices. (6)
13 a) Write a program to reverse a string without using string function. (4)
b) With suitable example, explain any three string manipulating functions in header (6)
file ‘string.h’.
14 a) Differentiate between ‘register’ and ‘static’ storage classes with examples. (3)

b) Write a program to prepare a rank list based on marks for five subjects, using three (7)
separate functions to read the marks, prepare rank list and print the same.

Page 1 of 2

Similar Question Papers