Bca 104
Bca 104
Bca 104
Instruction to Candidates:
1) Section - A is compulsory.
2) Attempt any Nine questions from Section - B.
Section - A
Q1) (15 x 2 = 30)
a) What is the Working principle of prefix operators? Give example.
b) What is the significance of gets function?
c) What are library functions?
d) What are symbolic constants? Give examples.
e) What are the naming rules of identifier?
f) Differentiate between for and while loop.
g) What are the advantages of user-defined functions?
h) What are storage classes?
i) What is dynamic memory allocation?
j) List the applications of pointers in C.
k) What are the conditions to perform recursion?
1) Differentiate between structures and unions.
m) What are the advantages of data file over other data types?
n) What are the advantages of structures?
o) How is binary search different from linear search?
P.T.O.
Section - B
(9 x 5 = 45)
Q2) Explain basic data types available in C with the help of example.
Q3) Discuss the various operators available in C with the help of example.
Q4) Write a program to swap two integer numbers without using the temporary
variable.
Q7) Explain the difference between break and continue statements with
example(s).
Q8) Write a program to find the sum of digits of an integer number entered by
the user.
Q9) Explain with example relationship between single dimensional array and
pointers.
Q12)Write a program to create a file and display its contents. Assume suitable
data.
J-3167[S-1023] 2