You are on page 1of 2

RotlNo.................."*.".

''
Tbtal No. of Questi*ns: 091 [Total No. of pages : 02
L^t4uLu"LAUSu4r.tft4y<,ct . CfrM
MCA (Serft.- l.)'
PROGRAMMING IN C
SUBJECTCODE : MCA - 102(N2)
PaperID : [B0l02l
fNote: Pleasefill 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-programmableScientific Calculator is allowed.

Section - A
10)
QI) Discussthe gener alized,methodology
involved in the proble-tfi;i .:

Q2) What is the range of various data types?Discussthe primary data types in
detail.
Section - B
(IxI0=10)
Q3) (a) Write a programin C to sort integer elementsof one dimensionalarray I
in ascendingorder.
(b) List few conditional compilation directivesandtheir functionality.

Q4) (a) Write a functionthat interchangeandprintsthe valueoftwo integersA


and B without using any extra variable.
(b) Definerecursion.
Section - C
'
(I *.IA: I0)
A, (a) What are the two common ways of selecting array elements for
processing.
(b) Differentiate betweendynamic and non dynamic datastructures.

Q6) (a) Explain with examplethe relationship of one dimensional array with
pointers.
(b) Defineenumeration.

J-71e[812e1 nTo.
Section- D
(1 x I0: l0)
Q7) What is meantby random file access?How C implementsthe conceptof
randomfile access"

QS) (u) Write the algorithmic stepsfor searchinga binary searchtree.


(b) Differentiatebetweenexchangeselectionsortingand selectionsorting.

Section - E
(10x2:20)
Qe)
a) Compiler.

b) Recursivealgorithm.

c) Bitwise operators"

d) Difference betweena string and a character.

e) Function prototype.

0 The functionsrelatedto the.headerfile time-h.

g) Pointerarithmetic.

h) Exampleoffunctionreturningpointer'

D Needof structureinitialization.

) DifferencebetweenfseekQand ftellQ.

QSOS

J-719 2

You might also like