Sem 4
Sem 4
Sem 4
=I j
~ ~
{0' ~-
Ql) Attem~y $HT of the following (out of TEN). [2X8=}6]
a) What~ncapsulat ion? ,., ~
!:)' .)
b) D~e the following terms 0;·
D EarlyBinding ' 0·
ii) Late Binding ~ ci?
c) What is Inline function? ~ ~"v
d) Explain get() and put O~ - ~
e) What is stream? . ~ ~~
f) Define Friend functipn~ ~':,
g) Explain the use of n~ot\~or, state the syntax.
h) State the need ofvirtual~yword. '.'1""
C"). 0;·
O State user defined d~types in C++. :v
J) Explain the use of Scope Resolution operator. ' 0·
~ ci?
Q2) Attempt any FOUR of the following (out ofFNE). ;::;,, ~"v [4x4=16]
c)
'oh .
Describe different types of 1 entance.
u
..._le
(\ ~
d) Explain virtual base class with suitable ~ m .
. . '~
e) Describe file manipulators with therr s1 =axes.
P.T.0.
Q } Attempt an~ F<JL' R
3 \,f th r fo ll\ )'" "t! (o ut of
a) Wnte a C-Y- pm gm rt V E). (4 >< 4._ 1
m to co py co ntent s of on
'b) \\n te a pt"")g.r::\ m e file to another file.
to (akulatc ~~ and ci
rcumference of a l:irclc
us,
mlmc fun -:-twn.
d Deda rt' :1 -:-b ~ ot\~!_
ry''
1id c.0 t1 vc d clas~cs ar
a;1d four ,, hN.'tc~ ,s~ e two wheeler, three wh
ee l
the properties of each
ty pe of vehicle usi,
mer.1'.'r fun ...~ ot \,~
ss .
j I W n tr JC " w
og ~ to us e set file () an
d se tio stl ag s () manipul
e1 \\ n~~ ..1 ~ p~ n m ator.
to compare two strings
using overload opera tt
- == -~ {2
{µJ ~
~=-~!\l.:;P " of the following (out
\ F~ R
Tn ce t)J e):}u i-put of the fo of FI VE).
3)
llowing program and ex pl (4x4=16
~~ s- ~, er ro r. ai n it. As su m e there it
= ~ udc <i ostre am.h> :'-)'°'
1cl1. l . ~-
Cb.ss-s.J mple "-) .
0 '°'
Pl!bh c
'-. ;,
t...c' rS?
'\:~
S3m pk (mt a= 0, i n
t~ ~
: ~' -Y '-.iJ.
; =~;; ~~ .:::-°"
J (J W ( ) ; G ~--y
'..;
:\ "
Oi
"-. ·
~ I
~ -f, · ' ,...-,.,. J ,...-,.--.. ·~
J
. ,,- I I y;
.,
b) Explain try, catch and throw in exc
eption handling.
c) Design C++ c\ass which conta,in
function display (). W rit e a progra
count number of times displaM" m to
) function is called (Use static
member) data
f:/"
d) W ha t is De str uc to~ tat e~ ·im po
rta nc e of destructor with examp
le.
e) W ha t is tokens ~+ +~ pl ai n
in detail.
""~
~" v
. ~
QS ) W nte a sh or t~ e o r~
TWO of the following (out of THREE) [3x2=6}
a) C ~~ ~a ~~ an d call-by-refe
rence
b) D ~ s~ io n
~
c) D ef a~ en t
!:) .
~
l59 54 ]-4 02 3
►
,,, No or Questions : 5]
'(oW1 '
SEAT No. : I'--------'
pA-1973 [Total No. of Pages : 2
~ I
[59~J ~401
.I
~ Y. BJi.A. (C.A.)
C.\:f 4 ~ NETW ORKI NG
(20I?,_~tt~1 (CBCS) (Semester - IV)
c,'-.J ~
r,me: 2½ I/ours} _"" '-.; [Max. Marks : 70
/ns1ructio11 s t~o t¢!._"W,,di~'t :
/) A. ,i/4lho"_!)are compulsory.
2) Ne di~~,s 11111st be drawn wherever necessary.
Oi ~
QI) Attem ~~y three of the following: ./:5 ·
. [3 x 5 = 15]
a) Define Network Topology? Explain ~eren({ ypes of topologies.
b) Explain function of each layer ort@'- o~efer ence Model.
c) What is wireless transm ission ~la~y two media in detail.
d) Define the bridge? Expla i~~fb ridge .
'Z"~
Q2) Attempt any three of t ~ o ~ ) : [3 x 5 = 15]
c)
d)
~'°
Blu
Copy~
~'hi t.ecture.
~1~ wi th it's Frame Format.
·L
~ -
"Qi
'
I59S4J .. 40J
j 2
rt,tsl :'\(I. of Qurstions : ~l ~U:AT No. :c-=·-~1
ITotul No . or Pu~cs : )
p_.\-\ 975
\5954~0)
S.Y. B.B.A. (Co~~itter Applkntion)
CA- 4().l: OP~ATING SYSTEM
(l~P~rn) (Semester - IV)
fM(J.(. Mark.v: 70
foct : J1: }lours/ _' \V
f ~(-riv11.s to tlt1:· ca ~ cs: ~
l) .411 ({IU"~~~ -C'flHl(JUIS<>rj\
:1 ,·,·ar ~~ 'J!!!'t,' drawco ,.,frercver comssury.
. . ~- 12x8=l 61
Ql> ..\::c:.'\~Y ~ t of the followin g.
a) Defu~}ie term operating system. .f:.:,
::i) De~ system program. ('\~ ·
~ ;v
c) Wlucb scheduler controls the degre~mul~gramming?
di What is Tum-Around Time? ,)J' {:;i
e1 \Vhat is meant by Deadlock? ~ ~
fl \Vhat is demand paging? ~ ~
s_l List any four attributes of~. !:.;-
h) What do you mean b:~~Ti~"i'n Disk Scheduling.
i) What does FIFO ar{YFU~hd for?
j) Define Rollback?
~-°'
"
(\ •
~.
A
'\
(/1) Anempt any four of the f~wing. (4~161
a) List and explain services provided by the operating '111'"'),,,m·
\J", ~" · .
P.T.0.
I
d Tlw r"'t'qllt.'SI qlll'\ ll' is :,~ f,)II,,,\ ~:
15. -~7. 13 7. I~ . 150. ()). ll)LI. I\
Nutn l'l'I' l)I · IJ·~ll,,11.:-, · () I ' ) I i)O'-b-:'
. · , , 't'on ()~i;un-cn t h~t pusition == 128. Find total
...Srn11m 1,_ pv:-1 1 , , .. .
. head mo\·e~
· ~s1,-;J·s \{)~SI S l'l'k 7 ,me First) dtsk . ..
,y
I npp Iyuig .J• V' - 0,/ .
:-1
scheduhnoo aloo n·,,
c_
~~ ,~u llip ruccssor.
c::
J) Li$1:my tw<'
l') Considt.'r ~)0 ~~~~ set of proct'ss~s with leng
th of CPU Burs t L~
and atTi ,~im c'lN nulhs~t.·u nds.
Time Burs t Time
2 6 ' I\
4 4 :v·'
~-
~-
P 8
6 5
2 \c ~I
:; '
Calculate turn around time , wr ~-t it~ \verage wait
ing time and awn ;:
tum around time using pre ~v ~"' F scheduling
algorithm.
~ I\Oo
Q4) Attempt any Fou r of the ~n \\5 )':',
a) Consider the following s~pshot of the system.
Proc ess AI Max
A D A B C D A
0 1 2 0 0 1
0 0 0 l 5
3 5 4 2
p 0 6 3 2 0
I 5954J-403 2
-'I\~,,. .
'-. '-. X '- ..._
~-~R"!t..".l\-"''- ,• , ... .
, -.....,_ .,1.<::-- -.t.._
SEAT No. :I I
1'1'01111 No. of Pagt~ : 2
1~ 9 54:b\405
,S.V.U~'I\. (CA)
( A~O~: ~)VANCl~n PIIP
l201~C~11ttcrn) (Sc111cskr- IV)
/I /ill' .' : ': Jl tlU f ,\/ ~ ;;> /Max. Marks: i U
/1J ,f111 rtiu 11 , to The· ,·1~ Hc's: \~
I) Ill q11,·, r11,~1't· co~ulson~
.') l>1•11t1• ~ ~ u.i.:~ 1d1ft'c'I';.,. ,tc 'c't'SM11:1•.
11
\\ h:it 1s IJ01..: uml.'nl object Madehn P!lf"1
.
Dcscnbe_an: ~wo ~ontent~ge~ t system software.
-"" ~ .
h)
b,phin fl: :11t1n.:s 1..11'Jnu1rnd/1Jrupal.
- . .
\\I h:il ;~ SOA P? L~p lu1n 111 ddutl.
.
c,'-J
"-
~' ,
_;:s~"'
"'.. _
{:1
,. • \ll \I' , 1·1..)" l"' l lll whic h imot?lnents r\J .-\ X fo r :iddition of
\\, nt1..' !\ ~ Ill\\) 1L'. . 1 !:: '
:--..r,.._,· •
t\\'1..l 1n1111b1..·r~ .~ ~
P.T. 0.
r I
' ·
Q I ) A ll ~mp l a-~1h re<.: o fth r-... fiollo w ing : ~---=-
f3 x 5=I .5j
,..;_ -
::i } \\ ~ 1s ne two rkin g'! Exp la ·In d ·r-i-:
I iere nl type s o0~ two rk.
"'
(,~
X) '
:'13 X 5= J51
~
(:) /
/
P. 7. u.
• i
(3 X 5 == 15\ Total ('lo. of Questions : SI
Q4) Att em pt any three of the
following:
a) What is attack? Explain P2136
var. ious types of attacks.
Cc- . media in details .
b) Explain wireless tran
smission. r:si:, 1atn any one
•
I~
c) Whal is addressing?
Explairf'rjffiercnl types of add S.Y. 8.8.A.(C
rcssc-; .
d) Explain IEEE st ~d
~~j (WLAN) in details. CA - 402 : OBJECT ~
(d ~ (2
<,~r,a1)~
5 == \0\
Q5) \\/rite notes on ,c&w/ry X
Time: 2½ Hours/
~
~ ·'-.
,,'(:,
..
a) Proxy s ~ /j Instructions to the 'i:twdiddhii.·
1) All. ~, e~ m
:
(J't c:om,1,'so
b) Switch\°" ~ '-- 1 r
2) Ff! u es to_1.Jie right i11dicaf<
c) \S G~ l ~~ ren ce model.
d) L~ -o ~~ igh t
~- - QI ) Attemp~~ fl~ EIGHT
of the foll o
a) What is extraction and .
mse
b) Explain any two manipulate
c) Define constmetor.
d) What is inline function .
e) What is reference variabl~
f) What is Abstraction and fui(
g) What is compile_ Tm ; p~l v
h) What is default arg u~ nt ~
i) What is the use o; scope~ e·s,
j) What arc the access ~pcci fie
~ 9
Ql ) Attempt any four of
the following .
a) Explain memory management
b) Explain memory allocaliun
ft.
static data member.
e) When do we mak e a clas s
v1
example.
J) Exrilain array of objcL'l in C+
-
c) Explain any four fo rm ;i ttcd ir.
~
\58031-401 2
fot:tl , o of \)ont h) n~ <1
P2 1.l f\
QI
• IX ~ l - I hi
ow- l •he 1t,II, \.., ,n~ tOu t of Fivt: ) \..:.' J-' x 4 :ai 161
r n - ~ rT'l.ll.r',.h.'l.:'fTh:n l vp-.:ra tor<; w ith the b~ o l' sui1;1bk cx t11npk
b • ~ ;Jl!,,-. .. t1on tv r v bJ1.:1.: h w 11h n~)s tu 111.: cl:11 11 111r111h1.:
r :ind
'
~ it'"" d ~-:e nuke .i
·- -
cla:.'> \ ,nual ba-.;e 4.Q.q, '? ~'<'pl u111 1t w ith ,u1tub k
. ,__ _.
Mi
■
e J
: fol/owing.
O frill' • (0 u1 of Five) . /4 x 4 :::: 16/
(! JJ 1\ 11,•mpt ,n .I I our lass which con la ins two da la rnellJb
. C H rogrn m 10 create a c ers
a) Wrirc
\\'rue'memberP f11nc11ons
. lo acc';t:'.',
. .Nisp/ay and swap two
l
... entered nullJb er: Cout <<"\n
u,int! ca l/ by reference. -;: . . . i = v:
Q4) At
b) \\•'rile' a C i... prognun lo LI. .~ate
, , n c·/ass
· Book
. .which contains
. data 111
. b,r\
a) 0 0111
:is B- ld. 0-1Nam~, • '
~ B-t\trlhor B- publ1cat1on. Wnte . ,
member luncrion \ Void print
b
,iJ:
to :lC'CCpl JIL~p lav'-B~ok
J •
infonnation also display count of books .
~ I6J
,----.. .
. ~ 0 - '8, -pnnt
Q41 ttempt nn y four of the following : (out 'tl1.Fi vi,1•,. f4 x 4
b. print
al Can we pass class obj ec1 as func,(~;;-a rg,1;;, ~n ts? Exp /a in with the he/ p r
an example_ , , · ·.
b) Ex.plain various strearn i-0:~ 1L~'c\_'\l O
·(Vo) operations.
. ~ I'+
~-~ses ":"' to perfom, console input/output QS) Write n short
c) What is class Templ at?lx , ;;,, ' .
1 a) Exccptic
example. . ~ . n syntax of class lenirla te with suitable b) Opernto
d) Write a program lo P«:k/nn addition oft " . . c) Pointer
overloading. .; - · wo matrices usrng opern1or
e) Trace the output ofrhe followj (J -
inr i;
public :
abc (int v .,._ O)
/SHOJ/-402
\S803\-402
I I
l ('1\.11
' u 1dl
~ 3 ~ \,, ,
a~ b.
'L'pnnl ( ),
b pnru c l.
'
0000
3
\58031 -402
p ), ' \ J l.J 1\l 'I, , .·l-
. l
I I 111111 N ,, • , I r ,•., f~ (: ~ '. ]
II t-11 '
\II ' II I I11 ' 11" l ' I ~~II I I I I III\.' h I 11 11\,\1 I lllJ '
I\ l"- • 18 , ._ 2 = 161
I) t' lltl \' lh\' l l 'l 11111p1.•111llt1p, 11y11lc111
II l \ \ Ii •t I I ', I 1' l ' l 111 l . 1-1 y1-1l .
I 1-\' 11111 I l I pn11.: l.'111ii 1111. ,,
' 1
\\' li n t ,,, I'', wv :411'! - .... c 111 .
\4 X 4= 161
~ · \ ll ( llllll ,11 \Y l111lr\ll'lll
\.I )}J • t.; r1ill1 )Will l! '.
,I\ I ,..,, a 11d c :xpl:1 i11 advu11tu ecs o f' Mullipron:ssur systcrn .
,,:.xph1i11 l'rnn:s~ ( ·,111tl'lil Hluck (PCH) in dd~ ~\.Vllh dt~~ram.
1
II}
1:.x pl :11n d i lfrrc11l 111dliu d 1111· r 1·co v1.: ry 1·1un'\. ~~1,;acll9rk.
I,_' ) "' '\ ~- . . I ·1
Wlwt ,s 1:r:11•.1111..: 11lalio 117 t •:xplui11 ty pes (l! r 1tnig111dHat1
..._. o n inc eta, s.
d)
( '11k1tl11IL' :1vcn111.c turn nruu11d tilnc and'41-v'~rag~'waili ng time !°or all set o f
r)
pn H~l·ssc s 11s i11 g. HTS L1l g.nrill1111. . ·
, ~,
P.T.0.
a l I "'- J _. ,
, ll!IEi;ii
r
' ~ Pr_~,.-,;::-,~ , :r131,~1_f~1 11c __ I ~\11 ;, ~17:i;m•
\ VI
_ r -ll _' --- ---
() Q5)
,,c,' I ,, 11111 i 11 1,l l' '"' ,11 1, , •• •, ,,':, ~.. 'I ,,.,)
r (, ,VV,,,. ,c !-,111, rl r11 1lf.'.
1 I ,
,,n ' c,\,111 , , ,r',: f _t ,' •
-- r- ;I)
--4 -- -~ "
-- -;-- ---;- ~ bI ''vv'ril t a 1,l·,,Ht n1 ,te (,n '/2 ~! 1, , .
. •1• i:r,,
-,,- - - -"-4 --·-.-: - o
• >,. L'. )
, , ,f
-~- 1, ;q') lc1i n I ndcx cd ~)11~.a111~' ' ' 1,,.j
\ ,....
H x 4 "" I,,,
{_)3 1 \ n,,m11.1.m \ t:)un.lf th-:- 1~,11,11, 111 g
.;1 I , 1 ,1;r~ 1' i,111~ ~p h ·111 c:dl , n: l.1 1,·d 10 l' I y y )'
rocc:-::. u11d Jub ~0111rnl.
-• l- ,r:-1:n n;ult 1k, ,•1 1·,·0..lhad, qu,·u,· \l gon1l1111 .
!',''-'"~"-' m dd,11 I 1h,· ·n1 11 11111g 1'hli l1~L11
1hcr Prnb lem' Sy nchr oni zatinn
~~--~'-, (' \'\11
,, n ,' .l n,,:,- ,,n i n1..:rn.1p 1:- .
C,~1 0<.' r th<.' 11.,. ll0wi ng p:igc rd~rc nc c $Irin
g:
.J . " · - . :- . ..1 . t--. 4. 6. 7. " · ·l
6. 7. 9.
TI-:.: r.umtx:r of Fr.1mcs is 3. Sho~'·p:igc
ttacc and calcul ate page Fault for
~.~.: fo!l o,,1ng p::igc replaceme.!jt sche mes.
., FIF O a\ "' LRU
' '
(!.!_1 \:~.:-.p1 Jn:, fo ur of chc f<?fl ow ing:
· [4 X 4 = 161
\ \ "hJ I
-· ''
is me::i nt by Free Space Managem ent ?
Define Bit vec10 r and
Greup mg .
Defin e the te mis:
11 logical .-\dd ress -::- '
ii) Phys ical Add ress '
h plam Resource ,\llocation Graph in del
ail.
\\ 1!21 are the di 11ere nce between
,
'
.-._ _,',. t, PrL·c mpti ~)-n~ iSi~ n-Pr cem ptiv c
'.~ , Scheduling.
-Q; . .--;-:
tJ A<.su me there are total 0-199 tracks tha~ ~ A,
pr~- ht on each sw-face of
~,-, .he d1,;k. If request queue is 68, 172, \ I ?8,
pt)',1t io-n of the head is 2S.
I~~ '40, 118 and 136 initial
:f / Apply FCF'S <Ask scheduling algori thm &
1
<.alcula1e total he;, Movement.
'--: '
I 5~03 !-403
2 ' )
\SS0 ~l-4 03
:~
al Time " htlll 1wt<..' ,,n , 111 y l\\o
• \\ I 11( ,1 ' llflh \'. f,1\h1w 111 l! :
1 1 . '
,' ' \2 -;. :1- h\
\\ .11\o.., ,\H,
· rl th)IC l'1' '-l'll llton llll' 1.'nl1ca\
S\'.\'.li1..111 prnh kni .
-'' , ,
\\III ~ . .,\H) r\ '·
note vn l'vkdiu1n -kn n sd1\'.dular.
\,\ '
.. " . \..
_ \, \ mk xcd .~\o cam m lll'ldly.
, \, I·'-\' • 111 l '
\
I-' x 4 = 1b)
Pwc e:,s and JL,t, con rrnl . 00 00
,,
nthm .
pher Pr0b1em · Syn chr oni z3t1
on
ni;. 0
-
,I,.... ,-... .
\ ....._ -:--._I
ce 111d calc u late pa,; e Fa ul t for
'- 0';·
,.....,.,, .;:§
.(."I-,.._) ,.,...
" 0 ·
~ t
......
....
~ '
\
f4 >< -4 = 16) ,_ _....__,
-"
:-nt ? Def:n :: B n \ ect c r 3nd ' ·
I" I
.,...
...... .
.......
~',
'-
~
l Addres~
I. -.. ('..~ -<~
f"', "- ' ,,..
~
pti~ and Non -Pr<-e mp ti v c """'(.,. "--"'
'7"' I'
', \::-
..... I•
;; (~ ~ ~':
'pr~ nt on eac h sur fac e of
I~ 40, 118 and I 36 init ial
,...,
'-" ,.._0
,,....r----. _I
sle' scheduling
alg orit hm & ,...._.
, I
..._ ,
3
1580 3 \-403
l ~ .e ~ - -- 1- ~ l - j
--- , -- - •-------
SF\ r \,,_ : r - - --- -
lT111 :d ~
l~80Jl-4o"
~ -Y B ., -\ . ( C -
. . . o .. \.
( \-4( ).J \I)\ ' r )
(201 9 Cf·' CS , . .\.\'C E Pl-IP
I atte r 11 ) (S ,
J
- cms eter
Ti111, ·: } '1, Hou n/
/11,1ruC'lio11s 10 tire trn,
•
'J '\
/ It(//( . f.\fc:x . \fo r /,, : - 11
Ii 11/ •/!1 e.,1i" '" a,·,· ,.,; i11p11/,"'T.
. . .
~' 1 \ :·a1,/ 1u .u .. ,,,, ,,,,,,, h , I
, •··
c 'l'f111 ·11 whc •r c' \'('r
"<'c-e,, (IJ:r.
1X v 2 = \hl
J) ,· , . . . .
\\.ha t an: Jiffo rcnt tt!ch nol ogi..: s ,11c used 111 A jax·>
·-, .
\\ nat is Web Serv ice·>
.
!) \\:ha t is cont ent Man agem ent sys tem
g) \\ 'ha i~ S..:ri aliza tion· >
h) Ddi nc CDD I.
I-\ ➔ =](ii
Atte mpt Any four of the follo wing :
X
Q2J
.
::i) Expl ain cla s s ,ind obje ct ,,·ith e:-.:11n plc
PHP. .
b) Wha t is Doc ume nt obje ct i\-lod c l in \'' ......
detai l ? , ,
c) Wha t is SOA P'? Expl ain in "-" . \2' .
P.T.O.
I➔ y ~ == 161
r~-
• 1A.nv l·ot1fl)
. 1·1h·f11ll<'"inf
' . , ·p·-=~
·1 ddi ·pla\11 1nnL\. ··· <L~- ..
:\IILITIP . . E , i:~ oi:1a1 an :i ,
Q.l) • t ;icccpt 01D 10,
a) Create a 1om1 o .
stic . l conClj1I) ._
. ky I0m
I
. , m:111\.,
'
.1 -j ..1', 1?:
. · : J ··
Cl· ,h;\'•l' \\ ·11· ' I ' ,'
r) Cr~.1 1.: :in ,1h-t:,1,·t ,,,, . t • 'I hrlJ lhl. C1rck ,r" J.,:· ..... .,..
11
. , l'' i:ct:11v~ktk 11 ~ · .
f)cmCll\ llcl,,, 1 I I 1o·i:rriJ 1nQ).
. 't' I;i I I ,c \ \.'I )(ll \ - .• •
arcanJ, i,\un1l ' . . ( l ·e "Studl..'nL\ .1!L :t. c' ,
.. llowinl! 4UC~IIO lh ' ~
d Wri1ucripl 10 ~uhc 1() " •• , I .; k
nt Ob·cct and load tht~X\1 - ,,
~ Create a nm 1D11cumc
I
J
t . . ·nt to ihe bro" ~er. \\ .rii·
. _. .
: .: . , 'ir, r,,
it) (ict the 111np111of 1h1, D,K11tnl . "Stt1d ·n1 \\iL " iik
I
·I I 't1l Prc~cnl rn 1.: ..
P
rint the 11:1rnl·~ ol 111! 51U( L • · · n 111 rabk r·ormat I
W
~e
L
d) a PIIP Scnpl to display scr1·er intorn1a110
(\lse S_.SERVER). . . 1· to
.
a. ··T' ., "l':->1oer
c) Wnt~ aP HP Scri1,1for1hcfollo"tn~. :. Dc~1·~n
h a onnb (L~l-
1
- ~· • ••
11 -- ·,1n\.ept
. • -~
from 1hc um. To t"1nd Sum of the <lt~11s o 1 e 1:um er ~l " ' •
o"fsclfpro~c~~111g pa~c).
~
·:~fan~ger" with pri1·ate member oonus. Create 6 object~ l1 i ; '.: ~ \ ianagcr
dib~ anJ d1~pla1 Lil-: J\!tails ol th-: ivla,wl!er ha, in" ·j,. ,·,1 ,·. ,,. 1· 11 ' , · ,
~ ' -- .. · · ·· '·
1
c) XMLHTTP Rcnuest
·1
ob·JCCI.
1581131-405