Semester : SEMESTER 3
Subject : Computer Programming
Year : 2020
Term : SEPTEMBER
Scheme : 2015 Full Time
Course Code : EE 207
Page:1
Reg No.:
Max. Marks: 100
00000EE207121903
Pages: 2
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Third semester B.Tech degree examinations (S) September 2020
Course Code: EE207
Course Name: COMPUTER PROGRAMMING
PARTA
Answer all questions, each carries 5 marks.
How does x++ differ from ++x? Explain with suitable example.
Explain go to and label statements with an example.
Write a C program to find length of a string without using string handling
function.
Discuss the auto and static storage class with example.
Explain following terms associated with pointer (i) Chain of pointers (ii) Pointer
expression (iii) Scale factor.
Write 8 ( program to find the largest element in array using pointer.
Distinguish between following functions (i) getc and getchar (ii)printf and
fprintf (iii)feof and ferror
Explain the following control statements in python. (i) for loop (ii) if elif else.
Also write their syntax.
PART تا
Answer any two full questions, each carries 10 marks.
List the different operators in C. Discuss about conditional operator.
Draw a flow chart to check given number is palindrome or not.
Railway Department Charges are given below:
Distance(kms) கை Rate/km
Upto 30 Rs. 5/-
31-50 Rs. 8.25/-
>50 Rs. 10/-
Senior citizens (age>=60) are given a concession of 30% on the fare. Write a
program to print the details of a passenger’s name, age, distance traveled and
the ticket fare.
Page 1 of 2
Duration: 3 Hours
Marks
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(5)
(6)