0 ratings0% found this document useful (0 votes) 40 views4 pagesC Programming Question Paper
BCA MCU C Programming Question Paper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Roll No.
(2) 7043
Printed Pages—4] IBCA2/CCC2
Bachelor of Computer Applications (First Semester) (CBCS)
Examination, January/February, 2022
PROGRAMMING WITH C AND C++
arafiyDuration : 3 ¥2/Hours] (ymfs/Max. Marks : 80
(ppm simayMin. Pass Marks : 32
fem:
1 we ua ee o feats ¢ 1 wee wee 2 oie feed ea wat)
2 vas wat 8 we aw an thie een ae tia ei 3 om dt
3 wet ve So fae wae sie frm #1
4 ae area Goat TE Te AM HM waa eI
5 ae # fadae Ow ott eed Sad an ae
6 Fee F wend fait em me ae te cer aifed ae
Instructions :
1. The Question Paper is divided in five Units. Each unit carries an internal
choice.
2 Attempt one question from each Unit. Thus attempt five questions in all.
All questions carry equal marks.
4, Assume suitable data wherever necessary.
English version should be deemed to be correct in case of any anomaly in
translation.
6. Candidate should write his/her Roll Number at the prescribed space on the
question paper.
P.T.O.7043
(@
)
Fag I Unit D
C4 dea ak wan atu a ace afer woaRT!
Explain local and globales variables in C with examples.
C aimfir #, ae felts ec & faq fa ante a ate a sein fear
a Rem ¢ fe den fam a we 2 seem alga Fae
In C programming, what command or code can be used to determine
if a number is odd or even ? Explain with example.
seat (Or)
frafafiad + onen =f:
Explain the following :
(a)
(b)
(a)
@)
@
(b)
Conditional and Bit Wise Operator.
Mathematical and Character Functions.
yee I (Unit I)
ca awh 4 ag-sari ert 7 seo efes area)
What is Multi-Dimensional Array in C ? Explain with example.
quai aor art? ee afer area
What are Iteration Statements ? Explain with example.
waar (Or)
fea ak Fes ee Rate SF tte oe at fre 3 TERT!
Differentiate and explain between Switch and Nested If Statement.
Sara ey wt 7? BREAK 2it CONTINUE sad # avi F az
aang
What is doawhile loop ? Explain usage of BREAK & CONTINUE Keyword.
21043
@
@)
@
o
@
@)
@
ag TT (Unit 1D
Array of pointers @X Pointer to an array @ ata Am wifral
Differentiate between an array of pointers and a pointer to an array.
ca sem at oh act gar tert ent? mem afer ae Fife
What is the pointer declarations used in © ? Explain with example.
waa (Or)
fea Siow mot Sam fim eG & fe died at aot aw sein
wa wae =e ?
What are the advantages of using array of pointers to string instead
of an array of strings ? https://www.mcubhopal.com
vite aa t 2 vie S er wre E 7
What is a Preprocessor ? What are the advantages of Preprocessor ?
gag IV (Unit IV)
wire oh afta ala aed sl ee ani ied wegEU!
Explain Static and Dynamic memory allocation with its advantages.
C++ F Class Ft Object wa ae 7 ae ales EreT!
What are Class and Object in C++ ? Explain with example.
wat (Or)
fret mee ? gh a we EP
What are Register Variables ? What are its advantages ?
3 P.T.O.10.
®
@
(b)
(a)
(b)
Explain the following functions :
@ malloc 0
(i) calloe
ii) size of 0
(iv) free 0.
yay V (Unit V)
aa wa ager sat ak ae cer agra 3 Sa fis & ?
What is Compile Time Polymorphism and how is it different from Runtime
Polymorphism ?
aa war ere ? adem var Gk Ok ade var A oie ore
wifare
What are virtual functions ? Differentiate between virtual function and
pure virtual function.
waar (Or)
atetae-sifeite siofin at yer fete ee @ 7? ore Fifa
What are the main features of object-oriented programming ? Explain.
tata ok ong wi So de im wre?
What are the differences between interfaces and abstract classes ?
https://www.mcubhopal.com
Whatsapp @ 9300930012
Send your old paper & get 10/-
4 wat Gt ee IS at 10 Tat ae,
Paytm or Google Pay &