MCN A
MCN A
MCN A
Term-End Examination
December, 2006
CS-01 : GOMPUTERFUNDAMENTALS
CS-01 P.T.O.
(e) show the outputs of the following assembly codes
step by step : 4+4
Ll : XOR AX, CX
XOR CX, AX
XOR AX, CX
Show the contentsof AX and CX.
L5 : MUL DATN(
LOOP L5
MOVOnrexAx
MOV AX, DATN(
SHL AX, 02 H
SUB DATAY,AX
ADD 01
Show the contentof DATAY.
CS-O1
2. (a) Find the elror and explain one way to correct it
suB ISll , [BU
(b) Write a programthat addseachof the valuesdefined
in ARRAY1 and ARRAY2 and stores the sum in
"SUM" (i.e.SUM : sumof ARRAY1+ sum
of ARRAY2)
ARRAY1DB 10 20 30 40 50 60 70 80 90 100
ARRAY2DB 01 02 03 A4 05 06 07 08 09 010
SUM DB O 5
(c) Write a programto comPute: 8
F = (A x B) - (C + Dl /e
using zeroaddressmachinewhich has the following
instructions:
PUSH X Pusha valueX on to the top of the stack
POP X Pop the valueX from the top of the stack
ADD Addition
MUL Multiplication
SUB Subtraction
DIV Division
CS-o1 P.T.O.
4- (a) Draw and explain the logic diagram for 8 words of
RAM using 3 x 8 decoder.(Assumethe word size to
be of 4 bits.) I
(b) What is a master-slave flip-flop ? Explain its
functioning with the help of a logic diagram. Also,
discussits importance for designingregisters. 7
CS-O1 9,000
PGDCA / MCA (I Yr) / BcA
Term-End Examination
December, 2006
.{
CS-02 ; INTRODUCTIONTO SOFTWARE
CS-02 P.T.O.
(d) Define mutual exclusion. How does a semaphore
solve the mutual exclusion problem ? Explain with the
help of an example. What are drawbacks of
semaphore ?
.3.(a)WriteUNIXcommandsforthefollowing.'
(i) to print last 3 lines of a file.
(ii) to searcha particularpattern in a given file.
(iii) to count the number of words in a given file.
(iv) to list all the files with extension.txt.
(v) to move the contentsof one file to another file
with a different name
CS-02
5. (a) What is X-Windowssystem? Explain the X-Windows
library and X-Toolkit in detail.
CS-02 5,000
,
PGDCA / MCA (I Year) / BCA
T"T--End Exarnination
December, 2006
CS.O3 P.T.O.
Some of the customershave bought medicinesfrom
both the branches.The shop-ownerdecidedto close
one of its branchesand decided to merge the two
customerfiles so that customerrecord is kept at one
place. Write a program in CoBoL to merge the
two files. Make suitable assumptions, if dng, and
mention them.
(d) What are the various levets of working storage
section ? Give examplesfor at least two levels.
(e) Explain the various types of MOVE statements in
coBol- with the help of an example for each. 5
Employee_name 25 characters
Date-of-ioining 10 characters
Basic_salary 10 NUMBERS
CS-03
Employee Attendance Transactiol file :
Employee-code : 10 NUMBERS
No-of-days-present : 3 NUMBERS
The above two files are used to create an indexed payroll
file of the following format :
File name : ACCOUNT MASTER
Key : Employee-code
Total salary : Calculateas follows :
Basic-salaryxNo-of-days-present
Total salary(month):
Totaldaysin month
CS-03 5,000
PGDCA / MCA (I Yr)
Term-End Examination
December, 2006
CS-04 P.T.O.
(d) Find the value of the following :
2'(a)
H::,,,::,:'t"l'H. ,,"-.:";*:
#::,,i:Tff::
complexity of the algorithm ?
CS-04
4. (a) Write a C-functionto count the number of nodes in
a linked list.
CS-04 7,000
Term-End Examination
i
December, 2006
Note 3 Ansrreranvthree
";,:':n'""I{iulsorv
?::';,;;
CS-05 P.T.O.
2 . (a) of a
Define System.Explain any four characteristics
System 5
(b) Elaboratethe five parts of the systemdesignprocess. 5
(c) List the major tasks of systemdevelopment 5
CS-05 12,000
PGDCA / McA (I Yr)
Term-End Examination
December, 2006
C5-06 P.T.O.
Further, the enrolment of studentsin courses and
grades awardedto studentsin each course they are
enrolledfor must be appropriatelymodelled.
Construct an E = R diagram for the Registrar's
office. Document all assumptionsthat you make
about the mapping constraints.
C5-06
GALLERY
GAL_NUM
GAL_OWNER
GAL_AREACODE
GAL PHONE
GAL-RATE
PAINTING
PNTG_NUM
PNTG_TITLE
PNTG-PRICE
PTR NUM
GAL-NUM
C5-06 P.T.O.
(b) Explain the concepts of Generalization and
Specialization with examples.
C5-06
5. ,(a) Explain the structureof Index sequentialfile with the
help of a diagram. 5
(b) Explain briefly : 5
(i) Dynamic Data Exchange(DDE)
(ii) Object Linking & Embedding(OLE)
(c) Illustrate the differencesbetween hierarchical and
network data models. Explain why relational data
model is a better choice over the two.
C5-06 16,000
ADCA / MCA (II Year)
ry
Term-End Examination
December, 2006
CS -07 : DISCRETEMATHEMATICS
CS-07 1 P.T.O.
(d) Give an example, with justification, of a compl ete
lattice with 8 elements. 4
(e) Find the missing entries in the following table : 4
P a P V A P t a
F F
T T
F T
: t2:x
f(x) il?.
(g) Consid er the graph given below
v1
CS_07
(i) If the graph ulerian ? Justify your answer.
(ii) Apply Dirac theorem to check whether the
graph is Ha iltonian. If it is Hamiltonian, find a
Hamiltonian ycle with V1, V3 and v4 as the first
three vertice
(h) L e t U : { L ,2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 } ,
A : { 1 ,3 , 5 , 6 l ' B
, : { 1 ,2 , 7 , 8 , 9 } a n d
C : 14,56 , , 7,8, 9, 101.
Check that
( i ) A u ( B u C )- ( A u B )u C
( i i ) A u ( B n C ): ( A u B ) n ( A u C )
(i) L e t B : ( D ( 4 2 ) ,g . c . d . ,l . c . m . ) .
Draw the Hasse diagram of B.
Let o (x' xz, *3) = (xr A *z\ v (*2 A *3)'.
CS-07 P.T.O.
(b) Use the fusion algorithm to check wh etherthe graph
with the following adjacencymatrix is connected.
0 0 0 0 2
0 1 0 0 1
0 0 1 0 2
0 0 0 0 1
2 1 1 2 0
(c) Every Hamiltonian graph is ,Eulerian.Is this true ?
Give reasonsfor your answer.
CS-07
(b) Write 87 and 95 in 2's complement and find
87 15 in 2's complement.
(c) write (P v a) n I R in principal disjunctivenormal
form.
v2
v5
(b) L e t X = { 1 , Z , 3 , 4 , 5 }
CS-07 P.T.O.
(r 2 3 4 5\
(b) Let f :l land
[s 1 2 5 L)
l 2 3 4 5 )
s: [ z
3 4 1 s )
Find fg as a product of disjoint cycles. Is fg even?
whv ?
(c) Find the binary tree representationof
(xy + yz). (xz + 1).
t4,000
CS-07
ADCA / MCA (II Year)
Term-End Examination
Decernber, 2006
CS-08:NUMERICAL&STATISTICAL
COMPUTING
( i i i l) p + i q l , i - F
CS-OB 1 P.T.O.
(c) Evaluatethe following integer expressions:
(i) 4**5/3
(ii) f*'r!**f
(iii) 3.0 + 7/5
(iv) 20/5.3
(d) Assume that P, O and R are defined. Write
FORTRAN statementswhich interchangethe values
of P, O and R such that P has Q's value,Q has R's
value and R has P's value.
(e) Write a FORTRAN program to evaluateT and print
x, g, T. Includeproper commentsin your program.
T:cos(x+ 2i/V2 + v2\+13* *+vl
4yl"l
for x : -.---1.0 to 4.0 in stepsof 0.5 and y : - 4.0
to 3'0 in stepsof 1.0. .
(fl Assumingthe declaration
INTEGER BAT(3, 3)
find the value assignedto ea.charray element in the
following program
DO 10 I : 1, 3
DO10J:1,3
IF(rLr4,5T
1o
ELSETF (r.EQ.J) THEN
BAT(1,J) : :- 4'0
ELSE
B A T ( I , J: )- 1 ' 0
ENDIF
10 CONTINUE
CS-OB 2
all students is
(g) In a McA class, the average marks of
is 58 and the
60. The average marks o{ boys
68' Find the
average marks of girl students is
percentage of male and female students.
line) of y on x
(h) Find the linear regression (regression
for the data
x -Z -1 0
y ( 6x 3) 2 2
second
(i) A bag contains4white and 5 blackballs'A
One bag is
bag contains 2 white and 4 black balls'
bag one ball is
chosen at random. From the selected
ball drawn is
drawn. Find the probability that the
white
that
0) If X is a Poisson random variate such
- -- 4)'
P(X : 1) = P(X 2), then find P(X
given.Write a
2. (a) A data (xi, f(x)), i : 1, 2, ..., N is
standard
FORTRAN Program . to compute the
has been
deviation of the data. Assume N
prescribed.Use dimension statement for reading
xi, f(xJ.
The
(b) Let A and B be two independent events'
1
Find
probabilitythat neither A nor B happens is ;
P.T.O.
CS-OB
(c) Write a subroutine subprogram to multiply
two
matricesA and B eachof order 2 x 2 using
common
statement.
4.
coefficient of correlation
vvr r vr(/
between x and y for the foilowing
;;r" , B
x 2 10 8 6 8
y 4 g g 1 0 6
(b) write a FORTRAN program to calcurate
and print
the number of A's in the foilowing
name
RAMASUBRAMANYAM. Assumethe
totarrength
of the field as 20.
CS-OB
(b) A college purchasesthe following materials every
year. The prices in the years 1990 and 2000 are
tabulated.
CS.OB 11 , 0 0 0
ADCA'/ MCA (II Yr)
Term-End Examination
December, 2006
CS-09 P.T.O.
(d) Show the relationshipbetweenASes, backbonesand
area routersin OSPF through a diagramand explain
the operationof OSPF algorithms.
CS-09
3. (a) Derive an expression for throughput of pure
ALOHA and slottedALOHA. Why is this value of
throughput less for pure ALOHA and how is it
improvedin slottedALOHA ? I
CS-09 P.T.O.
5- (a) Why is Frame Relay unsuitable for real-time
communication such as teleconfeiencing ? '
2
(b) Draw the constellation diagrams for the following : 4
(c)
l, llilll
You have a leaky bucket. What should be its capacity
if the output rate is 5 gallons per minute, and there
is an input burst of 100 gallons per minute for
12 seconds and there is no input for 48 seconds ? s
(d) Define the following QoS parameters in the context
of ATM with appropriate examples : 4
(i) Constant bit rate
(ii) Real time yariable bit rate
(iii) Non real time variable bit rate
(iv) Available bit rate
CS-09 17,000
ADCA / McA (II Yr)
Term-End Examination
December, 2006
CS-10 : SOFTWAREENGINEERING
CS-1O P.T.O.
Make assumptions,if necessaryand specifythem.
For the above mentionedsystem
(i) Develop a SystemRequirementSpecification.
(ii) DesignDFD upto two levels.
(iii) Derive a structurechart from the DFD
(iv) Give detaileddesignfor any two modules.
CS-1O
5. (a) What is RequirementsVerification? Discussany two
techniquesfor verifying requirements
CS-1O 15,000
t cs-1rl
Term-End Examination
December, 2006
CS-12 : COUIPUTERARCHTTECTURE
1 1: A - D x E
lZ:D: B + C
1 3 : A : B + D
1 4 :C : L + M
I b : E = X - Y
(b) Discuss the significance of Amdahl's law for a
multiprocessor system. Derive ' an expression for
speedupfor the same 6
(c) Explain the VLIW architecture.Demonstrate how
pipeliningis incorporatedin VLIW architecturefor a
degreem: 3. 7
CS.12 P.T.O.
(d) 'A 50 MHz processorwas used for executionof the
following program :
CS-12
4. (a) "The verg first multithreaded multiprocessor
Denelcor HEP failed to survive'due to inadequate
's/w and compiler support. The TERA
is its
descendantbut is implemented with rnodern VLSI
" Explain the
circuits and packaging technologies.
TERA designgoalsand its architecture:with the help
of appropriate diagrams.
(b) Explain the store-and-forward and wormhole
message routing schemes.And also, analyze their
communicationlatencies.
CS-12 2 1, 0 0 0
ADCA / MCA (III Year)
Term-End Examination
December, 2006
CS-13 : OPERATINGSYSTEMS
" gve
J:
:ilJffiJHT:11,,"J#11Jt'11*
(i) FIFO
(ii) LRU
(iii) OPT (optimal) 6
CS-13 P.T.O
(d) Classify all types of multiprocessorsystems. Also
explainwhy sharedbus multiprocessorsare generally
regardedas having limited scalability.
(e) What is the importance of ordering of events in
distributed systems ? Is ordering of events important
in centralized systerns as well ? Explain.
CS-13
critical section
3. (a) Define the terms mutual exclusion,
producQf - consumer
and Semaphores. Write the
I
code using semaphores'
resources with
(b) Differentiate reusable and consumable
algorithm and
example. write deadlock detection
mention its time comPlexitY'
and
5. (a) What do You mean bY device indePendence
with its
asynchronousl/O ? ExPlain disk caching
advantages.
protection' Also
(b) Explain Access-Matrix Model of
model is
discuss, how Bell-LaPadulaflow control
basedon it.
17,000
CS-13
MCA (Iil Year)
Term-End Examination
December, 2006
CS-14 : INTELLIGENTSYSTEMS
cs-14 1 P.T.O.
(d) How does object oriented programming differ from
conventional programming ? Explain the concepts of
''method"
"class", "object", "mgssage" and with
respect to object oriented programming. 2+4:6
CS-14
(ii) Write a LISP function that takes as input any of the
above n objects,and returns its area as its output by
accessingthe above knowledge.
CS-14 3 P.T.O.
4. (i) Considerth.e game of tic-tac-toe, where two players
put a 'X' or 'O' alternatively on the following nine
places:
7 8 9
Draw the search space for the next move starting
from
CS-14 15,000
MCA (III Year)
Term-End Examination
December, 2006
CS-l5 : RELATIONALDATABASE
MANAGEMENTSYSTEM
'Maximum
Time : 3 hours Marks: 75
CS-15 P.T.O.
(iii) Find all the employees who do not work on any
project.
CS-15
3. (a) Draw an ER diagram for a bank. Each bank can
have multiple branches and each branch can have
multiple accounts and loans. List all the entities and
relationships between them. Also list all the
constraints. State all the assumptions made. B
(b) What is a functional dependency ? When are the two
'
5. (a) What is a , timestamp ? How does the system
generate timestamps ? Discuss the timestamp
ordering protocol for concurrency control.
CS-15 2 1, 0 0 0
ADCA / MCA (III Yr)
E
Term-End Examination
December, 2006
CS-16 : OBJECTORIENTEDSYSTEMS
C S - 16 P.T.O.
(e) How can the three models of object oriented system
be combined ? I ist the mapping between, these
models.
(c) How does the Nested state diagram differ from Flat
state diagram ? Give an example'of Nested state
I
diagram.
CS-16 2
How does Data flow differ from Control flow ? Give
three differences
(ii) Generalization
(iii) Overriding
CS.16 17,000
ADCA / MCA (II Year)
Term-End Examination
December, 2006
CS-51 : OPERATIONSRESEARCH
CS-5i P.T.O.
(c) What are the four factors that influence inventory
control ? 4
(d) List any four limitations of simulation. 4
(e) A department head has four tasks to be performed
and three subordinates; the subordinates differ in
efficiency. The estirnates of the time, each
subordinate would take to perform, is given below in
the matrix.
Men
Task
I 9 26 15
il 13 27 6
ilI 35 20 15
IV 18 30 20
(f) An airlines organisationhas one reservationclerk on
duty in its local branch at any given time. The clerk
handlesinformation regardingpassengerreservation
and flight timings. Assume that the number of
customersarriving during any given period is Poisson
distributedwith an arrival rate of eight per hour and
that the reservationclerk can servea customerin six
minutes on an average, with an exponentially
distributedservicetime
(i) What is the probabilitythat the systernis busy ?
CS-s1
(ii) What is the average time a customer spends in
the system ?
2*, + *z
*r., x'2
xl+*2
Zxt + 3*,
*1' *2
M i nz : V ? * v3+ y 5 2
s .t .
y1 + g2 + gS 2 15
91, V2, V3
CS-s1
(b) Solve the game whose payoff matrix is given by
Player A
A1 A2 A3
B1 t - 1 3 1 l
t l
Player B 82 o -4 -3 I
B3
I 1 5 -1 l
L_
(i) What is the optimum strategyfor Player A and
Player B ?
(ii) What is the value of game ?
(iii) Give nature of game.
CS-s1 17,000
ADCA / MCA (II Year)
Term-End Examination
December, 2006
Nore' anY
A'ftemP'f
7;:::";,:,i::?,:": :::::tscirv
'Accounting
1. (a) What is meant by concepts' ? Examine
the role of accounting concepts in the preparation of
financial statements.
CS-54 P.T.O.
(b) Discussthe concept of working capital.Are the gross
and net concepts of working capital exclusive ?
Explain.
Rs.
Fixed Expenses 1,50,000
VariableCost p.u. 10
Selling Price per unit 15
CS-54
5. (a) A company has just purchased a new plant for
Rs. 75:000. The effective life of the plant is three
years and it has no salvage value. The estimated
cash flows after tax are as follows :
1 30,000
2 35,000
3 40,000
Compute Net Present Value at 10o/orate of
discount. The present value of Re. 1 at 10o/o
discountrate is
Year 1 0'g0g
Year 2 A'826
Year 3 0'751 10
(b) Write short notes on the following : 20
(i) Trading on Equity
(ii) Zero BasedBudgeting
(iii) Flexbilityin capital structure
(iv) Difference between Schedule of Changes in
Working Capital and FundsFlow Statement
CS-54 17,000
MCA (Revised)
Term-End Examination
December, 2006
MCS-011: PROBLEMSOLVINGAND
PROGRAMMING
MCS-01 P.T.O.
(d) 'C'
Write a non-recursive procedure in for calculating
power of a number 'm' 'n'
raised by another number
. n
r.e.m 10
(b) 'C'
Using pointers, write a program in to count the
occurr ence of each character in a given string 70
4. (a) 'C'
Write a program in to check whether a given
string is palindrome. (Jse pointers 10
(b) 'C'
Write a program in for the addition of two
polynomials. (Jse Arrays and Structures 10
5. (a) 'C'
Write a program in that accepts two files as input
and creates a new file whose contents include the
contents of two input files. 10
MCS-011
(b) Consider a data file containing some records of type
sruDENT: 5+5:70
Struct STUDENT
{
char Name[z}];
int Roll-No;
float marks;
l;
(i) Write a function, which takes file name as an
argument and returns the number of records in
that file.
MCS-011 11 , 0 0 0
MCA (Revised)
Tbrm-End Examination
December, 2006
MCS-012: COMPUTERORGANISATION&
ASSEMBLY LANGUAGE PROGRAMMING
MCS-012 P.T.O.
(c) Use a 8-bit binary representationfor integers using
signed 2's complement notation. Perform the
following operations and also indicate the
overflow/underflowif it.occurs :
(i)
(ii)
(iii) 65 + (- 61) \
(iv) 98+ 30
(v) 20 90
MCS-012 2
level 2 '
2. (a) what is RAID ? List three featuresof RAID
In RAID technology, what are the important
performanceconsiderations? Explain briefly
a 4-bit
(b) Using a 4-bit counter with parallel load and
to
adder, draw a block diagram that shows how
implement the following statements:
X'RreR1 +Rz
X ' Y , R t e R 1+ 1
RZ is a
where R1 is a counterwith parallelload and
4-bit register.
Explain
3. (a) what do you mean by associativememory ?
briefly the concept of Match-logic'
briefly'
(b) what is FAT ? Explain the structureof FAT
FAT
Calculatethe number of entries requiredin the
table using the following parametersfor an MS-DOS
system :
Disk caPacitY: 30 MB
Blocks/Clusters: 4
P.T.O.
MCS.O12
(c) Give characteristicsof unencoded and highly
encoded microinstructions.
5
(d) Write a program to evaluate the following
expression
using one address machine :
X : y + Z * W * S t ,
(iv) Scanner
(v) Modems
MCS-OX2
5. (a) What are the advantagesof using SRAM ? Why do
we use L1 and L2 cache memories? How is a main
memory address mapped to a cache address ?
Assume the main memory size of 1 K words,
1 cache block size : 32 bits, number of cache
slots : 16 and cache mapping : 2 way set
associative.
MCS-012 11 , 0 0 0
MCA (Revised)
Term-End Examination
December, 2006
MCS-013 : DISCRETEMATHEMATICS
MCS-013 P.T.O.
(f) Write down all the partitions of 7. Also find Pf and
P5
'7
(xtv*zIn*3
( p n q )v ( p n r )
and
(p v (q n i))
n(n+1)(n+2)
1 . 2 + 2 . 3 + . . .+ n ( n + 1 ) :
3
MCS-013
(b) Define Generalised Pigeon Hole Principle. Show
that in a group of 35 PeoPle' one can always find
6 people who were home on the same day of the
week.
(c) L e t A : { a ,b , c , d } , B - { 1 , 2 , 3 } , a n d
R = {(a, 2), (b, 1), (c, 2), (d, 3)}. Show that R is a
function from A to B. Is R one-one ? Is R onto ?
MCS-013 P . TO
5. (a) Find the Booleanexpressionin DNF for the function
defined in tabular form below :
1 0 1 0
0 1 0 1
1 1 0 0
0 0 1 1
0 1 1 0
1 0 0 1
0 0 0 0
1 1 1 1
x1
x3
h
x3
MCS-013 11 , 0 0 0
MCA (Revised)
T€rtn-End Examination
December, 2006
MCS-014: SYSTEMSANALYSISAND
D E S IGN
MCS]014 P.T.O.
2. (a) Give various types of documentation required in
systemdevelopment.Explain in detail with the help
of suitableexamples. I
MCS-014
5. (a) Explain any four types of testing techniques with an
example of each 10
MCS-014 11 , 0 0 0
MCA (Revised)
Term-End Examination
December, 2006
MCS-015: COMMUNICATIONSKILLS
others.
MCS-015 P"T.O"
Information that can be checked
Audience
tvlcs-O15
advantages and disadvantages for the writer addressing a
specialist audience
John Seely
(i) Mention two ways of gathering data that may go into
a report 2
(ii) What is that one condition that governs all reports ?
whv ? 2
(iii) How does the report writer show consideration for
the readeris time ? 2
(iv) Given below are two statements. Say whether they
are true or false.
MCS.O15 P.T.O.
(ii) You should try to be more in the
meetings or they will pass their own agenda.
(a) aggressive
(b) assertive
(c) ambiguous
(d) anomalous
(a) order
'
(b) memoir
(c) requisition
(d) memo
discussion.
(b) sum up
(c) synchronlze
(d) symbolize
MCS-015
(v) The last batch of defective goods caused a big blow
to the company's
(a) credulity
(b) credibility
(c) credentials
(d) creativity
Interviewer :
Intervi ewer :
MCS-015 P.T,O.
Ms. Seth : Organizing exhibitions, compering the
cultural programmes and taking part in
poster campaigns.
Intervi ewer :
MCS-015
5 . The Annual Day of your organisation is at hand
(16 November).You need to preparea programmefor the
celebrations.Imagine that a meeting has been held to
discussthe matter on the basisof the Agendagiven below.
Preparethe minutesof the meetingbasedon the Agenda. 20
AGENDA
1. Programme for Celebrations (Welcome Speech,
Report, Cultural items, time and duration etc.)
7. Refreshments
8. Transport incharge
9. Store incharge
MCS-015 11 , 0 0 0
a
;l
q
MCA (Revised)
Term-End Examination
December, 2006
MCS-021 P.T.O.
(c) What "is a Dequeue ? Write a program to insert
and delete the node in a dequeue. 10
(d) Differentiate among @ Notation (Tisht Notation),
Big o notation (Upper Bound) and o Notation
(Lower Bound). AIso, show that 10
f(n) + g(n) = Max(O(f(n)),O(g(n)))
MCS-021
4. (a) If a matrix A(i, j) is representedin a linear array B(k),
suchthat, rc
B(0)= A(0,0), B(1)= A(0,1) ... B(,)= A(2,0),
in a (10 x 15) matrix, compute the addressof B(k)
for the following vatuesof A(i, j) : A(3, S), A(7, 3),
where addressof B(0) is 14g.
MCS-021 7,000
MCA (Revised)
Term-End F,rramination
December, 2006
MCS-022 1 P.T.O.
(e) Write a shell script to accept upto 5 numbers as
argumentsand print out their arithmetic mean. 5
(f) List some of the duties of a systemadministrator. 5
(g) How does a domain differ from a workgroup ? 5
(h) What are the goals of Computer Security ? 5
MCS-022
(c) ' DiscussIPSec implementationin the Windows 2000
operatingsystem.
(d) What are input and output restrictions,filtering and
pipelining of instructionsin Linux ?
5. Describethe following : 20
(i) Policy Inheritance
(ii) Fault Tolerant System
(iii) Kerberos
MCS-022 7,000
MCA (Revised)
Term-End Examination
Decembern 2006
MCS-023
P.T.O.
(c) Consider the relation PERSON :
MCS.O23
2. (a) What is functional dependency? Removal of which
functionaldependencyleadsto which normal form ?
Discuss with example. Briefly discuss lossless
decomposition and dependency preserving
decomposition
. 10
MCS-023 P.T.O.
(c) Differentiatebetween : 2|xZ:S
MCS-023 7,000
MCA (Revised)
Term-End Examination
December, 2006
(c)Explainthefollowingkeywordswithexamples:
(i) this
(ii) abstract
(iiil final
(iv) super
MCS-024 P T.O.
(d) What is object serialization? Write a Java program
that writes the state of an object to a file which
includes user name and password. Also ensure that
the passwordis not stored in the file.
MCS-024
(c) Explain the concept of polymorphism. Create an
Exception class that is thrown whenever the string
entered is not a palindrome. Write a program that
accepts the command line argument and uses the
custom defined exception.
MCS-024 7,000
MCA (Revised)
Term-End Examination
December,2006
MCS-031 P.T.O.
(c) Give an analysis of worst case running tirne
of
quicksort. When does it occur ? How
can we
improve the worst caseperformance of quicksort
? 10
(d) Discusshow depth first search can be used to find
cyclesin an undirectedgraph.
MCS-031
(b) Describe the sequence of steps involved in the
designing of a greedy algorithm.
MCS-031 P.T.O.
(c) Show how Breadth First Search algorithm works on
the graph below. Assume that the vertices are
consid ered in an alphabetical order and that the
graph is represented using adjacency list
representation in which each adjacency list is ordered
alphabetically. Show that the queue operations for
each step and the distance calculated for each vertex
'A'. 10
startfrom the vertex
MCS-031 6,000
MCA (Revised)
Term-End Examination
December, 2006
MCS-032 : OBJECTORIENTEDANALYSIS
A N D D E S IGN
Time : 3 hours Mqximum Marks : 700
Nofe : Quesfion number 1 is compulsory. Attempt any
three questionsfrom the rest.
MCS-032 P.T.O.
2. (a) Draw classdiagram for the situation given below. 10
MCS-032
1
(c) Differentiate (any two\ : 2; x2:5
MCS-032 6,000
MCA (Revised)
Term-End Examination
December, 2006
Graph G
MCS-033 1 P.T.O.
(c) Apply Euler's formula for planar graph and show
that the following graph is planar.
C D
(ii) Order
(iii) Non homogeneous,/homogeneous
G1
G2
MCS-033
(c) Draw Ku graph. Differentiate between walk and cycle
with the help of an example. 3
4. (a) Solve d, : 3a
r_1 + 1 for r > 1 usinggenerating
function. Given u o = 1 ' 4
a
r
4 a
r- 1
+ ur-r: (r + r) 2' 4
MCS-033 P.T.O.
'
5. (a) Find the generatingfunction for the numeric function
dn : 2n*3' n
C Graph G D
MCS-033 , 4 6,000
' i t : , , ' ) ' .: i , ,
. r , , i ' . ,
. . , : ' , . , 1 , '
,MCA,(Revised), , , ,,
Terrn-End
I IEI ltt-LllLl Examination
lzra'Cllltll
MCS-034 r SOFTWAREENGINEERING
'?
1. (a) What is SRS List and
SRS. Develop an SRS
System, ', , , ,. : u
(b) What do you mean by managernent of risk
Describea risk table with u*u*plu.'
'Webmaster:;
in
(c) Mention any five reiponsibilitiesof a
a Web application team. , Also explai'n' the
characteristicsof any,thrge,spftware,,tools/packageg
u s g d f o r W g b d g v g l o p m e n t i , , r , , :, i , 11
; , , ..,,i . . ., i , , , ,,::
Mcs-034
2. (a) What is a DFD ? Explain the rules for designing
DFD. What are the various tools used for designirlg:'
it ? How does it differ fiom'an ERD ? 18
(b) 'Data Dictionary' ? Explain
What is the,,purpose of
the symbolsused therein with an example. 8
3'(a)
;ffi#Hffi,"1;',iJil"[J",:ffi;ff
disagree ? Justify your answer. 6
(b) How do version control systems ensure that two
software developersdo not attempt the same change
MCS-034 6,000
MCA (Revised)
Term-End Examination
December, 2006
Drawings 10,000
S t o c ko n 0 1 . 0 1 . 0 5 +6,000
MCS-035 P.T.O.
Particulars Dr. Cr.
(Rs,) (Rs.)
Freehold Premises 38,600
Trade expenses 840
Printing stationery and advertising L,640
Professional charges 280
Commission Received - 3,300
Investment as on 1tt January @ IO% 4,000
Interest on above 200
Sundry Debtors and Creditors 36,000 29,000
Wages 25,000 -
Salaries L4,000
Capital 1,14,000
Income tax 1,600
Discount allowed and received 6,300 4,60A
Sales return and Sales 550 2,09,950
Bills Receivablesand Payables 3,200 10,000
Office Furniture 3,050
Rent, Rates & Insurance 4,000
Bad Debt Provision 670
Total 3,77,320 3 , 7 L , 3 2 0
MCS-035
Adjustments ;
(i) WagesoutstandingRs. 5,000.
(ii) Charge depreciationon freehold premises @
5% and on office furniture @ I0o/o.
(iii) Insurangeto the extent of Rs. 2OOrelated to
the year 2006.
(iv) Stock on 31. L2.2005 is valuedat
Rs. 5,20,000
(v) Charge interest on capital @ 5o/o and on
drawingsRs. 300.
(vi) Bad debts for the year Rs. 1,000 (not
" recorded).
(vii) Provide for doubtful debts @ 5o/o on sundry
debtors.
(viii) Make provision for discount on debtors and
resewe for discount on creditors @ 2o/o
(b) The comparativestatementsof income and financial
position of KailashEnterprisesLtd. are given below :
2005 2006
Particulars
Rs. Rs.
Sales (Net) 1 , 5 0 , 0 0 0 r,84,000
Less : Cost of Sales 1 , 0 0 , 0 0 0 1,39,000
50,000 46,000
Less : . Operating Expenses(lncluding
44,000 42,000
Rs. 6,000 p.a. for depreciation)
Net Profit 6,000 4,000
MCS-035 P.T.O
2005 2006
Particulars
Rs. Rs.
Assets
Cash in hand 12,000 L4,000
Debtors 60,000 36,000
Stock at cost 24,000 18,000
Fixed Assets (net) 7,Q2,000 1,06,000
Total 1 , 9 8 , 0 0 0 7 , 74 , 0 0 0
Liabilities
Creditors 38,000 20,000
Debentures 40,000 30,000
Share Capital 1,00,000 1,16,000
Reserves& Surpluses 20.000 8,000
1 , 9 8 , 0 0 0 r , 74 , 0 0 0
Compute the following ratios r
(i) Current ratio for two years.
ason
(ii)'iJ";H,o;'J;'J:J#"rffi';f"'u
(iii) Average collectionperiod for two years (all sales
are creditsales).
(iv) Debt Equity Ratio for two years.
2. Explain the following .accountingconcepts giving suitable
examples:
(a) Accrual
(b) Conservatism
(c) Materiality
(d) Consistency
MCS-035 4
3. Explain the concepts of working capital cycle and cash
conversion cycle. Why are these concepts important in
working capital management?
managerin a firm.
MCS-035 6,000
MCA (Revised)
' Term-End Examination
, December, hOOG
MCS-041 : OPERATINGSYSTEMS
sny
Note : Question number 1 is compulsory. AttemPt
three questionsfrom the rest,
l. (a) Draw the Gantt chart for the First Come First Serve
(FCFS) scheduling policy and calculate the
turnaround time, average waiting time, throughput
and processor utilization for the following set of
time shown
tDrocessesthat arrive at a giuen arriual
in the table 10
Processing time
Process Arrival time (Millisecs)
Pr 0 2
P2 2 2
P3 3 1
P4 5 3
PD- 6 4
P . TO
MCS-041
(b),?:'TilllJ:
:Ti::
"rLi:1,*''J[,ffT,:,
about the hardware support for paging. 10
(c) the designissuesinvorvedin
:ff;:."#*r:" 10
:(d) Define the Deadlock state. How do we prevent a
deadlockusing the Havender'sAlgorithm ? Explain. 1 0
MCS-041
5. (a) Write and explain the Dining PhilosophersProblem.
Also, provide the solution for the problem using
semaphores. 10
(b) Explain the concepts of Processesand Threads in
WINDOWS 2000 Operatingsystem. 10
MCS-041 6,000
MCA (Revised)
Term-End Examination
December,2006
any
Nofe , Qu estion number 7 is compulsory. Attempt
three questionsfrom the rest'
group 1
Draw a spanning tree, a multicast ttee for
3
and for group 2 of the abovenetwork.
P.T.O.
MCS-042
(iii) Draw a three stageswitch. There are 18 inputs and
20 outputs. Stage t has three switches,stage z has
-two switches and stage 3 has four switches. How
many cross points are needed ? Compare it with a
systemusing just one crossbarswitch s
(iv) Consider the following network with the indicated
link cost. Use Dijkstra's shortest-pathalgorithm to
compute the shortestpaths from A to C and F. rc
MCS-042
(ii) What is count to infinity problem ? Explain your
answer with the help of an example.
MCS-042 P.T.O.
5. (i) Explain with the help of a diagram operation of the
flow control mechanism in TCP. 10
MCS-042 6,000
MCA (Revised)
Term-End Examination
December, 20A6
1..(i)Definemulti-valueddependencies.Which
multi-valued dependencies (MVDs) hold for the
following relation ? Explain. 5
P_No Colour Size
P1 Red Large
P1 Green Large
P1 Red Medium
P1 Green Medium
P1 Red Small
P1 Green Small
P2 Black Large
P2 Black Small
In this relation each product comes in a range of
colours and sizes.
MCS-043 P.T.O.
(ii) How is the checkpoint information used in the
recovery operation following a system crash ? 5
MCS-043
(iii) Identify the functional dependencies which hold for
the following relation :
P1 F1 WH1
P1 F2 WH1
P2 F2 WH1
P3 F2 WH2
P4 F2 WH2
The above relation indicates where each product is
#"l:ffiH:?:;1.
;:1:, illl:;
:::i"ff::::
only be stored at one warehouse.
MCS-043 P . TO .
(b) Show the detailsof all the memberswho have
been involved in any event organized by the
societywhose name is "XYZ".
MCS-043 4 6,000