Ques Pape
Ques Pape
1.
() Calculate percentage error intime period T =2nforI=
iferror in measurement ofl is 0.01.
e r i v e expression for the erFrors in multiplication of two numbers
(4+4-4-12maks
Q1 Fnd irerative formula for VN. hence solve V17 correct to three
Decimal pBaces using newton Raphson formula. (4 marks)
Q3. Solve the foilowing system of linear equations by Gauss Jordan method.
2x +8y + 2z = 14
6x +6y - z = 13
2xy + 2z 5 =
(4 marks
Guru Nanak Dev University (End Term)
MCA(FYIC) SEMESTER 2
Attempt five questions and at least one question from each section.
Time:3 Hours
Max Marlks: 80
Section A
DBA.(8)
B) Explain commands of DDL and DML with the help of examples(8).
2. What is DBMS? Write advantages and disadvantages of BDMS?(16)
Section B
model.(16)
2. A) What is Entity- Relationship model? Write and E-r diagram to
illustrate is model.(10)
B) Explain three-level architecture and data independence.(6)
Section C
Section D
HaH&-E
1.
2.
HaHS-t
(
HaH&-A
5.
6.
(i)
ii) (iv) t asi
( (vi)
(vii)
(ix) f o a Et H3, 3ferai er JHT
1.
17653(2522)4000
Guru Nanak Dev University, Aimritsar
MCA (FYIC) Semester II
CSL 124: Object Oriented Programming C+
Max. Marks: 80
ime 2Hours at lcast onc qucstron rom Cach
irhriicfates arc requtcd to attcmpt any five qucstions sclecting
cion h fifth question may be attcmptcd from any scetion.
Scction A
(b) etine a recur:ion. Write a C recursive function for pmultiplying two integers whcre n finieiion cail is
a d witir me integers "m and "n.
Section- B
3: W1ite a C program to maintain a record of "n" student dctails using an array »fstrtlures with four
iicld: Roil iumber. Name. Marks. and Grade). Each ficid is of an app.opriate daia type. Print the marks of
siticni givei situcieni namc as input.
(h) Define finction overloading. Write a C4+ program to overload arca() function to caBeulate arca of shapes
kriangle .square. circle.
Section- C
Nplan hriefiy characteristics of DOPS language and mentin edvantages of OOPS apioach ower
ctinai/piocedura yrogramning.
efine a ciass namcd Banl: Account to represent followving menmbers:
Daia ricmbers: Account Nunber - Name of Deposilor - Account Type - Balance Amount
Afemier imctions: - Initializc nicmbers - Deposil Amont Withdaw Ánont - Display B3alance
Scction- D
7.1a)What do you mean b; uary operator overloading? Explain witlh the help ofsuitabie progranm.
3. (a) wiat is a vitua! base cilass? Winy it is important to nmakc a class viriuai.
(h Viai is abstract class? When do we use the proiected visibility speeificrs to a class mcnmber?
Science
Depertment of Computer
MCA(FYIC) Semester-I1
File Processig
CSL 123:Data Structures And
Max.Marks: 80
Time: Three hour
be
FIFTH question nay
section and
at least question from cach
Aticmpt any FIVE qucstions. selecting
one
Oe
altept fiom any section.
Section A
structure?(8)
in opting any data
1aDiscuss with example. time and space tradeoff involved
Section B
93. What do you mean by Qucue . Explain its inmplementation with algorithm. Also write its applications. 16
o1 What is a Graph? How is it represented in memory ? Discuss breadth first searclh technique for
traversing graph. (16)
Section C
AVIie an itcrative algorithn,to peform in order traversal. Also find preordcr and level order of given tree: (16)
Inorder D B
P'ostorder | F
C H
D
G - ------
a)plaim the concept of Quick sot and nsertion soit with Cxample? Also wrilc its conplexity.
(8)
) 1 hat are AVL Tees" Constuet AVL Scarch tree
an
by inscrting the following elements inn orcder of their
cnence:5 12 1098 14 23 29 28 17
(8)
Section D
(a)Conmpaction
) Master file and tt.nsaction files
(C) Blocking
(16)
What is file
organization plan differcnt file organi/ation techniquc with relevant
cxample 16)