BCA (Sem. - 1 ) Programming in 'C'' Subject Code: Bc-1O4 Paper ID: (BO20a)
BCA (Sem. - 1 ) Programming in 'C'' Subject Code: Bc-1O4 Paper ID: (BO20a)
w vw'altsuws^You'com
BCA (Sem. - 1*) PROGRAMMING IN 'C'' SUBJECT CODE : BC-1o4 Paper ID : [BO20a]
[Note: Please fill subject code and paper ID on OMR]
Time : 03 Hours
Instructionto Candidates: - A is Compulsory. 1) Section 2) - B. Attemptany Four questions from Section Section - A (10x2=20) gI) a) What areC tokens? Explainits use. b) Defineswitchstatement. c) Whatareformatted VOfunctions in C Language? Explainwith example. d) What arevariousoperations on pointers? Explainwith examples. e) What areuserdefineddatatypes? How it is differentfrom array? D lVhat is structure? g) What is recursion? Explainwith example. h) What is file? How will you openandclosea file in C language? i) j) What is function?Explain different typesof functions. Write a programiq^uC Languageto check whethera given string is palindromeor not?
R-|87
P,TO.
I s;.iiorr,_,',, (4xlo=4o)
available in Explainvariousoperators andoperators? Q2) What areexpression of eachoperator? Give example C language. a 4 digit number. to reverse 83) (a) Write a programin C language of given matrix. to find the transpose (b) Write a programin C language between Explain the difference Q4) (a) What are variouslooping statements? while and do while loop by taking an example. Explain. (b) What arejumping control statement? QS) Write a noteon : (a) Identifier (b) Functionprototyping (c) SymbolicConstants (d) Storage Classes -
to sort an affay using Q6) What is sorting?Write a programin C language Bubblesort. How it is different from union? Write a program to Q7) What is structure? andunion. the conceptof structure demonstrate
nntr
wwur.allsubiects4you.com
R-|87