APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 3

Year : 2017

Term : DECEMBER

Scheme : 2015 Full Time

Course Code : EE 207

Page:1





PDF Text (Beta):

E E7254

Total Pages: 2
Reg No.: Name:

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

Max. Marks: 100 Duration: 3 Hours
PART A
Answer all questions, each carries 5 marks. Marks
1 Differentiate between machine language, assembly language and high level (5)
languages? What is the difference between compiler and assembler?
2 Write a C program to find the LCM and HCF of any two numbers entered by (5)
user,
3 Write a C program to reverse a string. (5)
4 What are the 4 basic storage classes in C? (5)
5 Differentiate between structure and union. (5)
6 Write a C program to add two variables using pointers. (5)
7 Explain how a new file is opened. What are the 3 modes while opening an (5)
existing file.
8 Write a Python program to reverse a given integer. (5)
PART B
Answer any two full questions, each carries 10 marks.
9 2) Explain any five kinds of operators in 6. (5)
b) Draw a flowchart to find the sum of digits of an integer. (5)
10 a) Ifmore than one kind of operator is present in an expression, explain the order of (5)
precedence.

b) Write a C program to print the prime numbers between 101 and 500. Those (5)
numbers whose sum of digits is 5 need not be printed. Use ‘while’ loop in the

program

11 ஐ Explain ‘switch’ and ‘go to’ statements in C with the help of examples (5)
b) Write ೩ ಲೆ program to print the following pattern using ‘for’ loop (5)

भै

* %

मैः मंद ೫%

भैः OK ೫ ೫

मैः ೫ ೫% मंद ೫%

PART C
Answer any two full questions, each carries 10 marks.
12 a) Explain how a3 dimensional array is declared and initialised. How is a character (5)
array different from a string
b) Write ೩ ಲೆ program 10 count the number of characters, words and lines in a text (5)
13 a) Write aC program to find the product of two matrices (5)

Page 1 of 2

Similar Question Papers