0% found this document useful (0 votes)
44 views

Web Summer 2023

The document is a question paper for a web programming exam. It contains 5 questions with subparts testing knowledge of HTTP, HTML, CSS, JavaScript, PHP, AJAX, APIs and related concepts. Students are asked to answer questions on meta tags, Bootstrap, forms, positioning, events, cookies, sessions, databases and more.

Uploaded by

nityamparesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Web Summer 2023

The document is a question paper for a web programming exam. It contains 5 questions with subparts testing knowledge of HTTP, HTML, CSS, JavaScript, PHP, AJAX, APIs and related concepts. Students are asked to answer questions on meta tags, Bootstrap, forms, positioning, events, cookies, sessions, databases and more.

Uploaded by

nityamparesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – SUMMER 2023
Subject Code:3160713 Date:12-07-2023
Subject Name:Web Programming
Time:10:30 AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

MARKS

Q.1 (a) What is HTTP? Explain HTTP Request and Response. 03


(b) Explain different design issues at the time of designing an effective website. 04
(c) (i) Write any two meta tag syntax to implement different features in html. 07
(ii) Explain with example frames in HTML.

Q.2 (a) What is bootstrap? What Bootstrap package contains? 03


(b) Explain with example: Ordered list and Unordered list. 04
(c) (i) Explain following with example: <pre> tag, <sup> tag, character encoding in 07
HTML
(ii) Explain HTML5 form validation attributes using example.
OR
(c) Explain HTML form attributes with syntax. Make HTML form to collect details of 07
a book in library such as BookTitle (textbox), AuthorName (textbox), Publication
(selectionbox), Domain (checkbox) and comments (textarea) in tabular format.

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.

Q.5 (a) Differentiate between synchronous and asynchronous web programming. 03


(b) Write a PHP Script to display content of .txt file and display total number of words. 04
(c) Write AJAX code to demonstrate the use AJAX request-response mechanism. 07
OR
Q.5 (a) What are APIs? How to use them? 03
(b) Explain the concept of state management using query string in PHP. 04
(c) (i) Explain jQuery load(), get() and post() methods with its syntax. 07
(ii) What is web service? How we can create web service?

*************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy