bca1 pic
TRANSCRIPT
Roll No' vw'altsuws^You'com
Totnl No. of Questions : 071 w [Total No. of pagrs :02
BCA (Sem. - 1*)PROGRAMMING IN 'C''
SUBJECT CODE : BC-1o4Paper ID : [BO20a]
[Note: Please fill subject code and paper ID on OMR]
Time : 03 Hours l^vL''n*' aLt'xcp7cc64,7at-Q'tu7v't
Maximum Marks : 60VV
Instruction to Candidates:
1) Section - A is Compulsory.
2) Attempt any Four questions from Section - B.
Section - A
gI) (10x2=20)
a) What are C tokens?
b) Define switch statement. Explain its use.
c) What are formatted VO functions in C Language? Explain with example.
d) What are various operations on pointers? Explain with examples.
e) What are user defined data types?
D lVhat is structure? How it is different from array?
g) What is recursion? Explain with example.
h) What is file? How will you open and close a file in C language?
i) What is function? Explain different types of functions.
j) Write a program iq^uC Language to check whether a given string ispalindrome or not?
R-|87 P,TO.
I s; . i iorr,_, ' , ,
(4xlo=4o)
Q2) What are expression and operators? Explain various operators available inC language. Give example of each operator?
83) (a) Write a program in C language to reverse a 4 digit number.
(b) Write a program in C language to find the transpose of given matrix.
Q4) (a) What are various looping statements? Explain the difference betweenwhile and do while loop by taking an example.
(b) What are jumping control statement? Explain.
QS) Write a note on :
(a) Identifier
(b) Function prototyping
(c) Symbolic Constants
(d) Storage Classes -
Q6) What is sorting? Write a program in C language to sort an affay usingBubble sort.
Q7) What is structure? How it is different from union? Write a program todemonstrate the concept of structure and union.
nntr
wwur.allsubiects4you.com
2R-|87