MCA1C (Dec09)
MCA1C (Dec09)
of Questi*ns: 091
L^t4uLu"L AUSu4r.tft4y<,ct
. CfrM
PaperID : [B0l02l
fill fNote: Please subjectcodeand paperID on OMRI
Time : 03 Hours
Maximum Marks : 60
Instruction to Candidates: l) Attempt any one questionfrom eachSectionsA, B, c, and D. 2) Section- E is Compulsory. 3) Use of Non-programmable Scientific Calculator is allowed. Section - A 10) QI) Q2) Discussthe gener alized,methodology involved in the proble-tfi;i .:
What is the range of various data types?Discussthe primary data types in detail. Section - B (IxI0=10) (a) Write a programin C to sort integer elementsof one dimensionalarray in ascendingorder. (b) List few conditional compilation directivesandtheir functionality.
Q3)
Q4)
(a) Write a functionthat interchange printsthe valueoftwo integersA and and B without using any extra variable. (b) Definerecursion. Section - C (I *.IA: I0) (a) What are the two common ways of selecting array elements for processing. (b) Differentiate betweendynamic and non dynamic datastructures. '
A,
Q6)
(a) Explain with examplethe relationship of one dimensional array with pointers. (b) Defineenumeration.
J-71e[812e1
nTo.
Section- D Q7) (1 x I0: l0) How C implementsthe conceptof What is meantby random file access? randomfile access"
QS) (u) Write the algorithmic stepsfor searchinga binary searchtree. (b) Differentiatebetweenexchangeselectionsortingand selectionsorting. Section - E
(10x2:20)
Qe)
a) b) c) d) e) 0 g) h) D ) Compiler. Recursivealgorithm. Bitwise operators" Difference betweena string and a character. Function prototype. file The functionsrelatedto the.header time-h. Pointerarithmetic. Exampleoffunctionreturningpointer' Needof structureinitialization. DifferencebetweenfseekQand ftellQ.
QSOS
J-719