Semester : SEMESTER 3
Subject : Computer Programming
Year : 2019
Term : MAY
Scheme : 2015 Full Time
Course Code : EE 207
Page:2
14
15
16
17
a)
b)
a)
b)
a)
b)
a)
b)
C1156 Pages 2
What are the advantages of functions? Explain how it is implemented in C Language.
Write a C program to prepare a rank list based on marks for five subjects, using three
separate functions to read the marks, prepare rank list and print the same.
PART 0
Answer any two full questions, each carries 10 marks.
Differentiate between ‘&’ operator and +" operator in C with help of a suitable
example.
Write a C program to sort an array of integers using pointers.
Write a C program to accept a string using pointers and print the third character of the
same.
Write ೩ C program to read and write 10 integers to a file number. txt, open the file and
copy the odd numbers to odd. txt and even numbers to ۸۷ا .۷۶ہ
Write a Python program to print the sum and product of two real numbers.
Write a Python program to concatenate two strings.
332123
Page 2 of 2
(4)
(6)
(3)
(7)
(3)
(7)
(5)
(5)