Semester : SEMESTER 3
Subject : Computer Programming
Year : 2022
Term : JANUARY
Scheme : 2015 Full Time
Course Code : EE 207
Page:1
Reg No.:
Max. Marks: 100
ॐ ~ ॐ ~
2)
b)
00000EE207121904 Pages: 2
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Third Semester B.Tech Degree (S,FE) Examination January 2022 (2015 Scheme)
Course Code: EE207
Course Name: COMPUTER PROGRAMMING
PARTA
Answer all questions, each carries 5 marks.
Differentiate between high level, low level and assembly languages.
Write the output of the program:
main( )
{
int a=15,b=10,c,d,i;
for (i=0;1<5;i++)
{
c=++a-b;
d=++b + a++;
printf(““c=%d,d=“%d\n’’,c,d);
|]
How a two dimensional array is initialized. Also explain how to initialize a
string variable with example.
With suitable example, explain the following terms: i) Function definition ii)
Function prototype iii) Function call iv) Formal Argument v) Actual Argument
Discuss the differences and similarities between structure and union.
What are pointers? Why they are used? Illustrate with example.
Explain pute and getc functions using example. Write its syntax also.
What are the standard data types in Python? Explain any three.
PART B
Answer any two full questions, each carries 10 marks.
What are the different data types in C? Explain two user defined data types.
Given the three sides of triangle. Write algorithm and flow chart to check
whether it is an isosceles triangle.
Page 1 of 2
Duration: 3 Hours
Marks
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)