Semester : SEMESTER 6
Subject : Web Technologies
Year : 2018
Term : APRIL
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 368
Page:2
13
14
15
16
17
18
19
20
a)
b)
a)
b)
F6846 Pages: 2
Differentiate between and
Explain various String properties and methods present in JavaScript.
Write a JavaScript program to find the factorial of a number.
Write a JavaScript code to solve a quadratic equation by reading the
coefficients through dialog box. Also use confirm dialog box to check whether
user wants to continue or not.
PART E
Answer any four full questions, each carries 10 marks.
Explain XML document structure?
What is the requirement of XML Schema? Explain.
Explain simple and complex data types in XML with suitable example?
How XSLT style sheets can be used to control page layout in XML?
Differentiate between JSON and XML?
What are the different ways to create an array in PHP? Explain with example?
What is server side scripting? Write a PHP program to check whether the given
number is Armstrong or not?
How can we declare attributes of an element in DTD?
Design an HTML form for entering a number by the user. Write a PHP code to
display a message indicating, whether the number is odd or even, when clicking
on the submit button.
Write a PHP script to count the instances of words in a string?
What is the significance of cookies in web? How can a cookie be created and
destroyed in PHP?
3 ಶೇ ಶೇ بد
Page 2 of 2
(4)
(5)
(4)
(5)
(5)
(5)
(10)
(5)
(5)
(4)
(6)
(5)
(5)
(5)
(5)