Wp Summer 2022 Merged
Wp Summer 2022 Merged
___________
1
OR
Q.5 (a) What is JQuery? What are the advantages of JQuery? 03
(b) State the difference between synchronous and asynchronous web 04
programming.
(c) Write HTML and PHP program to read and store book information 07
such as book id, title, author and price from database table. Output
the data to a webpage in tabular format.
*************
2
Seat No.: ________ Enrolment No.___________
MARKS
Q.3 (a) Write the difference between POST and GET methods. 03
(b) Discuss following properties with respect to CSS. 04
(1) Z-Index positioning (2) Relative positioning
(c) (i) Write a JavaScript that handles following mouse event. If the mouse is over 07
heading, change font color to “green” and if the mouse goes out of the heading
change it to “red”.
(ii) Put three buttons “OPEN NEW WINDOW”, ”CLOSE CHILD WINDOW”,
”CLOSE MAIN WINDOW” in main HTML page. On click of first button, execute
some JavaScript code that will open one child window. Clicking on second button,
child window will close and clicking on third button, main html page will close.
OR
Q.3 (a) Create a webpage containing one button. Clicking on this button, change the size 03
of the window & position.
(b) What is Pseudo-Elements in CSS? Explain through example. 04
(c) (i) Explain different pop-up boxes of Javascript with suitable examples. 07
(ii) Write HTML and JavaScript code to validate the email address using regular
expression.
1
Q.4 (a) What is the use of cookie in web programming? Write a code to set and display 03
cookies in PHP.
(b) Explain any two event handlers for text box & text area in Java Script with 04
Example.
(c) Write HTML and PHP program to read and store employee information such as 07
e_id, e_name, e_dept, e_exp and e_salary from employee table. Make a search
module to search a record from the database based on e_dept and display the result
in tabular format.
OR
Q.4 (a) Explain session in PHP with example. 03
(b) Explain any two event handlers for button in Java Script with Example. 04
(c) Write a web application code using PHP, HTML and MySql for Students that stores 07
EnrollmentNo, Name, College, Branch, Year etc. in database. Make separate PHP
file for each database operation like insert, update and delete operation.
*************
2
Enrolment No./Seat No_____________
MARKS
Q.1 (a) Define following: 03
1. URL 2. HTTP 3. Web Server
(b) Write differences between client-side scripting and server-side 04
scripting.
(c) What is cascading style sheet (CSS)? Compare inline, 07
embedded and external style sheet with example.
1
(c) Write a java script to find whether entered number by user is 07
prime or not.
Q.4 (a) Explain ordered and unordered list in HTML with example. 03
(b) Explain types of loops in PHP. 04
(c) What are different types of arrays in PHP? Explain with 07
example to process the arrays in PHP.
OR
Q.4 (a) Write a note on Web services. 03
(b) Write a PHP code to demonstrate a calculator using switch case. 04
(c) Briefly discuss sessions and cookies in PHP using appropriate 07
example.