You are on page 1of 1

ASSIGNMENT

DRIVE SPRING 2017


PROGRAM Bachelor of Science in Information Technology - B.SC(IT)
SEMESTER I
SUBJECT CODE & NAME BIT104 Principles of C programming
BK ID B2074
NUMBER OF ASSIGNMENTS, CREDITS & 2, 4 Credits, 30 marks each
MARKS

Note The Assignment is divided into 2 sets. You have to answer all questions in both sets and submit as
one document. Average of both assignments marks scored by you will be considered as your IA marks.
Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is
followed by evaluation scheme.

Assignment Set -1 Total


Q.No
Questions Marks
1 What is the basic structure of C Program? 10
2 Explain different type of Arithmetic Operators in C. 10
3 Distinguish between pass by value and pass by reference with the help of an 5+5
example.

Assignment Set -2 Total


Q.No
Questions Marks
1 a) Write a program to print the largest of three numbers. 5+5
b) Write a program to find the factorial of a number.
2 Define macro. How we can declare a macro statement? Explain with an example. [3+2+5]
3 Explain different functions in C to handle Error during I/O operations. 10

You might also like