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

Programing in C

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Programing in C

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

" No.

of Printed Pages : 2
46141
I IIIII IIIII IIIII Il 1 1111111111111 100933
BCA I Semeste� (NEP) Degree Examination, March/ April - 2022
COMPUTER SCIENCE
Programming in C
Time : 3 Hours Maximum Marks : 60

Instruction : Answer all the Sections.

SECTION· A

1. Answer all the questions. Each question carries 1 mark. lOxl=lO


( a) Who developed C-language ?
(b) Define Variable.
(c) Write the symbol for Logical AND Operator.
(d) Mention. arty two jump controls.
( e) What is String ?
(f) Write memory. representation of one dimensional array.
(g) Define Pointer.
(h) What is user defined function ?
(i) Which Operator is used to access structure variable or member ?
(j) What is the use of Union ?

SECTION· B

Answer any 4 questions. Each question carries 5 marks. 4x5=20


2. Explain various fundamental datatypes available in C ?

3. Write a C-program to calculate simple and compound interest.

4. With syntax and �xample explain declaration of one dimensional array.

5. Write advantages of user defined functions.

6. Describe general syntax and example of structure in C.

7. Differentiate between while and do-while looping.

I l l l lllll l l l1111 1 11111 11111111 P.T.O.


46141 2

SECTION - C
Answer any 3 questions. Each question carries 10 marks. 3x10=30
8. Explain structure 'of a C program with example.

9. ( a) Write a C program to find biggest of three numbers.


(b) Explain relational operators with example.

10. Explain various string handling functions available in C language.

11. What is the purpose of Pointer ? Explain how to declare, initialize and access a
pointer variable.

12. Differentiate Structure and Union.

-0 0 0

I 11111 11111 1111111111 1111111111111

You might also like