programming the web jan 2014

2
USN 4a. b. 2a. b. 10cs73 (04 Marks) (08 Marks) (08 Marks) (06 Marks) d o o o = () ! te 69 o0 l Eoa .-+ .=N o Y:J oE -o o= oO -! o0c (gd -6 E(B -hts OE o-E tro. o'" oj a= AE !o =E Y, ^! boe ebo o= =6 go VL o U< :'- o o z o Seventh Semester B.E. Degree Examination, Dec. 20l3lJan.2Ol4 Programming the Web Time: 3 hrs. Max. Marks:100 , Note: Answer FIVEfull questions, selecting atleast TIfiO questions from each part. I a. What is MIME? Explain his type specifications. '' (04 Marks) b. Give the general form of HTTP request phase and also explain, in detail. (08 Marks) c. Explain the different image formats, write XHTML document to illustrate use of <img> (with all attributes). (08 Marks) Crate XHTML document that contains student information vizname, usn, subject 1, subject 2 and subject 3. Insert values for each student in five lows. Also row background of each student should be in the different color. ,,,, " c. Explain following tags. with example : i) Select ii; Frame iii) Textarea iv) Div. Explain the different levels of style sheets are available in CSS. Explain the different primitive types in JavaScript. 3a. b. Write a JavaScript to validate the name, the name should be entered using prompt. The first and last name should note more than 10 characters and middle name must contain only initial. If so display validation corresponding name. The format is the first_name second_name third_name. There should be single white space between First_name Second_name and Thrid name. (14 Marks) Explain the different types of positioning elements, with examplel (08 Marks) event handler as a parameter use a onclick event to trigger a call t Write XHTML and JavaScript script which has five buttons labeled five different colors. The even handler for these buttons must produce a message starting the choosen favorite color. The even handler must be implemented as a function. Whose nalrle must be assigned to thb onclick attribute of the radio button element. The choosen color must be sent to the display brief description of the selected color. c. Explain Navigator object, with an example. 5a. b. PART _ B What is DTD? What are the main advantages of XML schema over Marks) Explain the three types that can be used to describe data in an element ion. with an example each (09 Marks) c. How does an XSLT processor use an XSLT stylesheet with an XML document? (05 Marks) a. Explain the different categories of a variables in Perl along, with an example. (09 Marks) b. Write a Perl program to copy contents liom one file to another. (04 Marks) c. What is CGI? Explain CGI pm modle, with an example. (07 Marks) l* For More Question Papers Visit - www.pediawikiblog.com For More Question Papers Visit - www.pediawikiblog.com www.pediawikiblog.com

Upload: prasad-c-m

Post on 13-May-2017

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Programming the Web Jan 2014

USN

4a.b.

2a.b.

10cs73

(04 Marks)

(08 Marks)

(08 Marks)

(06 Marks)

doo

o=()!

te

69

o0 l

Eoa.-+.=N

o Y:J

oE-o

o=

oO

-!

o0c(gd

-6

E(B-htsOE

o-Etro.o'"oj

a=AE!o=EY,^!boeeboo=

=6go

VLo

U<:'-ooz

o

Seventh Semester B.E. Degree Examination, Dec. 20l3lJan.2Ol4Programming the Web

Time: 3 hrs. Max. Marks:100

, Note: Answer FIVEfull questions, selectingatleast TIfiO questions from each part.

I a. What is MIME? Explain his type specifications. '' (04 Marks)b. Give the general form of HTTP request phase and also explain, in detail. (08 Marks)c. Explain the different image formats, write XHTML document to illustrate use of <img>

(with all attributes). (08 Marks)

Crate XHTML document that contains student information vizname, usn, subject 1, subject2 and subject 3. Insert values for each student in five lows. Also row background of eachstudent should be in the different color. ,,,, "

c. Explain following tags. with example :

i) Select ii; Frame iii) Textarea iv) Div.

Explain the different levels of style sheets are available in CSS.

Explain the different primitive types in JavaScript.3a.b. Write a JavaScript to validate the name, the name should be entered using prompt. The first

and last name should note more than 10 characters and middle name must contain onlyinitial. If so display validation corresponding name. The format is the first_namesecond_name third_name. There should be single white space between First_nameSecond_name and Thrid name. (14 Marks)

Explain the different types of positioning elements, with examplel (08 Marks)

event handler as a parameter use a onclick event to trigger a call t

Write XHTML and JavaScript script which has five buttons labeled five different colors.The even handler for these buttons must produce a message starting the choosen favoritecolor. The even handler must be implemented as a function. Whose nalrle must be assignedto thb onclick attribute of the radio button element. The choosen color must be sent to the

display brief description of the selected color.c. Explain Navigator object, with an example.

5a.b.

PART _ B

What is DTD? What are the main advantages of XML schema over Marks)Explain the three types that can be used to describe data in an element ion. with anexample each (09 Marks)

c. How does an XSLT processor use an XSLT stylesheet with an XML document? (05 Marks)

a. Explain the different categories of a variables in Perl along, with an example. (09 Marks)b. Write a Perl program to copy contents liom one file to another. (04 Marks)c. What is CGI? Explain CGI pm modle, with an example. (07 Marks)

l*

For More Question Papers Visit - www.pediawikiblog.com

For More Question Papers Visit - www.pediawikiblog.com

www.pediawikiblog.com

Page 2: Programming the Web Jan 2014

l

7 a. Explain any six string functions in PHP.b. With an neat diagram, explain logical internal structure of array in PHP.c. Write a PHP functions that reads contents from a file and write into a file.d. Explain the different types of scalar types are available in PHP.

&;,.,a. Discuss the different pattern matching operations are available

10cs73

(06 Marks)(04 Marks)(06 Mark$'._

104 Malto).

:l' I

in ruby with exanipleieach.." (09 Marks)/ir

bi. ,,'Errolain keyboard input and screen output in ruby.c. Explain with a neat diagram, directory structure of rails 1

.i' il -

i:' .j

application.,,"'1 ,i,r (04 Marks)

(07 Marks)

{<**{.{<,i'\.

/tt'4!!,...1i

{:llli-;.'""3* "tu;i

::

.""".,::,

.:".::. \"i;{

a,:r

""'t'

. 'l!Sqriij

2 of2

For More Question Papers Visit - www.pediawikiblog.com

For More Question Papers Visit - www.pediawikiblog.com

www.pediawikiblog.com