Semester : SEMESTER 6
Subject : Internet Technology
Year : 2021
Term : JULY
Branch : INFORMATION TECHNOLOGY
Scheme : 2015 Full Time
Course Code : IT 302
Page:2
b)
௦)
a)
b)
0)
a)
b)
a)
b)
a)
b)
a)
b)
0)
030001T302052003
Write a JavaScript that reads an integer and determines and outputs HTMLS
text that displays whether it is odd or even.
How can you traverse and modify a DOM Tree?
Illustrate DOM collections. Explain different flavours of DOM collections
available.
Write a JavaScript to check whether the input number is Niven or not (Note:
Niven number is an integer that is divisible by the sum of its digits).
Write a program to show the current date and time using JavaScript.
Write a JavaScript program to accept an integer array and check whether the
smallest element in the array is prime or not. Use appropriate user defined
functions.
What is meant by event handling in JavaScript? With an example show how can
you handle mouse move event in JavaScript.
PART C
Answer any two full questions, each carries 20 marks.
Explain how asynchronous requests are managed in Ajax Applications with an
example.
Implement a hospital management system using php. The system should have
the facilities to
(i) Register a patient (patient name, patient_id, age, address)
(11) Search a patient using patient_id
(iii) Delete a patient
(iv) | Update the details of a patient
Write an XML file and its DTD for storing employee details. The details
consist of name, department, empid, mobile number and address. The address
consists of house_name, street_name and district.
Explain the different steps involved in accessing a MySQL database from PHP.
Write down its syntax.
How to create XHR object? Explain the methods and properties of XHR object
with an example.
What is meant by cookies? How can you create cookies in PHP?
Illustrate the way in which you can access web servers.
Page 2 of 2
(3)
(7)
(7)
(5)
(3)
(8)
(7)
(10)
(10)
(10)
(10)
(10)
(7)
(3)