Semester : SEMESTER 3
Subject : Computer Programming
Year : 2018
Term : APRIL
Scheme : 2015 Full Time
Course Code : EE 207
Page:2
15
16
17
b)
a)
b)
E3843 Pages: 2
PART D
Answer any two full questions, each carries 10 marks
With an example each, state the differences between structure and union.
Write a C program using pointers to sort an array of integers by calling a function.
Distinguish between address stored in the pointer and value in that address. How
does one pointer point to another pointer? Explain with examples.
Write a C program to store Roll No, Name and Marks for five subjects of class of
50 students to a file named “‘Student_data’’. Based on the data read from this file,
prepare a rank list and write into another file “Rank _ list”.
Enumerate any three major differences between C and Python.
Write a program to add and subtract two matrices using Python.
111,
Page 2 of 2
(4)
(6)
(3)
(7)
(3)
(7)