Semester : SEMESTER 6
Subject : Web Technologies
Year : 2020
Term : SEPTEMBER
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 368
Page:2
10
11
12
13
14
15
16
a)
b)
0)
೩)
0)
0)
a)
b)
a)
b)
a)
03000CS368052003
PART C
Answer all questions, each carries3 marks.
Write a JavaScript program to read an integer value using prompt and
display its square?
Write about CSS Box model with neat diagram?
What is the syntax of JavaScript and Why JavaScript is enclosed in HTML
comments?
Explain how to control spacing in between text, words and lines with proper
examples
PART D
Answer any two full questions, each carries9 marks.
Discuss various types of control statement in JavaScript?
How to link an external style sheets to an HTML document? Describe the
various attributes used?
JavaScript is known as object-based language. Justify your answer?
Write CSS code for the following:
i) set the background color for the hover and active link states to
"yellow".
ii) Set the list style for ordered lists to "lower case alphabet”.
111) Set "Boat.gif" as the background image of the page.
iv) Set dotted border for the document.
What is a selector in CSS? What do you mean by contextual selector and
where it is used?
Explain following tags with proper example?
1. 2.
What is client-side scripting? Write a JavaScript program which accepts N
as input and print first N even numbers.
Explain how to create objects in JavaScript with example?
PART E
Answer any four full questions, each carries10 marks.
How to do pattern Matching in PHP?
Write a PHP script to count the instances of words in string?
Differentiate between simple and complex data types in XML.
Page 2 of 3
(3)
(3)
(3)
(3)
(4)
(3)
(2)
(4)
(3)
(2)
(5)
(4)
(4)
(6)
(4)