0% found this document useful (0 votes)
69 views

NEP BCA I Sem Programming in C

Uploaded by

yshaknv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views

NEP BCA I Sem Programming in C

Uploaded by

yshaknv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Reg. No.

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

1. a) What is a C Token ? List the different types. (6x2=12)

b) What is initialization ? Why it is important ?


c) Write the syntax of simple if statement. Give an example.
d) What is the difference between = ofid == operators ?

e) What is a string ? How to declare a variable to hold string value in C ?


f) What do you mean by scale factor in pointer increment ?

g) What are actual and formal arguments ?

h) Differentiate structure and Union

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)

3. a) Explain the fundamental data types in 'C'.

b) Explain scanf$ function with its syntax and example. (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)

5. a) Explain implicit and explicit type conversion with example.


(6+6)
b) Explain for loop with syntax and example.

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)

You might also like