NEP BCA I Sem Programming in C
NEP BCA I Sem Programming in C
I illlil llll ilil lill illl tfltflilt il flffi tilt tilt illl BCACACN 1A2
First Semester B.C.A. Degree Examination, Dec. 2023lJan.2024
(N EP-202q eO21 -2A22 Batch Onwards)
PROGRAMMING IN C
(DSCC)
Time : 2 Hours Max. Marks : 60
Note : Answer any six questions from Part - A and one full
question from each Unit of Part - B.
PART - A
PART -B
Unit -I
2. a) Explain the structure of 'C'program with example.
b) Explain with example #define statement in 'C'. List the rules to be applied. (6+6)
P.T.O.
,d. Jcji,\,-
;.:"\Z -\+i'
iJ[,oooorT]
BCACACN 102 tU-CZ I ffi til fl ] lllfi lllll lllll lllll llllll lll lllll lllll llll llll
unit-,
4. a) List and explain logical and relational operators available in C'
b) Explain nested if statement with an example. (6+6)
Unit - lll
6. a) What is a pointer ? Explain how to declare and initialize pointer with an
example.
b) Write a program to sort elements of an integer array. (6+6)
T. a) How do you declare and initialize two dimensional affay ? Explain with
example.
b) List and explain any {our-character handling functions available in C' (6+6)
Unit - lV
8. a) Explain function declaration and function call with example.
b) What is union ? Explain with syntax and example how to define union. (6+6)
9. a) Write a note on :
i) Nesting of functions
ii) Recursive functions.
b) Explain with example defining a structure, declaring structure variable and
accessing structure members. (6+6)