Semester : SEMESTER 6
Subject : Web Technologies
Year : 2019
Term : DECEMBER
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 368
Page:2
b)
7 ஐ
b)
8
9
10
11
12 a)
0)
17192135 Pages:2
data to the server “http://responses.mysite.com” using “POST” method.
You can use any text of your choice to label the form elements.
Write brief notes on the method of operation of web servers. What is stored in
the document root and server root folders of a web server?
Write down the general format of an HTTP request and an HTTP response. What
is the purpose of the following HTTP headers? Also, identify whether they are
included with an HTTP header/response or both.
i. host li. last-modified
Differentiate between “rowspan” and ‘“‘colspan” table attributes. Write HTML
code to create a table whose structure is as below:
Insert any text of your choice in the table cells. The first row is considered to be
containing a heading. The background colour for the table should be red, and the
text in the cells should all be centre aligned.
PART C
Answer all questions, each carries 3 marks.
Differentiate between the action of span and div tags with suitable examples.
List three methods for creating an array object in JavaScript. What function does
the array methods join() and slice() perform?
Write CSS style rules to implement the following in a web page:
a. to display the content of hyperlinks with yellow background colour and in
italics
b. to display the contents of unordered lists in bold and in Arial font
c. to display a background image titled “birds.jpg” with no tiling.
What is meant by DOM? How is it useful for JavaScript scripts?
PART 0
Answer any two full questions, each carries 9 marks.
Discuss the various CSS style sheet levels with suitable examples. How are
conflicts resolved when multiple style rules apply to a single web page element?
How are event handlers registered in JavaScript? Write the code for an HTML
document with embedded JavaScript scripts, which initially displays a paragraph
with text “Welcome” and a button titled “Click”. When the button is clicked, the
Page 2 of 4
(4)
(4)
(5)
(3)
(3)
(3)
(3)
(4)
(5)