2204 PRC 16

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

(2204PRC16)

TJiREE YEAR RCom.S(CA).IB.S.C.S.lRAS.(CBCS) DEGREE EXAMINATION, APRIL 2017


. 'SECOND SEMESTER"

Part II - Computer Applications

PROGRAMMING IN'C'

(Common to. B ..A.SJB.S.C.S./B.Com.S)


Time: 3 Hours " Max. Marks: 75 "
SECTION-A"
~(tS" - 0)

Answer any FIVE of the following questions.


"~oa;r>e3OS!)~:l) e9().)jc:5.> ~e>~ ~~~Qa..
(Marks :.5 x 5 marks =25 marks)

1. Write the structure of the 'C'program."


."'C'~oQb.)~"~~~;fu~oa..

2. . .Define the following terms with examples:

19oa ~aCfO;;.r;~E'()e>O' :l)~.s.o~a.:

(a) KeyWordS

~~
~ (b) Identifiers
t'
f
f 7il~~3?0J'
~
I,
3. " Write the syntax and example for formatted input and output statements.
~. Formatted input fu8dfu output statements Qh)~o-:'ot:Jo§.J ~ .CfO;;Ju~~ ~oa..
F
~"

,4. Explain break and continue statements in 'e' language;

'9' language ,g IP§ ;')')8dh:> ~oe3~~~~o~ :>j8~oa..

f,

5. Write a brief note on conditional operator.

Conditional operator 1U80.0 ~~OTT"~oa..

6. D~fine a function. What is a function prototype?

~o~~:'TT""£':>J? ~~ ~~!);fu ~oa...

"[P.T.O]
7. . What is an Array? Write the syntax fOl'deciaring an Array.

Array 6~rt"~.ru? Array ~ C!.Se ~di>CO":og ~o~ EJ"dS.>oa.

" ...
.
8. List any fiye character functions.
!;)~;l e().l){SJ ~~, ~o~~~.

I
. 9. Define a pointer. What are the uses of pointers? .
~oe.>e 6~7l"~?~oe.>eJ ~ ~i1"eQ) ~.

f ,
10. Compare structures and unions.

Structures ~6dfu unions e>~ cf)IIe>.)~.

SECTION-B ..
~a:cS' -'(0

Answe:r: any FIVE' of the following.


. Each question carries 10 marks.
l~oa ~ !)~ eo.:ulS.>. GS~e>!b ~~ EJ"dS.>oa.

l~ ~ 10 ~ue.u·

(Marks: 5 x 10 marks = 50 marks)

11. Explain different data types in 'C' language.


t
i
'C' e:J"OnSmit KtJ '.:l:lt:»' CotJ> ~~~oa.
f 12. ' Explain different operators present in 'C' languge.
~
f 'C' iooonsmtS Ke>. :l~'6soe> ~ ~60~:m.
f
1
13. Explain different conditional branching statements in 'C' language.

'C'. e:J"OnSmit Ke> :':It:>> conditional branc~ statements ~ ~~~.

14. Write a program to find the factorial of a number using for loop.

Factorial of a number ~ aJ"~ ~RoO ~.

15. Explain different categories of functions in 'C' language.

'C' e:J"On#it Ke> :l:lt:» ~e> ~o~ ~ .~~.

16. Write a detailed note on storage classes.

Storage classes ~ K>600 :l:5OOi1" ~.

, 17. Write a program to find the product of two matrices.

,Product oftwo matrices lP\noocfu ~.

" (22Q4PRG16)
'.2
18. Explain any four string handling functions With example.
, 'C' eJ"07\<;~ ~o(i) !)~ ~I\) 'string handling ~O~f!)~ :>;t)80~.

19. Write a note on :passing arguments to functions using pointers.


~O~f!)~ o7oo.>..>otl5J ~ 6~~oe5"~ ..)eJ" ~o~ :>:t>8~oa. '

20. What is a structure? Explain array gf structures with an example.


Structure e~1f>"£>~? Array ~f structures ~:;y.6f'<)es :>:t>6ot>6&..

r'

, (2204PRC16)
3

.. "

-i
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner
Scanned by CamScanner

You might also like