Semester : SEMESTER 3
Subject : Computer Programming
Year : 2020
Term : DECEMBER
Scheme : 2015 Full Time
Course Code : EE 207
Page:1
Reg No.:
Max. Marks: 100
ಲ ~ +> ~
10
11
2)
0)
a)
b)
00000EE207121902
Pages: 2
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Third Semester B.Tech Degree (S,FE) Examination December 2020 (2015 Scheme)
Course Code: EE207
Course Name: COMPUTER PROGRAMMING
PARTA
Answer all questions, each carries 5 marks.
Differentiate between compilers, interpreters and assemblers.
With suitable example differentiate between while ( ) and do....while ( )
statements.
What is an array? How can a two dimensional array be declared and initialized?
Explain recursion in C with an example.
What is union? How is it different from structure?
What are Pointer Expressions, Pointer Increments and Scale Factor? Illustrate
with example.
What are various file handling functions in C?
Write a Python program to find factorial of a given integer.
PART B
Answer any two full questions, each carries 10 marks.
Compare unary, binary and ternary operators in C.
Draw a flow chart to input a character and check whether it is a vowel.
Write a C program to find the solution of a quadratic equation using ‘Switch’
statement.
Write a C program to print Pascal’s triangle having ‘n’ rows.
1
121
13 31
14641
Distinguish between high level language, assembly language and machine
language.
Page 1 of 2
Duration: 3 Hours
Marks
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)