13
USN 10rs74 solving (.) o o d L o. d E o c) Cd I .9 tsq oo- d9 =rt -il bo ,, cco dT .=N (B+ gc) oC eO d'n o> 8e FL .i9 6A 6E LV o() -L (EO -\ hotr 6tB ig! U >€ a6 3() 5ir 6d d. B. tro. oj 6V 9E to qlE EE LOI = .:i Xr oo- tro0 o= *o Xo VL o- ci qr{( -'c'.i (:, I z e (B P o o. b. Explain ROLAP and N4OLAP 3 a. Explain four types of attribi*tcs with statistical opprations and examples. b. Explain the steps applied in ff@preproceSSin$,q";: c. Two binary vectors are given b6h,*lr: ., ':' X: (1, 0, 0, 0, 0, 0o 0, 0, 0, 0) .q " Y: (0, 0, 0, 0, 0, 0, 1, 0, 0, 1) ' ** '" Calculate (i) SMC (ii) Jaccord.Sffiff toefficient and hamming distance. 4 !i, {r l1l"' ":,-::; .;:: ...:" \,, "' 5 a. ,, kfine classification. tt' 1r.. .)N - ' blassification model. PART _ B Draw a fieat figure and explain general f€"^ Ls Seventh Semester B.E. Degree Examination, June / July 2Ol4 Data Warehouse & Data Mining ., !" ,{;ime:3 hrs' Lr,1-- /----..^- Dttrt).c--r, ^--^-t:^-^- ^^rA^.:--- Max' MarffiO, 'u""'"''.'.,,'.'.','... Note: :ff:;i ftr"'{:Xf,:r:f;*'"i:;'tr"rr, !. PART- A I a. Eipk$h,ODS (Operational Data Store) and its structure with a neat figure. (07 Marks) b. Expkiitr& implementation steps for data warehouse. .....';,. (07 Marks) c. Write th,b4,ifferences between OLTP and data warehouse. .,_r, ,r '',' (06 Marks) 2 a. Explain the ckMteristics of OLAP systems and write the coropttrision of OLTP and OLAP. (12 Marks) (08 Marks) (06 Marks) (10 Marks) (04 Marks) 4 a. Consider the following :i' 4 data set 'D'. shows 9 transactions and list of items using (10 IVIarks) stepwise for all Marks) , , b. Mention the three impurity measures for selecting best splits. following candidate rules. ''ti t' Ruel rr: Covers 50 +ve examples and 5 -ve examples. Ruel rz: Covers 2 the examples and No -ve examples. Determine which is the best and worst candidate rule according to, i) Rule accuracy ii) Likelihood ratio statistic. iii) Laplace measure. Aoriori alsorithm tind itemset min-suppofi.= 2. Tid Tr Tz Tj't',,*' Ta Ts Tt To Tq List of items Ir, Iz, Is Iz,h Ib, I: 11,12,Ia lr, Ir Iz,lz I;I*' L. Ir. I.. I. Ir Iz, I: b. For the follow ion data set table construct an FP.sffpe and explain the transact 10 Tid I 2 :, 4 5 6 7 I 9 l0 Items {a. b} {b, e, {a. c. d. e} {a. d. e} {a- b- c} {a. b. c. d} {a} {a. & 0k {a, b, d} {b" c. e} I of2 (10 Marks)

7th Semester (June; July-2014) Computer Science and Information Science Engineering Question Papers

Embed Size (px)

Citation preview

USN 10rs74

solving

(.)oodLo.dEo

c)Cd

I.9

tsqoo-

d9

=rt-ilbo ,,

ccodT

.=N(B+

gc)oCeO

d'no>8eFL

.i96A6ELVo()

-L(EO-\hotr6tB

ig! U>€a6

3()5ir6d

d. B.tro.oj6V

9EtoqlEEELOI

= .:iXroo-tro0o=*oXoVLo-ciqr{(

-'c'.i(:,I

ze(BPoo.

b. Explain ROLAP and N4OLAP

3 a. Explain four types of attribi*tcs with statistical opprations and examples.

b. Explain the steps applied in ff@preproceSSin$,q";:c. Two binary vectors are given b6h,*lr: ., ':'

X: (1, 0, 0, 0, 0, 0o 0, 0, 0, 0) .q "Y: (0, 0, 0, 0, 0, 0, 1, 0, 0, 1) ' **

'"Calculate (i) SMC (ii) Jaccord.Sffiff toefficient and hamming distance.

4 !i,{r l1l"'

":,-::; .;::

...:" \,, "'5 a. ,, kfine classification.tt' 1r.. .)N- ' blassification model.

PART _ BDraw a fieat figure and explain general

f€"^ Ls

Seventh Semester B.E. Degree Examination, June / July 2Ol4Data Warehouse & Data Mining

., !"

,{;ime:3 hrs' Lr,1-- /----..^- Dttrt).c--r, ^--^-t:^-^- ^^rA^.:---

Max' MarffiO,'u""'"''.'.,,'.'.','... Note:

:ff:;i ftr"'{:Xf,:r:f;*'"i:;'tr"rr, !.

PART- AI a. Eipk$h,ODS (Operational Data Store) and its structure with a neat figure. (07 Marks)

b. Expkiitr& implementation steps for data warehouse. .....';,. (07 Marks)

c. Write th,b4,ifferences between OLTP and data warehouse. .,_r,

,r '',' (06 Marks)

2 a. Explain the ckMteristics of OLAP systems and write the coropttrision of OLTP and OLAP.(12 Marks)(08 Marks)

(06 Marks)(10 Marks)

(04 Marks)

4 a. Consider the following:i' 4

data set 'D'. shows 9 transactions and list of items using(10 IVIarks)

stepwise for allMarks)

, , b. Mention the three impurity measures for selecting best splits.

following candidate rules.''ti

t'

Ruel rr: Covers 50 +ve examples and 5 -ve examples.Ruel rz: Covers 2 the examples and No -ve examples.Determine which is the best and worst candidate rule according to,i) Rule accuracyii) Likelihood ratio statistic.iii) Laplace measure.

Aoriori alsorithm tind itemset min-suppofi.= 2.

Tid Tr Tz Tj't',,*' Ta Ts Tt To Tq

List of items Ir, Iz, Is Iz,h Ib, I: 11,12,Ia lr, Ir Iz,lz I;I*' L. Ir. I.. I. Ir Iz, I:b. For the follow ion data set table construct an FP.sffpe and explain

the transact 10

Tid I 2 :, 4 5 6 7 I 9 l0Items {a. b} {b, e, {a. c. d. e} {a. d. e} {a- b- c} {a. b. c. d} {a} {a. & 0k {a, b, d} {b" c. e}

I of2

(10 Marks)

F:]

10IS74

specificity(10 Marks)

6a. For the given confusion matrix below for three classes. Find sensitivity andmetrics to estimate predictive acc f classification methods.oIc ron

Predicted class True class1 2 .,

1 8 I 1

2 2 9 2

J 0 0 7

\s :::;:1

* * {< {< * .er

&dd- & b

1$- "!

d*}#' twf

q- !"'*t''

J:;" :

't .ii

j-a.*,1o =

*"ryry, *

nh#{?, _ +

w

+,tr

#

2 of2

USN

Time:;:::"

O6CS/IS753

2014

(10 Marks)(06 Marks)(04 Marks)

Seventh Semester B.E. Degree Examin

JAVA and J2EE'

3 hrs.

.,,1:r-:::

Note: Answer FIVEfull questions, selectingat least TWO questions from each part.

PART - A

Max. Marks: l@it tl

,rl1r,'.,t ,,..,....

il ", "

ooOrEra(g

cB1ELo6)

E9oos

J-

3ooll 1

.= a.l(n+gooCeO

7,2 4

6=

bdrgO

ootr(6(B!:>!6E!= \-O6

-? o.r

oi=

=(da&5(gn-26*3(JalEoELO

>,q.f:o 6O=o. ;itr>:oVLo

\J<-N.. 7ooz(n

38

a.

b.

a.

a.

b.

c.

a.

b.

c.

'B:iefly explain any six key considerations used for designing Java languug*l ,, ' (12 Marks)

,ryT brief about the Java development tool kit. (08 Marks)

Oir",rSi'tfi. following terms: ',,, """"i) super ,,. ,. ii) this iii) Final (06 Marks)

b. What is an applgl? Explain different stages in the life cycle of aYs;Applet. (07 Marks)

c. Create a try block._that is likely to generate two typ,.gq ,$f exceptions and incorporatenecessary catch block to.catch and handle them. {r{:l}o' (07 Marks)

a. What is meant by threaifpr'iority? How is it assigned?,,,,,,,,. (05 Marks)

b. How synchronization can'fu'achieved for threadsiinJava? Explain with syntax. (05 Marks)

c. Explain the mechanism of del@ion event mo&t List the use of adapter class with a smallexample. (10 Marks)

Describe the two key features of swi $' (05 Marks)

List the dilferent types of containerq ,,lornponents available under swing package.(05 Marks)

Write a program to create fo*ffi.nt typJs,ofibuttons on JApplet. Use suitable events toshow actions on buttons an{{he Jlabel to display the action invoked. (l0lVlarks)

PART _ Ba.Whataredatabasedr.iv*s?Brieflyd-i'".,.'ubo.,_tthedifferenttypesofdriversusedinJDBC.

'.-:.- '.::. ,, , (08 Marks)b. Give Java synta$fti the following:

i) Connecl( to a database using JDBC/ODBC".-; bridge which has

url =!IDBC:ODBC:SDB", username: "scott" and password =,{'tlg€r".ii) RUhliing a query "select emp_age from emp" over the connected database.

ii4,'fiitrnting number of employees, with condition emp_age > 50. """' ,,..,,..-', (06 Marks)

c. Ivlention three types of statement objects? Write a program to call a stored pfocodure.,, ., ,, .=,r,,{06 Marks)

a: " Write a simple basic Java Servlet program to print "Hello" and describe the steps ,itrvolved

,, ir the execution of this Servlet. (08 Marks)b. List out the differences between CGI and Servlets. (04 Mrrks)c. Write short notes on: i) Cookies, ii) Session tracking. (0s marxsi

a. Briefly explain the five types of JSP tags that are used in any JSP program. (08 Marks)

b. Write a JSP program to declare multiple variables and print them accordingly. (05 Marks)

c. What is RMI? Describe the code snippet RMI at client side. (07 Marks)

What are the different kinds of enterprise beans? Explain.What is deployment descriptor? List the deployment descriptor for EJB 1. 1.

Write a note on JAR file.

{.r<*{.{.

06cs71USN

Seventh Semester B.E. Degree Examination, June/July 2OL4

Object Oriented Modeling and DeqTime: 3 hrs.

b.

a.

oo'Eaol!BaG

oo

.ti ')qlo '

GV7r)-lho'troo.E& ?cEs r

ET6il.cc)

o>8s*soOdo

botr /L63 cg

-o2dF=E6-z- B

5IJ

=saAEo.5; t?.2o=aoatE

rv-

=o:=>'.tr.Ego oo= q*\*.u '.\= (.)5Lc F""*.fl* 7^{&d,

r G]

0)

o'7

eoc6OLoo

a "'#krt is an object oriented methodology? Explain the various stages of obj€ct orientedm@ology. (10 Marks)

b. Wh@tgAeneralization? Write the class model for geometric figures an(,exflain the conceptof gent&Iiaation and inheritance (10 Marks)

a. List the adva#ages and disadvantages of multiple inheritance ovdrthe generalization. Alongwith necessary class diagrams, describe different kinds of rnUltiple inheritance. (12 Marks)What is a packaffiJMhat purpose it serve? Explain thryi,frfibus tips for devising packages.

Explain in depth all the stages of software development process.

Note: Answer FIVEfull questions,atleast TI,YO questions from each

PART _ A

(08 Marks)

(10 Marks)constructing a sequence model? Give

(10 Marks)

(08 Marks)What is domain state model? Describe various steps performed while constructing a domainstate model. .,=a (12 Marks)

tl" a-ft' "

*,. x"=3' PART - B ;;'m+":. "t1 l

What is an',r plication state model? Describe the various steps fciUowcd while constructingan application state model. (I0 Marks)Explain the various issues to be considered while allocating concurreat subsystem to a

hardware unit. Either a general purpose processor or a specialized functional'unit. (10 Marks)

Explain three tasks of design optimization.Explain three steps used to improve the organization of a class design.

What is a pattern? Briefly explain the pattern description templates.With neat diagram, explain the dynamics of client-dispatcher-server modelpattern with necessary implementation steps.

Explain the structure and implementation steps of command processor pattern with a neatdiagram. (12 Marks)What are idioms? Explain the necessary steps for implementing the counted pointer idioms.

(08 Marks)

(10.._[Iarks)

(10 Dtrarks)

*#"(08 Marffi"*for desigrflF*(12 Marks)

*rFrkrk*

.1

USN

i*ql5- I,\2\

'. ti ".s,8G

20L4

06rs72

(10 Marks)(10 Marks)

ooo(€l).

()

IE9

-6..ooo ll

coa.= C.lcn =f,hooY4)ol..cc)

o3Ec6=

iio(€oOE50tr

-66rEG

=o5Jj

48.5(goia-96:toi, tEEE! ojr

=.Y>(Hoootd)oJ=sii=oo-(-, <-

(\.l

0)

z',,(€Lo

-Ti#F: 3 hrs.

Seventh Semester B.E. Degree Examination,Software Architecture

"-i i

What is a tactic? Explain availabiliqr''ta€tig, with a neat diagram.

,ii

Max. Ma#$i100

tt t 't":

dny FIVEfull questions, selecting atleast TWO questionsfro....*pp each part.

1a.b.

2a.b.

3a.b.

4a.b.

:. PART _ A

What is Soft#or,e Architecture? Define and explain Architectr,lrC Business cycle. (10 Marks)

Explain the common software architecture stmctures ti:':...":' (10 Marks)

Explain the process doffSol paradigm with various prqcess control definitions. (10 Marks)

Propose implicit invoiH$itia and pipes and filters Sift to implement a solution for KWICproblem. " *i;.,*,

_ 6 4:,: .,, (10 Marks)

i"-What are the qualities of the systelu?Expl#'the availability general scenario with diagram.

Explain the benefits and liabilities of layeredrarphitecture. (10 Marks)

Defure blackboard architecj& pattern. g.ffi., *{plain the steps used to implement theblack board architecturll.@-. (10 Marks)

6

7

, ,,,,4 '

8

PART - BI q .*:, ''

*. .i ,.;,

a. Explain the stepli'involved in implementing broker architeciure'lf4terns. (10 Marks)

b. Explain Jh^epossible

dynamic behaviour of MVC pattern with di-agraAs. (10 Marks)

a. ExpJaiu+he benefits and liabilities offered by microkernel pattern. .i" (10 Marks)

O

.,,,tl the different known uses of reflection pattern.

,.,,,,,,,: (10 Marks)

.4"'.;tiplain the steps to implement a whole - part structure. ' t,r;,,"€o Marks): h

- Briefly explain the benefits of master - slave design pattern. r"-,(09ff-Iarks)

c. Describe the different steps caried out to realize the implementation of the proxy pattg{p.(05Marks)

Explain the steps involved in designing an architecture using the attribute driven design.(10 Marks)

What are the suggested standard organization points for view documentation? (10 Marks)

a.

b.

,r rs r( r( rr

10cs72USN

la.b.

c.

2a.b.

c.

4

Seventh

hrs.

Semester B.E. Degree Examination, June/July 2Ol4Embedded Gomputing Systems

i,

Note: Answer FrvEfull questions, selecting Max' Marksll00'''

atleast TWO questionfrom each part.

PART _ A

rks)Marks)

(08 Marks)

(05 Marks)(07 Marks)

pipeline with a neat diagram of(08 Marks)

()oo!(!

CB

EoEo

E9bo*

!.

-.ooo ll

Eoa.= c-.1cdSd9poi

-.Ec)

a-

Ep

6=

b6(60OEo0s(66arb>9a66-

-? o)

5r=6tq

oi?-9o=5()i, lEsC!ol=E>. l:oo-tr ot)'o=o:\

=oo

e<-.: ..ioozd

o.

,,Time: 3

,,::" ,:

............,,,.

1,, ...

a. Write the major components of bus. protoryt' Explain the burst read transaction with atiming diagram. (08 Marks)

b. Describe : i) Timer ii) Cross co4l@r, iii) Logic analyzer. (06 Marks)

c. With neat sketch, explain the glue.lollc'tntbrface. (06 Marks)t',r'

',."

a. Explain the circular buffers fo:..edbedded progralns. (04 Marks)

b. With a neat sketch, explain ttC"iole of assemblers #d Hnkers in compilation process.(08 Marks)

c. Explain with example.;,.,th8 techniques in optimizing. ir 08 Marks)

;i-'-:' PART - B.,

5 a. What is RTOS? List and explain the different services of RTOS. '...,,-."",. . (10 Marks)

b. Descrihp,Ihe concept of multithreading and write the comparisio'n between thread andprocess. (10 Marks)

a. ",'Define

blocking and non blocking communication. Explain the two styles of interprocess

{ll-'r,i,;lcommunication, with a example. (to vtartrs;

t b:' What are the assumptions for the performance of a real system running processe'd?,Nfention

a. With a neat sketch, explain the CAN data frame format and typical bus transactions on th*" ,

I2c bus. (10 Marks) -'

b. Explain the Ethernet packet format and IP packet structure. (10 Marks)

a. What is adebugging.

simulator? Explain the features, advantages and limitations of simulator based

b. What are the improvements over firmware software debugging? Explain.

*{.**d<

(10 Marks)(10 Marks)

USN06cs74

rks)

Seventh Semester B.E. Degree Examination, June/July 2O14

Time:3 hrs.

::,

4."',b.

oo ,,:

o6!a(B

cd

OE0)L

E9

v,.Jh

ao ll

-6

.: al(n<9iloE-c !l

o38nd=

bdcdO

boccg cd

!b>P-66r

3oLO

=cdaEtro.()-a?i .9,o=j:oi4 lE6CL CJ}

x .:J>'!oo-cooo=s;i=o3Lc)U<-.: o.i

ooZ(t1loo

":"., ,:i:"

:::':,,:::lJ1\

?li "'I a.,

b.

r-.

2a.

i) W4irue wolf ii) Todd D. Morton. (04 Marks)

Defind.,fuign metrics in an embedded system. What are lhe d]ff.@ competing design

metrics? ll/hh& ile the design process in an embedded system, n..U,;"t (10 Marks)

a.'a... l)\l

What is "harg; Explain the following tenns related t$bm6edded hardware units :

i) Clock oscillat@cuit _ '#

b.

3a.b.c.

4a.b.c.

5a.b.

c.

ii) System timer *T-,, .

iii) Power -up reset and,d,,atch dog timer. (10 Marks)

Describe : i) UART ii) RS232C iii) SDI@i; (10 Marks)

"-jCompare the parallel ports interf#bfrff the&dypad, stepper motor and touch screen.

..,. ,qr'',o (08 Marks)

Explain the use of each control bit in,,&fu15 protocol. (05 Marks)

Mention various wireless and mobile,,systeni protocols. Explain any two of them. (07 Marks)

:fr,$;," PART-B d:-q!.

-.,, t',lt" -$,,,',,,,,,,,,,,,.

_,.

Differentigp'1fttween function, task and ISR. , _ ., (06lVlarks)

What are$'different programming models? With an example, exi{ain,the FSM model.

.il,,,."i,,iro-li - ii

,-:,;,"'.,,,::"' - - (08 Marks)

W,,,h41 the parameters of a task control block (TCB) of a task? Why slhqffieach task have

a'disiinct TCB? t'*:,,,,, (06 Marks)

6

l'"'*,.. ''

-.::

7 a. Describe earliest deadline first (EDF) and rate

models.

8a.b.

Embedded GomPuting SYstems

Note: Answer FIVEfull questions, selectingatleast TWO questionfrom each part.

PART _ A

-'What are the challenges faced in designing an embedded system.

Con"ppre the definitions of embedded system from the following aut

What is virtual device drivertExblain any two"oStkem, in detail. (08 Marks)

Explain context switchin_g,yoffiemrpt latency and inqegrupt service deadline. (08 Marks)

How do the device driq,functions and ISR functiolts di,flpr? Explain. (04 Marks)'";

b. What are the design principles of RTOS to design an embedded system? Explain them.(10 Marks)

Explain : i) Simulators ii) ICE. (r0 Marks)

What is the industry standard file format for storing the locator file? Show the memoryneeded in case of Princeton and Harvard architecture in the system. (10 lvlarks)

"" What is RTOS? List and explain the different services of RTOS. ' (@lVlarks)

What is the function of kernel in RTOS? Comprehend the different memory managpment

strategy for a system (10 M*qrys)

""1'u:'

monotonic schedule (RMS) scheduling'(10 Marks)

i/c\7-;;-( -""4"(F { ,e+r f6" '

?\ oe*tl' .

,;\ v'

d<*!krf*

USN

oboqd

o.ra

50

cd

()Lc)

o()

oCd

borgE(6

o

o.

oofr(.)

3(d!

o>ro0

C)

o.

oo

-ioozG

oo.

8 a. Write short notes on any two of the following:b. Trends in data miningc. Social impacts of data miningd. Data mining applications.

***,1.r*

(20 Marks)

USN O6CS/IS73

(12 Marks)(04 Marks)(04 Marks)

Seventh Semester B.E. Degree Examination, June/July 2OL4

Programming the Web

3 hrs. Max. Marks:l00Note: Answer FIVEfull questions, selecting

at leost TWO questions from each part.

', PART-A ......';. ",:"

Give''d11ntax and an example to each of the following tags:

i) <irnp ii) <a> iii) <sup> iv) <sub> v) <pre> (10 Marks)

Explain@syntactic differences between HTML and XHTML. _,.,,,--' "' (04 Marks)

P"plup Aifftirifit lists available h ITYL-*jh an example. u-,,i 1*" .rri7,i-:*W""u,Dxplam ql[er.Q.nF{rsls avallaore ln rr I rvIL wrlrr afl sxarupre. .,, ... . <;'< -1..Explain the followilry terms related to HTML table: ,,,,,,, . ';;^/'

i"'t: - -:-- - ir :: :::::::::' +? I :xi^.Pr4ur Lug TUIIUYVII#, LgIlllD Isl(lLv\r lu IlllvIL Lcurv. :::::: ::::r+-;.. , "]

/ \

:I cellpadding .., ing ii--' ,i7 "u*o**t'3\ tt*oo*"

Create a HTML document that has the form with the following controi) A text box to collect the cuptpmer's natqLe,. "D A text box to collect the Cuptpmer's nat1Le. "

ii) Four check boxes, one each''forfu foUo#ing items:

1. Four HTML text books fur,,',:J000.

'.,1 ,*Jime:

..:. :.4,,

,;:.: ...

',,,.rli rF .: .n

C)o()rErq6i

6()!C)

-b t6ar.Loxbo-

69-.oooll=oo.= ..1(nrf,il bOg()oCeO

o>8e6=

ii()(!0

o0tr

=9i:i 5!6

oj=

a8-6(!<);

OEtoi/r tiLo,o.->qoovEbO6= -o:\ I

o->r

-.i i..l'

ooz!hJoo"

2. Eight XML text books3. Four Javabeans

Explain with examples, the screen output and keyboard input methods.

Differentiate :: and::: operator in Java Script with an example.

color should be changed to background color of body.b. What exactly does the string method replace and match do?

c. With an example, explain on focus event in Java Script.

4. Eight UML textbooh,s fef ' 1500. ;; .,

iii) A collection ofthree rad'ib.,buttons that are lh$elcd as follows:1. Cash -J*^€fteque/DD 3. Ciedit card (08 Marks)

How many levels ofst}t{b sheet are there? Explain theii*ag€,,with syntax and examplrftu.r.O

x

Write an XHTM't:-flocument that contains three short parag*,ufils, of text, stacked on top ofeach other, wfuh only enough of each showing, so that mousei#sor can always be placed

over somb-.$$rt of them. Write Javascript code so that mouse u;rtsgr is placed over the

exposp$part of any paragraph, it should rise to the top to became cot'rnli]ptely visible.,,&ii* (08 Marks)

*Y,Fh'*" the selector forms? Explain with an example, different types of seffitor fo_r11w]th.;qfftax.

"iu.'.,,,, (ou Marks)

Explain briefly about Java Script. How we can differentiate Java Script and Java. iOo.lvtartrs)(05;$prks)(03 Mar*s)

Write a Java Script to accept three numbers, using the prompt method. Find and display the-"

largest of three using alert method. Use predefined function Math.max. (06 Marks)

PART _ Ba. The document has five buttons labeled red, blue, green, yellow and orange. The event

handlers of these buttons must produce message stating the chosen favorite color and chosen

I of2

E"l,

-*." l.t

tj;,6F

O6CSfl573

6 a. Develop an XHTML document that has checkboxes for apple (59 cents each), orange (49

cents eac[) an6 banana (39 cents) along with a submit button. Each of these checkboxesshould have its own on click event handler. These handlers must add the cost of their fruittotal cost. An event handler for the submit button must produce an alert window with the

message. Your total cost is 'xxx where xxx is the total cost of the chosen fruit includi4g5 percent sales tax. This handler must return false. (12 VaS*g'With examples, explain absolute and relative positioning of elements in Java Script* \''"

-.S,SMarks)

.*d Ian XML schema. Show how an XML schema can be created. s.-1..:

*, "(08 Marks)

b.

c.

8a.b.

c.d.

::,.-.,:l ,,,,"

::7:.:''.:....

!" "aI'' r"'*:d'd'1

'::"'''''**

"p

;"t,. $

"".

,. .i

ti,,u,,.,

' ni .,tl\.ti,,rr,

Sthtare the advantages of a SAX parser over DOM parser? ,,',:- "'-,,+ (06lVlarks)

E*ffi,,frow XSLT works with neat illustrations (06 Marks)t' ^t\' r,f'.

Describe wffi,.pxample, the various types of variables in perUl d"n' (06 Marks)

With exampleBlbxnfain string functions in PERL. ,dry,fu;,' (05 Marks)

Explain the fundduflntals of arrays in perl. = t " (03 Marks)

Write a perl progrffi"'to_ read three numbers a, b3.nifG=each on its own line, from thekeyboard and display t@eatest number. (06 Marks)

f - I #\"

*,I"_ *q3'

.n"\. ':

},\\\ *' rl\\ S W

2 of2

r0cs73USN

Time: 3 hrs.

,,,;J, r-

Seventh Semester B.E. Degree ExaminaProgramming the

doo!w

a=(o

()

o

E9ao#

695oo ll

coo.= a.lcB+gilogi-o

oB8s29o()(!ob0q

-o>€a66rE(6ats5.u

=cda&oi"1

-2o=tootEEE!O=n .=>qoovtro0.ic6=o. biE>Eo5L

55-.j'6iooz(! ::::

Loo.

Note: Answer FIVEfull questions, selectingatleast TWO questionfrom each part.

PART _ A

Marks:100lr'..

' '/1'""r("''r'',,::,

,. ,,,

1 a. :.Effi HTTP and also explain web servers operation and general server "nffi*tii,rtc;.ur,b. Exph#"MIME type specification in request/response transaction.| ive the syntactic

difference,hptween HTML and XHTML. (0s lvtarks)

c. Discuss the following tags with syntax and examples : i) <pre>..ii),{1nsta>. (04 Marks)

2 a. What are selectoa,'fus? Explain the different types of sekictor forms with example.='- (08 Nlarks)

b. Write document b;l*ffi sheet to illustrate pseudp""olauSls. Discuss the conflict resolutionin cSS. '*",-.... xi;r'l (og Marks)

c. Create an XHTML documdnt that includes aftep6t,two images and enough text to precede

the images, flow around them ( on left aod" d on right) and continue after the last image(Note : Use CSS tags). o4 Marks)

::::::: :::

3 a. Explain Javascript affays with examples. (08 Marks)b. Write a Javascript that containqa fiu,rction named validate - phoneno, which tests the phone

number of the format ddd - {{din-: ddddddd'<99l - 8256 - 1234567> and display whetherthe given number is valid or liblusing alert. ; (04 Marks)

c. Write a note on charactor and character classes. Describe briefly three major uses of javascript on the client side; ' ta;:. 08 Marks)

.,",l' **lt,4 a. Explain with le, the different approaches of a'tftlrosping XHTML elements inJavascript. ",*'l1i

,_"lt!r' _ (05 Marks)

b. Explain the tlrree phases of event processing in the DOM2 event mbdel. (05 Marks)

c. Write a,,Javascript which displays the message when the mouse button is pressed no matterwhere-,it'is on the screen. (05 Marks)

d. EX#fi the different types of positioning, with example. ,,rr. (05 Marks)-n, :o -

rrrr'.!

. ,,..i' PART - B ': .,,, l;1,

't

,--Pl.qra. m."1 is the documenttype definition (DTD)? Describe the approachto declare elffints,',,,t'..

lntilie.s and attributer. (08 M&rt$I,lb. Explain the purpose of XML parser. (06lvlarksi.'..::

c. Describe briefly an XML name space. What are the two categories of user defined XMLschema data type? (06 Marks)

6a.b.

Describe with example, the various types of variables in PERL. (08 Marks)

What is query string? How is it transmitted to the server with the GET and POST methods?(06 Marks)

c. Write a CGI program that collects the data from the form and writes it to a file (assume theform data). (06 Marks)

I of2

7 a. Discuss alrays in PHP.

b. Explain file operation in PHP.

10cs73

(08 Marks)(06 Marks)

,,4,*, c. What is cookie and session tracking, how are they handled in PHP. {00 tvta.r$},

=j1#,,,* u. With example, explain simple input and output functions in ruby. Explain code block$aid'"*e J iterators. ,4$nvlarks), ,;i,,,,Ui..*riscuss access - control in ruby. ,.,:.- ffi Marks)

c51 \M.rite a ruby program to display the second smallest number in the list, along&fth it position

'm+p6Jist. "%.

',.* (05 Marks)

- '{:'''';i'' "4j:

\ **,F{.* {F' i:::::: ! .:::::=sln- ,i!

'tp

\i

.r*f, j :.

ll ',,.::r:n

"''- ;f"s.=

.n ,,i..i*tiil,grP" ulr

a

\# r*v!-.....*,..

....... .:::

:1 ,:::::r'-=,

::.' .:2,. .q

2 of2

USN

Seventh

Time: 3 hrs.,lt.

doo6Lo.6

()

()

3eo.'iy.d9

-.ooo ll

troa.=NcO+bipoq-< !2

o>8s6=

oo)(qO

aoc.9 csEb}EG-E(6,r? o6i3

d. 8.tro.o.voj

SJEtoi, tE

9Ol

>(E-^otrboo=a. bitr>Xoo

LJ#

-J c.i

o

(!li

o.

Note: Answer FIVEfull questions, selectingat least TWO questionsfrom each purt.

,a'

-.

"ii

la.b.

2 a'.

PART _ AList and explain the basic building blocks of .NET frame work. ' ,' (10 Marks)

List and explain all the intrinsic CTS data tlpe and .NET namespaces in Cff.,,'.., (10 lvlarks)

ExplaiA-;the concept of .NET binaries. Differentiates between qitls{e file and multifileassemblie& ,= ,,, (07 Marks)

b. Explain the idedJIT compiler. Explain boxing and unboxinglith example codes.

c. Explain C # prepr or directives with examples. (07 Marks)::,, _:::.,,,,,,:::

,, ,l#,1

a. Differentiate between v@es types and reference,i,-types. What is a method parameter

modifier? Explain with c qnippets at least twe=such modifiers. (09 Marks)

b. Differentiate between Sysemr$lling and Systbnu4ext.StringBuilder. Explain with relevantcode, some of the features of Sti,,ingBlilder 44ps. (05 Marks)

c. Explain all the C # iteration constructors with examples. (06 Nlarks)

a. What are the 3 pillars of object orietif6d-piogramming in C#? Differentiate between "is-a"and "has-a" relationships. (05 Marks)

b. What is the difference between enforcing enoapsulation using the traditional accessor and

mutators and class properti€}? Explain with necessary codes. (07 Marks)c. Explain abstract classe$ and abstract methods with €xamgles. (08 Marks)

PART_B 1

,,rlh,, i,,".,,i,a. Mention the +rffids present in the System.Exception base;elass. Explain Targetsite andStackTrace,pffinerties with examples. , ..,,..,,,,,, (08 Marks)

b. Explain hd tb build a custom exception in C# using suitable codb.'l ,, . (08 Marks)

c. What is,,,,, ant by object life time? Discuss the role of CIL of "new" w-ith g;ample.

. .;1,;.'".: '';,lfl ,.,. (04 lvlarks):: :

a.,r'Sriefly explain with an example explicit interface implementation. (05 Nlarks)

U,.,",'befine an interface. Explain how interfaces can be used as polymorphic agents withsuitablecode. (09 Marks)

c. Write an explanatory note on ICloneable interface with example. (06lvlarks)

::',:::"',:'

a. What are delegates in C#? Differentiate between synchronous and asynchronous delegat€swith an example. (10 Marks)

b. What do you understand by event based programming in C#? Give an example with code.(10 Marks)

a. Explain the steps involved in building multifile assembly with an example. (10 Marks)

b. Write short notes on: i) Interfaces of system collection. ii) Shared assemblies. (10 Marks)

lllllll '-!l'_\j

Semester B.E. Degree Examination, June /Tliy:f&3fi* 11

c # Programming and .Net tl.[*-X

{.**{<{<