Semester : SEMESTER 4
Subject : Computer Programming
Year : 2017
Term : JUNE
Branch : AUTOMOBILE ENGINEERING
Scheme : 2015 Full Time
Course Code : AU 208
Page:1
E
Reg. No. Name:
B4E516 Pages: 2
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FOURTH SEMESTER B.TECH DEGREE EXAMINATION, JUNE 2017
Course Code: AU 208
Course Name: COMPUTER PROGRAMMING (AU)
Max. Marks: 100 Duration: 3 Hours
11.
PART ^
Answer any three questions.
a. Explain high level language, assembly language and machine language. (6)
b. Differentiate between compiler and assembler. (4)
a. Discuss the role of C language in developing an ECU software. (5)
b. Explain how a program written in high level language is burned into the
EEPROM of a microcontroller. (5)
Explain the arithmetic, relational, logical, assignment and bitwise operators in C
language. (10)
Write a program in C to find the sum of digits of a number. (10)
PART B
Answer any three questions.
Explain any five string handling functions with examples. (10)
Write a program in C to add two matrices. (10)
Explain the difference between call by value and call by reference using suitable
examples. (10)
Write a program in C to print the Fibonacci series up to a limit using recursive
function. (10)
PART C
Answer any four questions.
. a. What is a pointer? Explain how a pointer variable is used in ೩ C program. (6)
b. What is pointer to a pointer? (4)
. Write a ಲೆ program to calculate the average of 7 numbers in an array by accessing the
elements in the array using pointer. (10)
a. Differentiate between stack and heap. (5)
Page 1 of 2