Roll No. ......................
Total No. of Questions : 07] [Total No. of Pages : 01
BCA (Sem. – 1st)
PROGRAMMING IN C
SUBJECT CODE : BSBC – 102 (2K11)
Paper ID : [B1109]
Time : 03 Hours Maximum Marks : 60
Instruction to Candidates:
1) Section - A is Compulsory.
ity
2) Attempt any Four questions from Section - B.
Section - A
Q1) (10 × 2 = 20)
rs
a) What is the syntax of nested if statement?
e
b) What are Local and global variables?
c) What is a conditional operator in C.
om iv
d) What is a scope of any variable?
om
n
e) What is the structure of a C program?
r.c
f) What are the logical operators available in C?
U
g) What is a pointer?
e
h) What is format specifier?
al
p
i) How structure is represented?
pa
j) What is a conditional statement?
ic
.c
n
r
Section – B
er
.b
(4 × 10 = 40)
Q2) What are the various Control Structures available in C? Explain with
ap
w
example.
e
w
Q3) Explain the syntax of following in C.
rp
T
w
(a) Union Statement.
.b
(b) Switch statement.
ab
Q4) (a) Write a program to find the difference of two matrix.
w
(b) How are two dimensional arrays are accessed using pointers.
w
Q5) (a) What are the various file opening statements available in C?
nj
w
(b) What are the various types of operators available in C language?
Pu
Q6) (a) What are the steps in the design of a program. What is the structure of
a C program.
(b) Draw flow chart to find the largest and smallest of three numbers.
Q7) What are the methods through which the parameters are passed to a
function in C language? How do they make a difference?
⌧⌧⌧⌧
J - 464 1