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

15-Programming-Concepts-Using-C-Repeaters-Y2K8

Uploaded by

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

15-Programming-Concepts-Using-C-Repeaters-Y2K8

Uploaded by

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

I ifiriil! illrt ti!

llili ltffi t[it iffl


L5 SS - 6819
$ Semester E.C.A, Degree Exarnination, frtrovennber/December 2018
(Y2KS Schemre) (Repeaters)
COIMPUTEI{ SCIENCE
BCAl05 : FrogramminE Concepts UsinE G
Time : 3 Hours fulax. Merrlis : S0l7'0

lnstructions : 1) A,r'tswer al I Section,s.


2.) S,ecfir:n *" D is' applicabte fo sfudenfs mrho have l;akem
admissicn in 2$11-12 and OnwarCs only.

SECTI{I}N - lt
l. Answer amy ten questions. {'t0x1-11})
1) What is a variabie ?

2) Give an exarngrle l'cr unary operator"


3) Vfhat do trrsll meain hy'type-easting; ?
4) Give the p:urpcrso of g,etclrar{} function in C.
5) What is the default value of ct'rair d;ata type ?
6) Compare break arid conttr:ue staterIflBfit.
7) What is a functicn '/
8) What is recursion "l
9) What is a string ?

10) !-low do yrru declare a pointr*r var"iable ?


1 1) What is a macro ?

12) l-low to declarr: a lirle in 'C' ?

SHCTII;}N * E}

ll. ltnswer any {[ve questlons. {3x5=15)


13) What are characteristiics of algorithm ?

14) Exptaln forrnatted and ui'f*rmatteci [/O functions tn S"


15) Explaln switclt statement witit €rxemple.

p"T"o.
r

s$i - 6ss lllililllillllffilillllllllillllill

16i Vlhat is functia,n prototype ? Gi''ve an exanrpie.


17) Ur/rite a C progranl to r;heck tF:e given number is odcl or evefi.
18) Expiain ariy three string handling functiorrs in C with example.
19) Expiain array of strirrgs. Gid'e ar: e>rilmple'.
20) V/hat are preprocessc'r directivr;s i' Expietin.
SEC}TICIN * C}

lll. lurswer ar:y five qruestianrs. (5x7=3{i}


21) a) Expia.in the elifferenl, data types ei'railable in C lvith exarnple. 4
b) Exptain if "... else stiaternent v'rith examy:le. J
22) Explain thel diff€ii'errt loelplrtg staternents in C v+ith example. :7\

23) What is an ar!"a,y ? Hxplairl the ejiffere*nt t5rpes *f arrays with example. 7
2"4) a) Wi'ite a C prograrn to f[nd fa*iioriizl of a given numher" 4
h) Write a note on storage elasses. 3
25) Explain caii-by-,uallie and r:ait-by-refelrencel rnechernisrn with an exan:i:le. 7
26) a) Explain func'tion with al'gurnents and return value with an r:xample. 4
b) What are thel advantages of functions, 3
27',) a) F{ow do yr:u declare a structure '? Give an example" 4
b) What are static and dynamic rnernory erllocatlons ? 3
28i) a) What are the dilferent modes of openirig a text tile ? Glve an exampter. 4
bi Write a note on sirnple macrcls. 3

sE0Tt(:)N - t)
(i$nlly fr-*r 2ftt tr -'! i! and Gr:v*arids)

lV. l\nswer any one ques;tion. Each qulesl.ion carries ten manks. ('l x10=110)

zgt) Explain the different ty;les of operal.ors in C with erxample"


3C,) a) Write a C prrogram tc find surn o'f N natural nurnbers. 5
b) Write a C pr,ogram to check the Eiven rnatrix is identity or not" 5

You might also like