You are on page 1of 2

Roll No. ......................

Total No. of Questions : 13] [Total No. of Pages : 02

J-3547[S-1403] [2037]
B.Sc.(CST) (Semester - 1st)
PROGRAMMING IN C (B.Sc.(CST)-104)

Time : 03 Hours Maximum Marks : 75

Instruction to Candidates:
1) Section - A is compulsory.
2) Attempt any Nine questions from Section - B.

Section - A
Q1) (15 x 2 = 30)
a) How many relational and logical operator are available in C?
b) What do understand by the term data type?
c) Explain the break statement and what is the use of it?
d) Explain continue statement and go to statement?
e) Define the difference between nested if and switch structure?
f) Explain the concept of pass by reference?
g) Define the difference between static variable and automatic variable?
h) Explain the array initialization?
i) How the data elements of a structure are accessed?
j) Explain the anonymous union?
k) Write the syntax of a structure?
l) Explain the header file and why this is needed?
m) How we can read and write the string in C?
n) Explain the different I/O operations on file?
o) Write the syntax to declare a function?

P.T.O.
Section - B
(9 x 5 = 45)
Q2) What is the inline function explain with example?

Q3) How the two-dimensional array pass to a function?

Q4) Explain the relation between array and pointer?

Q5) Implement stack in C by using array?

Q6) Explain the different file mode?

Q7) How we can open and close a file in C?

Q8) Explain the use of ternary operator?

Q9) Explain the hierarchy of operators?

Q10)Write a program which initialize a structure and then copy that to another?

Q11)Write a program that creates one-dimensional array dynamically?

Q12)Explain the different types of qualifiers used with basic data types?

Q13)Explain the string handling function?

ÑÑÑ

J-3547[S-1403] 2