Professional Documents
Culture Documents
MCA-VTU QP-June-July-2023 JOINTTTTTTTTTTT
MCA-VTU QP-June-July-2023 JOINTTTTTTTTTTT
M.C.A.
USN
2OMCAl1
5
!
I a. Dellne Stack. Explain with code
operatmg on stack.
b. Write a C program to evaluate expresslon.
(08 Marks)
()
c. Illustrate with an example :; "'1"" '
&cm lnflx to post ,e-Xpression"
(06 Marks)
(06 Marks)
o
!
crr '
-=
d-.
t,::
a 2 a. Explain
with example
-:, b. Write a
fro*n infix to postfix.
(08 Marks)
FX Explain (06 Marks)
memory. (06 Marks)
so *:
-l
3a" Write a
t,z
.=c with example.
b. Write a short note on priority queues,
ad)
=i
.':
!=
2.d
4 a. Define circular Explain its
lt,,
6=
?, lE 5 a.
r i'l
realloc free with slmtax and
>t r* (10 Marks)
ll, O
insert &ont delete front and
0=
(10 Marks)
--
c2 GI{
6 a' o'o,tam tur demonstrating queue with inserr. delete display
; ,tlffi i.rl operarion using
Z b. Write a note on header node vvith example
for it. (ru I'iarks)
c write code snippet for itrserti'g and rending
no.k, in linked list based on data.
l|] ffii:i
L
I o{'2 2
T
2OMCAl1
7a. va.o-u.s steps in tundamentaffi*,"
b. Htly
txplam any 5 important problem lving. (10 Marks)
types in ire study
(10 Marks)
10.1\Iarks)
(10 N{arks)
.
OR
10 a" Write an algorithm fo'd'a:brge sofi, find
time complexrty of merge sort and example
for it.
h, Write and exp lain Krushkal's algorithm
(10 N,Iarks)
wirh suitabie examp le for it.
(10 Marks)
*****
il:
.i
t ,{i::r". I
:a{ .r,.::
'l[ "{
:11'
*..1
2 of2
3
,,,iJ, '':::u,''
USN
2OMCAl2
(10 Marks)
b,
(10 Marks)
2a.
a) algorithm with example.
b. (10 Marks)
c_.i (10 Marks)
c.
3
-,, (10 Marks)
b.
(10 Marks)
=a)
4a.
(10 Marks)
a> b.
t, (10 Marks)
}, ,:
ua)
5a. Explain the Unix
the p,ar,,ent child relationship.
b. Explain absolute (10 Marks)
'ri
(10 Marks)
-a
.- ::
i:,.:,,.'
(10 Marks)
.
>aL
^"c 8 a.'itiWhat is shell
(10 Marks)
t.= Write a shell takes
Efl b. the sub argument recursively descend all
finds the length cf any file in that hierarchy and writes this
=r
5- max to the
oa (10 Marks)
-aJ Module-5
9 a. Expiain structure of an with example.
Z b. Explain Builr-in f awk with example.
(10 Marks)
(10 Marks)
P
I a. IfA,BandCare
O (i) A-(Bnc): (A
i.
L
^.
(ii) Au(BnC) NA (06 Marks)
b. How many I and 300 (inclusive) are:
(i) Divisible of5, 6, 8?
one
-c
-!'
5il l-
(i, of5, 6,8? (07 Marks)
.=+
-!
o>
D2 ')q
.i:
OO
b.
!>
'l e,
(i) How viewers in the all three kinds of games?
(ii ) viewers one ofthe sports?
zn
.: c. If we lO-points in
(07 Marks)
of an eqr-rilateral triangle of side lm. Show that there
CI must be Ieast two
o- E distance apafi is 'less than 1/3 m. (07 Marks)
-)E:::.
' i:'
a,tE l'::' Moddltuaif
=! 3
LO Prove-'&at, for any propositions p,
e, r. The compound
bll o
(p*+r)n r)) l -_)r' lsa tautology (06 Marks)
without usmg truth tables;
(p+q) (r v -ql e* (07 Marks)
=>
=a
-l
O c. Give a of the
U< (, "The square of an odd integer is an odd integer,,
'_N (ii) For all integers K and .t, if f and l. are both odd,
a
then {K + l) is even and (Kt) is odd.
Z 1n
(07 Marks)
I OR
q 4 a. Write down table for converse, inverse and con trapositive.
E State the convers
inverse and ve of the following conditional, "If a quadrilateral
is a parallelo gram,
then its bisect each othet''
(06 Marks) 5
.l
n{?
\
i'"::tY*'Y
'''r r;q
--.
iatrni:{,
&. .,1*1.- -'":h..
;F
2ONICAI4
b. Find the validity of the arguments
I will get grade A in this course ori
will not
IfI do not graduate, Iwill join the army
I
5a.
b.
6a.
b
c.
7 a.
of a X is given bythe following table
X ',"'E;"'
0 I 4 516
-t
b.
"if,,,
6
'i.,
..:. :,::.tllt. r
'=+,,,, :i'
,;t
2 *f3
-:l
20MCAL4
OR
8 a. A random variable x has the density function
P(x) =
[x*'- -3<x<3
1
I o, elsewhere
Evaluate K and find (i) P{1 < x<2) (06 Marks)
b- The number oftetrephone lines busy p if
0.2,
an instant of time" 10-lines are
{i) 5 lines are busy (ii) At most (07 Marks)
c. The weekly wages of workers of Rs.700
and standard deviation of randomly
chosen worker is: (i)
Civen S{1):0.3413. (07 Marks)
Module-5
9 a. Define the an example for each : =
t" Ll
,'""::1.,,,,..
L.
n r1 Cq
10
(06 Marks)
non-linear graph
(07 Marks)
)
J
i* ,,r
,\ vl
;tii n
Lr*
(f1
Fig.Q10(c) (07 Marks)
:f{<t**
,l
y 7
'"',&fr 3 of3
E
D
LS\ 1
1 M L C
Q.1 a. Define Set 11 Power set with an 6 L3 col
b. For any sets A and B, proye that 7 L3 co1
(i) AvB=AnB (ii) :AuB
c. Find all the eigen values vector coresPonl!}q the largest eigen 7 L3 col
-6 2
value of the matrix jr:l:t
=
6 7 *4 :,:::,,
t::,:,a=
..:: 'tA1
/ 1
-4
OR
Q.2 L. State principle. ABC is an triangle whose sides are 6 L3 col
of we select 10 po the triangle, that atleast 2
of are such that the them is l/3 m.
b. Ina of 260 students the data were 64 has taken 7 L3 co1
maths course, 94 taken C.S. 58 had taken
and business, 26 has toLpn and C.S 22
course, I TA had taken all courses. the
had taken, the S l1 None of
c. Lest 7 L3 col
x 0 ,li'
. :::::::.
x 0
1) 0 ), f( t), f( 5t3
i
fl t f I fl
_7
Q.3 a. Write the c0nvelse, o ihe conditional statement 6 L2 c03
(
home team wins 1S
.'ili: ':
one .,YG.,':?
"
or r11ore fuses
two fuses.
c. The a patrent tare lood disease is 0^4. If 15
a 7 L3 c02
people are to have the disease. What is the probability
that ii At least 1 0 survive
ii) From 3 to 8
5
OR
Q.8 a. A random vaf iable fo llowing probability density function 6 L3 co2
a
kx X J
f( x )
0
Evaluate tind ( i) p( x 2) ( ii) p( x ( iii)
Z) p( x 1 ) 9
22MCAII
b The market of 1000 students in an examination follows 7 L3 c02
u'ith mean 70 and standard deviation 5. Find the whose
marks ri i11 be (i) less than 65 (ii) More than 75 ( 65 atd75
Gir,en that I - 0.3413
c. A random variable X has the following pro function for 7 L3 co2
various values of x :
x 0 1 2 J 4 6
pix) 1-
t( 3k 5k 7k 9k ,,1lk 13k ,1,,,
l"lt he
t ,\rlq
$, D
hg t^g 3-Vg
rig.Qe(bXi) Fie.Qe(bXi0
c. 7 L2 co4
: \r
=
fl vr
1
-]]::::,, .::::
.::r:::::: 3
iii..."TEiii
'!10!, '1,
I "{i&rrr
l0(c)
***{<*
ia,_
,ir{e \"'
10
usN
ffiffi 22MCAI2
I
Mod M L C
Q.1 a Detine an 0perating S ystem. E*p lain
o f d compu ter system with a neat diagrarr.
view of the 10 L2 col
b Describe the operating system with a neat 1lr.
10 L2 co1
OR
Q.2 a. Explain the operating ces 10 L2 COI
b. Define a system cali. the tlpes of system 10 L2 co1
Module - 2
Q.3 a. Define a lain the different of a process with a neat
diagranr.
8 L2 co2
OR
Q"4 a. Define a thread Explain llts of rnu 10 L2 co2
b. Describe the dif'ferent ng models. .i!::
10 L2 c(}2
Module
Q.s a. Define cess. Discuss the sectron
list the requ
and also 10 L2 co3
to the solution sectioc
b. Detine a semaphore Erp Iai 11 the
) and si Outline 10 L2 c03
the mutual exclu slon impl with
OR
Q.6 a. Consider the followin ofa 12 L3 co3
Available
C D A B A BC D
P6 1 2 001 2 1 52 0
rr.
p^
0 0 0 17
11
5 0
I 5 4 17-) 6
0 6 J 2 06s 2
4 U 0 I +A a6 5 6
algorithm.
SA fe sequsnce.
4 ) 0,), can the request
I of2
11
22MCAI2
b Explain the step s to recover from a deadlock with an
8 L2 c03
Module - 4
Q.7 a. Write a C program to simulate paging technique of management. 10 L3 co4
b. Explain the segmentation hardware with a
10 L2 co4
OR
Q.8 a. Explain the steps in handling a page fault neat diagranr, 10 L2 co4
b Consider the following memory re e string 7,A,1,? , 0, 3, 0,4,2,
3,2, 1,2, A, 1, ?, 0, I for a
0 10 L3 co4
three frames- page
faults wiil occur with respect page rep
i) FIF o page rep
ii) Op timal p age rep
iii ) LR U page rep
Module - 5
Q.e a. Define a File the attributes of a fllc. 10 L2 cos
b Discuss operations on a fi 10 L2 cos
iii) directory
J:i:: : {, qiri::.
''i
-.,,,,
\
'U,"' ,,,.i,*,. ifl
!1.
i
':.:.
.:
:
u,
y..?
,,,'{iitr. ,,,,'r-""t\,,,..,-'
' ::: ,s :.: ::::::::.,.,
"trli'
'.
"*
:: ..
,:: i.:.. ,
:;1,!
2 of2
12
ffi$.w
I
22MCAL3
US\
Firs
M L C
Q.1 a. Wliat are data structures? Explain the ation of data 6 L2 co1
OR
Q.2 a. Write a C pro ert inlrx to postfix cxpressitin. 10 L3 co2
t!:|
-2
Q.3 a Write a recursive tlnction tact{n) to lind the factorial'of an lnteger. 10 L3 co2
Diagrammatically explain how the stacking and unrlacking takes place
during execution for f'act(u).
OR
Q.4 a. What is recu{sion? Write a program to implement towers of Hanoi problem 10 L3 coz
using recursion and trace the output ior 3 disks.
rii,
Module -
Q.s a- about of functions, 10 L2 co3
"oR
Q.6 a \\'ritc a note on gctnode( ) and iic.'node( ). 6 L2 co3
c E,rplairi iinked iurpler:nentation of stacks with push and pop operation using 10 L2 c03
singly linked list.
I of2
13
22MCAI3
Module -4
Q.7 a. Define a Tree. With suitable example explain: 10 L2 co3
1) Binary Tree
i, Complete binary tree
iii) Strictly binary tree
iv) Skewed binary tree
9(ai
' ;il:::,,,
'i'it,.,.i'
=t4 Q e(b)
OR
Q.10 an aigorithm fot sort array contains 8 elements l0 L3 co4
follows: 77,33 ;1@'{ 88, 22. 66, s the array using insertion sort
algorithm 'ni6ri
.:::
"'irft.. .l
,n Sdnh" ;r
.-a')-/-
') \r1
L
14
Gffi$Wffi
USN 4
M L C
Q.1 Z. l)efine Networks, Illustrate the categories ol Networks with,,:::suitable 10 L2 co1
diagrams. '
l
OR
Q.2 a. Describe the functionalities of I'CP/IP protocoI suite. 10 L2 col
t Classify the levets bf addressing used in an internet employing TCP/P 10 L2 col
protocols.
Mod )
Q.3 a. ldentilythe causes ol transrnission impairment. 10 L2 co2
-3 ii.:
.i.ii
OR
Q.6 Represent the networks ul communication- 10 L2 co3
--. 'ri&.i. ri
1 of2
v
15
22MCAI4
OR
Q.8 a. Dc.scribe the process ofCRC
encoder and decoder with
10 L2 co4
b. Discuss abou t checksum errol
detection with 's complement
and mternet check sum. 10 L2 co4
Module -5
Q.e &. Discuss tlre design and algorithm
of in noiseless channel. 10 L2 co4
b. Represent the design and algorithm
o and wait protocol in
channel. 10 L2 c04
.N
,i!?t:
.1;
. 't=ll"
:'1 +:i,
l'':::'i'!r
r,itr .&;
Lr ri!i: r"
.:r,t :#'
'*:' i,
!.-:r{i:
-4 ::,,
.it.. *.1':;r
"i'i/i
.,*i...li
i:,::i...........:4,-ii'ri"r:;.
t
..:.+ '!t":
::.
:iir
1f
.,',te :ii
.!,.-
-'+ 1f'
.,,':":1".. "f
'''t$;. =
t:l
,;::,rli 'i:r::tr,,
J:
.- ii:. .
:"
i::::'l
,t..":;;:.:+ i
"t::, :
5' .:it
,:tj''
;+
.,'1ii:, ,:::1"
*"+
;.:.i=!,4,F )'
.i"'::lt. . '..!
,i.l;--
r[ ::iir,,,i'" 2 at'2
16
J ffiffiffi 15
USN
First
Time:
full question from each module.
M L C
o a. List otrt important problem types, any three of the m. 10 L1 co1
o Q.1
O
-
E OR
O
a Q.2 a. List out the structures, Explain any two o f them. 10 L1 col
.E
c. Prove &e theorem. lf tr(tt) € 0 (n) ) and t:(n) eo(g:(n)) then tr 5 L2 co2
a
,E c..r
in) + t:(n) {gr{n), g:(n) i
fo
Mo 2
OR
U= I r,' rrte
algorithm mergs sort complexity. Sort the 10 L3 co3
2A Q.4 ?t.
following merge sort. 8, 2 9 4
'-^
2a
=v
b. What do by ofa graph? F topological 10 L2 co2
order of the graph by sollrce removal m€thod
a;
;a "'ii.t$r ::!,
o::
A'l
=.-
.,c
>!
-?
Fig
=?.
-3
a:
a, Write apply the 10 L3 co3
Q.s
L,< Prims graph and
-i 6i
o
find of
z
L
o.
6
&..
r+l':l '{Si
:4&s,i"=:
Fis Q5(a)
I of i 17
22MCAI5\
b. Write the Kruskal S algorithm.
Find the minimum
glven $aph using Kruskal for the 10 L3 co3
S algo rithm.
,
3
6
rL
ir=y?
)
J
Fig a)
4
Q.7 a. Warshalls S find the closure for the 10 L2 co2
Fig Q7(a)
b. Write S
apply this algorithm to find all pair
for the given 10 L2 co2
r_
-t
,",+ i,
;'-4".,-':iit I
!'i:a;:4i1
rie Q7(b)
"tn::i\
'::'i;i!
a ,-f
-ul-,
r
18
22MCA15
OR
respect to t2 L3 c03
Q.8 a. Discuss the knapsack problem bY dYnamic Pro
the following
Items Weight Value
1 2 l2
5
2 1 10
1
J -) 20
4 7 15 ;:l
-5 10 L2 c02
the 4-Queen discuss the
Q.e a. Explain Backtracking.
passible solution- ,#
OR
and Bound assignment Problem using 10 L3 co3
Q.10 a.
technique.
/) 4 + person.
I
,._:?iil.
i" 9
.\1
u $'
.i ..11&r,
,S::::
.:.J&.:.
ti.'
? r:::=. ,*
:il$i,,
6 +J b ''':'11""'
iii:::: E
$r
j"'=."",fu"
581 8 c ""
1 :i::::
fr
I
i'
.:l
7 69 ,* '+si'
;d ?
r4Lr
::rla ':]w
*ts. .,:,,4** '
',r!iil+.::' :::'
:+, 1E:
_--. 'u:::, i
.,,,,r"
.,a..=
.: -t'::
i
t:i .,l{ni:, -.
;{ir 14; ...,.7 _
&r-"ft,
"til::. r:r
.:-i$,,,- "":1Y
;t.='*"t:
.4': ""4h:' '.r/,
..ii".i:
-_... ,:r
.:" :l=i f
,d
.r:r::::.
,1,
rit::::" '$i
'"=.ll
E
at" '$
3 ofi 19
."'fu=F'
,fl-o .flJ -A,L -f13*, ,n c-A
eB,ffi$ffiffiMffi
USN
....::
22MCA2I
Second June/July 2023
Database
Time: 3 hrs. Max. Marks: 100
!,!
'Cc
6a. clauses? With
CE
(06 Marks)
c- b.
-= F. (06 Marks)
oi of types of drivers (08 Marks)
y6
9O
7 a- Discuss informal des (10 Marks)
>\ '+ b. Slhat is Normal are lNF, 2NF and 3NF. (10 Marks)
-.3
cl!
=
-;_ f,
=u
8 a. Explain (10 Marks)
x!
b. Discuss (10 Marks)
Module-5
; 9 a. Explain ACID in details (10 Marks)
o
Z b. Discuss the les based on recoverability (10 Marks)
E
c*
F
,a,.
OR
10 a. Discuss a Lock- *,baSed concurrency control issue in DBMS transaction processing
::::;,,.;l
(10 Marks)
b. Describe Granularity of data items and Multiple Granularity locking. (10 Marks)
20
**t**
@ffiffi A22
USN
M L C
Q.1 a. What is scope and lif'e time of a variable ? Discuss each with the kelp of a 10 L2 col
java program.
b. With the help of a proper java bode, explain tlpe conveision and type 10 L2 col
casting.
OR
Q.2 a. Explain the working of for-each version of for toop usrng a lava program. 10 L2 co1
*2
Q.3 a. What is inheritance? Write a java program that implements simple 10 L3 co4
h What are the two difierent user of super keyvi,rqrd in java','] lliustrats-' r'aclt 10 L2 co4
with proper exarnplcs.
OR
Q.4 a. Whal
1s
dynamic rnethod dispatch? Erplain.hgr, superclass reference
1 10 L2 co3
variable can refer to a subclass object with the help of a program.
b. I-ist outthe conditions that are need to he followed while usirig while using 10 L2 c03
abstract qlasses. Demonstrate the same b1' creating an abstract class and
method. , :,, '
Module -
Q.s ffi,: Detine interlace" Di*cuss the fbatures of inrerfirce and explain them with the 10 L2 co3
help of a java program that implements an intertbce.
b. List out thc diflerenc es hetween abstract class and interface 10 L1 co3
OR
Q.6 a. What is package in Java? List and explain the system packages injava. 10 L2 co1
\!ry
I of2
21
Module - 4
Q.7 a. What is the use of multiple catch statement in
Discuss 10 L2 co5
with a Java program.
b. Weather try block can be nested in Java? If yes, with the help 10 L2 co5
of a java program.
OR
Q.8 a. Write aJava program which uses
for handling 10 L3 cos
b. I{ow to crcate a custom exceptiorl in java? Demonstrate usrqg
program -lava 10 L3 cos
).
'i;
-r: ,sila
.,+.-"lF:,.'i:.
.i'
,,r 1],-r.
"{..:iiL: ;
,,: ,tri: ,lt-= *rl,,r
Sr.sl.i'
t'
,.: ''rlln ii
':U:,::. .!
''.tf,'
...:|:
::,'
of?
.i1,,;,, :,i
2
22
,,,jt: .,1
il
a
ffi
n
,
t-:
22MCA23
USN
Note: l. Answer any FIVE full questions, choosing ONE full question fro*,e.AOh module.
2, M : Marks , L: Bloom's level , C: Course outcomes. ,,i:itiiir" i::::
rl'
dule: I M L C
b. Why the software is irnportant? List the r:easons. Brief the 10 L2 co1
essential attributes of '.':,
OR
Q.2 a. Describe the and incretnental process models with 10 L2 col
suitable
eliciting .::
,,ii:::...- ai
..;' "'+::
b s the of engineering process with 10 LI c02
diagram.
*3
Q.s a. Explain the and with examples. 10 L1 c03
d,,. OR
Q.6 L. What is N ion? Illustrate the aggregation with associations 10 L1 c03
and suitable exampies.
23
h- Exnlain of reification and constraints with neat diagrarn and 10 L1 c03
;
22lil
Module - 4
Q.7 a. Explain system models with suitable example.
10 L2 co4 I
b With neat diagram, explain the working
advantages
f RUP with its 10 L2 c04 \
t,, '
Q.e a. Discuss "Test Driven (TDD) with its and list out its 10 L4 cos
beneflts.
,r****
tu
..a::+ 'T:
:::,$::
.qI ,,':,S,,.:':4:,' '
I
l'/ l':1iir "
.:::i;F,,.
l'all
,""'{t,, ..r}l'
,18:: I s:'
'$='ry<
*r
sli
ii..:::::'
\i:11:
14,,
+':'41::;:'
,::rik:.i
.li
.lEl::.
a''::1l't
.iri'
.N&.
.,: r 1{t:'
..:atr 1l
24
':+,,
USN
ffi 22MCA24
1 M L C
Q.1 a. Define HTTP. Explain the different phases of HTTP. 10 L2 co6
OR ,,:::"
Q.2 a. Discuss the basic structure of a HTML5 rvebpage. 04 L2 co6
b List and explain any tluee tr"om elements in HTML5 with a suitable 06 L2 co6
example. ,,' '
Module - 2
Q.3 a. What is CSS? Describe, the different levels of CSS style sheets and their 10 L2 co2
precedence ",i:,i.i::_ :::
b. Mention any five :C SS selectors um,f$e*"p lain their r"rse w'ith a suitable 10 L2 co2
example.
,
OR
Q.4 a What is an array in .lavascript? Explain the various ways of creating arrays. 10 L2 c02
Mention any five array methods and explain their use.
b. Write a Javascript program that accepts a value 'n' as input fiom the user 04 L2 co2
and display the first 'n' fibanocci numbers as output.
Module - 3
Q.s a. What is boot strap? What are the features of boot strap? Create a simple 10 L3 co4
webpage using boot strap.
Q.7 a. What is jQuerry? What are the of jQuerry? Explain the syntax 10 L2 co1
ofjQuerry script with a suitable
:: rl ''$.
b. Develop jQuerry programs to
(i) Show{ ) and hide ( )
the following
+r
effects: 10 L2 col
) and fadeout( )
OR
Q.8 L. What is jQuery ? What are the used for DOM 10 L2 col
manipulation? Develop a jQuery program to get qJtribute values.
Q.10 A. What is a Angu lar JS Service? any three by using code 10 L2 cos
snrppet.
26
ffiffiITEMH
USN 22MCA253
Module&*: M L C
Q.1 a. Explain in detail the fourprocess in a cycle vie,,v. 10 L2 col
b Discuss in derail ahout rhe obstacles in achieving strategic tit. , ' 10 L2 co1
OR
Q.2 a Erplain with suitable diagrarn rhe decision rnaking framework. 10 L2 co1
b. What are the factors
r'.. "'l::.ii.
to be considered during the selection of supplier? 10 L2 co1
Explain,
"'6a,,,,..
Mod
Q.3 a. Exp the ERP implementation strategies 1n detaii 10 L2 CO2
-4
Q.7 a. Explain vender info detail. 10 L2 c04
b Write in about oracle corporatlon 10 L2 co4
OR
Q.8 a Write in dstail about company 10 L2 co4
b Discuss in Indian ERP market 10 L2 co4
1 of 2
27
22MC
\
Module - 5
Q.e a. Explain in detail the turto charge of ERP system. 10 L2 c05
b What are the future directions of ERP? -r, ,EW, 10 L2 cos \
'- -
'd,'n ""
OR
"'rr{ir
!1*,,
i ljl
ii]
-,,:+, .i
_rji:ir':"
.:1i,.
:..:::
h:*.lI
.,..4:i
,li
4t
,1ii
,ir:
'
"::::'
":; :'
28
2 af2
USN
ffiffi 22MCL262
1 M L C
Q.1 a. What is artificial inte list the task f artiflcial 10 L1 col
intelligence.
b State and explain a best first search algorif]irn with exanrple. 10 L2 co1
OR
Q.2 a. A water Jug 10 L3 col
3-ga11on
the jug,
on it. How can, )ou get exactly 2 gallons of water in
the 4
i) Write the production rules for the above
ii) Write one solution to be abovs problem.
. -.Eit-t .:: ,'1,.,.-';;'
b. Elaborate the steps of so lving travelling salesman problem. 10 L3 co1
.#.
"'
MOdUIe -9:':':':"
Q.3 L. Describe the issues of,knowledge represe nt at ion. 10 L2 co2
'.1
OR
Q.4 a. Elaborate the four properties tbr representation of knowledge in a good 8 L2 c02
system.
Color
Red Domestic
Red Yes
Red Suv No
Yellow "&u 1
No '"i{,!'
,1"=.-
:*ffi
Yellow Suv Yes "ffi, T
Yellow Yes
Red No
i0 'i'1!..4
:
iii)
iv) .d.l:::: \{:
"{l'. ,j'?,b
v) network.
5
Q.e a. Elaborate system role acqursrtron. 5 L2 co5
t
b. Briefly write on exp based learning and explain rote learning 10 L2 cos
with an exarnple.
c,
1 a. Discuss the various primitive auru rr* le in java rvith suitable exi nrples. (10li{a:rks1
b. Write a Java program to periorm multiplication of tr.vo rnatrix using two;iintensionai ar':'a1'.
'o
O (10 Markst
o
Ui^,
OR
z 2 a. Discuss any five methods of StringBufibr cltrss r.vith applopriate example-s. (10 l\ilarksr
d9 b. Explain Else-if ladder and su,itch statement with its syntax and example. (10 Marksr
I I
-=!
'E+ Module-2
trr 3 a. Explain r.ariable-length argunrents in Jar-a rvith its syntar: and exarnple pr()gram. (10 hilarks)
OH
-qQ
b. Illustr':rte static variable. static nlethod and static block in -iava rvith an exa,nple. (10 Marksr
(]>
La
4 a. Describe abstract class anci alrstract ,rr.rf3[in java wrth ;t: syntar anci cxiiLripie. (10 iriar'ksj
b. Explain dynarnic method dispatch in java rvith an examp[c program. ( l0 lv,l a. rks t
Module-3
r'6 5a Describe lrou an interthce extu'nds one or m()re interfac.es rvith a sr.ritable exampie.
(10 Marks)
b. Write the follorving java program to create package and rrnport it in other iriograrn :
i) Create pa.kage callecj shape
o-;
!L ii) Define a class called Triaogle.jara in shape packagc. Triangle. jar,a sirould calcu.ete the
o'" area oltnangle.
oj
d6 iii) Coinpile and imporl shape Triangle in another class festPackagejava ('IcstPackaqc.java
9ts
aa class should be in another packaae test). (10lvlarkst
!0)
o.d
}.(F
boo OR
trbo
'nc
6=
6 a. Illustrate the use,of throw and thrcrws f..y*o,'4. in jar-a ri,ith exarnples. (10 hrarksl
E?.
b. Construct a java progmrn to irnplement a queue using user defined exceptio:r heuidline.
(10 Markst
o{
*N Modulc-4
o
7a. l)efine rnultithreading. Explarn thc nrechanism of- crea:ling thread using runn:ble interlace
rvith an example. (10 lvlla rksl
f b Construct a .lava program to create an enurureration day of week rr,ith seleu r.alues
SLIIDAY through SATURADY and add a method is to thc Da1.c,ftveel: ciasr;
'vorkday( ) 31
tliat retums tlue if the value on which it is called rs Monday througJr FRII)1r.Y. I:oi e>rrnlplc.
't
,i'i'::i,. lr
'I rll !r::l'
: !::i
2ONICA2z
interthread
b. Itrlustrate autoboxing and auto unboxing (10 Marks)
in expressions with an example
i*
(10 Marks)
10 a. Write a java
OR a$
which uses dat4gra1n socket to demonstrate client server
b. Define Write a simple Java pi&girarn to
-ll.',i,'
classes.
d::r
show workins of user o"*"f'#,1ll'l
(10 Marks)
;d
*ss./
e- n
*'&*#
d-b-$
'!.*Ld
d
r r* r- "
':&.{
.rit
.t
- "',,,.&,. ,,'
,.'J.
d***
nr+1
t
2 af}
,!:*4
,:*&,,.
fi.:::1"
i::::t*r. iE'.*:: "
:,
\:...1*:.4/
32
USN
ffiffiffi I, : ,:'
}O}/ICA24
i,'Jtll
2 a
(05 Marks)
b,
(05 Marks)
c
the advantages ofthe same
(10 Marks)
-., C
7 a. Explain state behaviour (10 Marks)
b. Explain the components of
(10 Marks)
XO
3!
-'4
U< a
8 Along with a diagrarn, explain different
b. Explain diflerenr use case relationships.
il., "r".11cunency.
(10 Marks)
(-)
(10 Marks)
Z
9
F
?Expiainbrieflytt1l;down",,i*,tio,,m,-upappIoaclrinestimation' (10 Marks)
c. b. What is coupling? Explain diflbrenr gpes of couplirg'
(10 Marks)
OR 33
10 a. Define Risk. Expi ain top five risks and techniques to manage
those risks. (10 Marks)
L1'-A.is,.rt tvl cfi
/ i$ili$$$
LiS.l,i 20V[Clr.3]t
.. :
ih
x5
l) ---'-----"-
- g [lTIc t- ]1)
i------'-". -'
t./ 'Bu X
'1)
3d
ll -l- -l
.t)
?tt
d PrJ
Ni (,,
,E cio h,"
.S .'.t
it) c.
-,D
Y', t
'ii fr
aD ,,
a"
/rE h"
-tt
!,
rJs -lI
:a: :D
!c t:.
rL)
ara
,:, !
i, ti
LU
6.*
iLr
3
ol. "
-: .t3
:l u
j!
/\4
'i
(\
iii) tre:nc'r/o th* tirst:lernrent
0
,f lv) rC''rir 'r/o I -,.' l,lst r,:[t:men;
;1,
\,) in:;crt ,i irrro :jrr. llcle.\ I:0s,:iln l
'/i) r9,:nc,r/e l.a,l eleil:ent in ind]x ptlsition 3
'i ii) rel,el se o i'rr iernrrrls in ;r
,: i':,:trents, (0ii l\'ltrrtrs)
l- stj:ucture' dir:tir..rrrary a.lc1 [h,ai methc,ds ,itl:rns( ), uprlateri ). (0{ill'lark,r;)
.4.-
34
':ir. ii
,,,,:,:. .: " "::ll
I c,t'J
:=: 1:
:t i.,!
tr
4a.
h.
5a
0
lll;,.
l, t [it
6e.
b
blo,:k to create a series witir I In ,lri.lller:,;, t'r, , 1.,1, .l.il arr ;l qtl)l',i (--)Jrhr the ua.hi,::;
grealer than 2Ci inlrr (1(| lvlariiiil
'i.
ii)i Concatenate the lwo ClliV ti;les cor]t:i:)rr.::i siiorerj ,rr 1,,),it;it::r'r:Lrl:
iii) f}r6p'na'values
iv', Change c:olumn nanles
v) Fill missingval,.l,is usi:ng fillna( ) tlo t/artkiiir
b. Explain the lblXor,ving rJata translbrmaiti:,r tri.rir:iionr;
i) clurlicated ( ) ii) drop - duplicatesr, l ili} nmp( ) ') 'u)isllrll(
ir.lr rclll,r;u,:'r;rl ). (l0 tr{.arr:iiiri'r
35
'
.l l
zOMICASI
redsle-5
9 : \I',/Lir-,r: a r1,thon pioilram to prht a simtrlle S cosirre \\/ar,r€s trsillg Matpllc .lib
lirre style as dott:d ftrr sirle tvvil'vi:,
anil, 'y' ax,ls ianqe along v'iti:. lli:rt
(1il ll'l arkti)
b. of percenta"ge secure C by sturlcnls.
Cust,c,mizer tlte fbllovliljl setlirlgli :
=;i::r4at&
*'*.:1*
1'tilif;iE ,!;!
:::::::
,- :""
[]
:, ....:::
,,:, f''
..::::::::.
:::
illi' :r.
,.utr*'t'
:::'
:,:,,
3 oil
iti:)t,
.t
.rl1'
36
ts
ts
t's\ 2OMC,{32
, OR ,r+, il
3a.
b.
.=N
4a.
F- b
D2 (05 Marks)
c. With a neat diagram. explain ln sensor network. (05 Marks)
,,>
L'o
5 a. List and explain (10 Marks)
b. What is COAP? lain its field. (10 Marks)
2(j
'":::::. .
Yn 7
(10 Marks)
examp ,le. (to Marks)
,,,:1,''
q-
>1
-,' . 8 of (FNF) .
o=
E,1 b. Discuss some (10 Marks)
(10 Marks)
r>
^7)
o
c{ 9 a. Write a program on
o
b. Expiain Arduino uno micro controller. List technical specification (08 Marks)
of Arduino uno.(06 Marks)
Explain the interfaces of Raspberry P;.
Z (06 Marks)
a-
1-
TS\
effi
20vrcA342
Third Semester MCA Degree
n, June/July 2023
Gloud G ng
Tirne: 3 hrs. ,,,.,,..'''* -
= 7
?.Definec1oudcornputing?Discuss,,ffiteristics'
6 b. Discuss rhe evoluiio" (06 Marks)
c' ?;.;r;;o,rpu,ing
thc technologies rhar h;';";i;;:d an irnporranr
o
,E
*a
Ix'#:t rore ur rcaiizing .,"r0 J::,f;,,:J
d-
r= (08 Marks)
*li
) a.
..
Describe various cloud benefirs.
vr\
oR
b. Summarize the closer look (06 Marks)
.F+ of cloLrcl.
c. Discuss distributed systems
tr- onO .._i"" oriented cornputing. (06 Marks)
i.u (08 Marks)
trtr
c> 3 Di1ferentiatebehveen^':,:1}1":*ffiistributedConrputing.
O9 Wrire a norc on peer-ro_peer
rr.hiri.iru,rt .ryt.. (06 Marks)
;= f)escdbc'arious rechnotogie; ., c()mputlng.
;i;l:;,b,,.
., Jrco (06 Marks)
(08 Marks)
-l
4
-O
(06 Marks)
..J
(06 Marks)
nii (08 Marks)
c-7
=;1 5
CG
.E (06 Marks)
{,4
(06 Marks)
/. t:
virtualization
!5
(08 Marks)
oro
qb0 6
(06 Marks)
o (06 Marks)
elements for
*N (08 Marks)
z 7
? Discuss IaaS refere,ce model
b. Discuss the open challenges
und Aro. s of its components.
o c. *-C,;;; Compr_rting.
(06 Marks)
a- Explain Cloud Computirr! architecrure (06 Marks)
E in detaii.
(08 Marks)
38
20MCA342
8 a. OR
Discuss on the economics of
cloud
b. Discuss paaS reference model
along with _ (06 Marks)
of PaaS offerings.
c. Briefly explain different types of clcuds .': (06 Marks)
(08 Marks)
10 OR
a.
b. (06 Marks)
c. (06 Marks)
(08 Marks)
** ::::
{<,*,
r:':ll'
..
*
::
\; .'||
ir'
I o1'2 39
.9-".,n ft
/ eCI r^c
ffiffiffiffi
USN zO}/tCA4I
Fourth Semester MCA Degree E June/July 2023
Advances in Web T logies
Time: 3 hrs Max. Marks: 100
Note: Answer any FIVE full questions, cltoosing OI|E.full questionfrom,each module.
a-)
o
o
L
a.
I a. Explain any six string functions (06 Marks)
.3
b. Explain Cookies in PHP (04 Marks)
0, c. Construct a PHP program data lrom an XMt file and store it into MYSQL.
!c) Retrieve and dispiay us ing search options. (10 Marks)
Ylu
OR
=: d! 2 a. Explain Logical structure of arrays in PHP. (06 Marks)
-) b. Illustrate in PHP (04 Marks)
3:t
c. Build a display text base , tablf ; radio button
,
, submit button and clear button
.
usmg '.::'1
(10 Marks)
-O
-!
-hr
taa
5
(06 Marks)
-X
c." (04 Marks)
:. _Y (10 Marks)
vs
:q 6
(05 Marks)
.^o (10 Marks)
'-. a
(05 Marks)
='!)
UL
7
U< (08 Marks)
(08 Marks)
0,)
c (04 Marks)
'7
8
c. (08 Marks)
(04 Marks)
(08 Marks)
40
.,.*tr. 'i;::!
1 of2
2OMCA41
Module-S
(05 Marks)
9 a. Explain Fluid Grid system, with an example (10 Marks)
b. Criate a table using bootstrap table classes' (05 Marks)
c. Explain Responsive design with example'
OR
(10 Marks)
10 a" Create a form using Optional forrn (10 Marks)
b. Explain Prepended appended Input
,!:a'
'iE-' '::?
,,:ij$n-};':::ljl
,] .]
.& =''tt:
'"4=:!
l;'
i
:,,4 r
tia::.
41
2 of2
ffi lOMCA42
USN
Note: Answer mY FIYE fall questions, full question fraw each module.
a-)
o
o .ri'
L
0-
.NET Source code, .NET
1 a. \Yith neat diagrar4 exPlain the (10 Marks)
Compiler and the executioa
(06 Marks)
o b. Discuss between managed
(04 Marks)
?u
a)
c. Explain the role of S
OR
{r ) List and explain of any three narrespaces. (10 Marks)
=x
r:t b. Write short
! ..)
D.
89,
C>
:j. 2
!Y 3 a.
ou
-!
b.
'c
>,
;= ,:::::,.
,", OR
z, '('"""'
progr,,am to explain accessor and mutator propetttes used in encapsulation.
a)
oe 4 (10 Marks)
/9 with
56 b.
(l) class and
polymorphisrn,.,, (10 Marks)
0€ (i1) time and
-.=
.::.
,..:]1n :t
!c) ,," . '41
i,- ,$*= "
>. +- -,iu,:
lco
f, the of nnlticast delegate with an example. (10 Marks)
o+ (10 Marks)
- :'i b"
e7 e!
o-
U<
ai (10 Marks)
- exceptions.
6 a.
Z
n)
b.
Class. (10 Marks)
t
f
c-
=
Module-4
(10 NIarks)
7 a. Expiain various keyboard events in c# windows applications.
(10 Marks)
b. Diicuss the architecture of WPF with a neat diagram'
42
1 of2
\
i
o*1,,,,,, l,
.: .:::: .::
.1irlM:
2 af?
43