Semester : SEMESTER 3
Subject : Computer Programming
Year : 2017
Term : JULY
Scheme : 2015 Full Time
Course Code : EE 207
Page:1
E
Reg. No. Name:
B3E049S Pages: 2
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
THIRD SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017
Course Code: EE207
Course Name: COMPUTER PROGRAMMING (EE)
Max. Marks: 100 Duration: 3 Hours
PART A
Answer all Questions.
1. a, Compare between compiler and assembler. (3)
b. Mention any four keywords and their meaning. (2)
2. Illustrate the syntax of while statement with an example. (5)
3. Explain how to initialize a 1-D numeric array and character array with examples. (5)
4. a. Enumerate three advantages of using functions. (3)
b. Give the purpose of return statement. (2)
5. Compare structure and union. (5)
6. What are pointers? Why they are used? Illustrate with an example. (5)
7. Give the syntax of fopen and fscanf to read data from a file. Illustrate with an example.
(5)
8. Discuss on arithmetic operators in python.Give one example each. (5)
PART B
Answer any two questions.
9. a. Draw the flowchart and develop the algorithm for finding the area of a triangle by
reading three sides (5)
b. Explain the different datatypes in C. (5)
10. a. Discuss the break and continue statement in C with an example. (5)
b. Write a C program to find the sum of digits of an integer, entered through the
keyboard. (5)
11. 8. Explain the syntax of switch statement with example. (5)
b. Write a C program to find the sum of all even numbers between two limits. (5)
PART C
Answer any two questions.
12. What are functions? Explains the different types of functions in detail with an example
program for each type. (10)
Page 1 of 2