Download GTU B.Tech 2020 Winter 5th Sem 3151606 Web Development Question Paper

Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Winter 5th Sem 3151606 Web Development Previous Question Paper

Seat No.: ________
Enrolment No.___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER?V (NEW) EXAMINATION ? WINTER 2020
Subject Code:3151606 Date:27/01/2021
Subject Name:Web Development
Time:10:30 AM TO 12:30 PM Total Marks: 56
Instructions:
1. Attempt any FOUR questions out of EIGHT questions.

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.

Q.1
(a)
What is HTTP? Explain HTTP Header with example.
07
(b)
Explain the Architecture of Web Browser
04
(c)
What is CORS? Write code to implement simple cross-origin resource sharing and
03
wildcards.


Q.2 (a)
Why state is problem for web application? Explain various technique for state and session
07
management in php with example

(b)
Write a php program to greet the user based on time
04
(c)
Explain following terms (Any Three)
03
1. JSON
2. DOM
3. SOAP
4. GET vs POST


Q.3 (a) Write JavaScript code that display the text "Gujarat Technological University" with increasing 07
font size in interval of 50ms in blue color. When font size reaches to 50px it should stop.

(b) What does the floating and positioning element do in CSS explain with example
04

(c) Discuss how display resolution affects web site design
03




Q.4 (a) Demonstrate onChange event handler in java script code when input focus exits after the user 07
modifies its text.
(b) Explain Callback function in JavaScript with example
04
(c) Explain Meta Tag with example.
03

Q.5 (a)
Write a php code to check whether given username is already in "login_tbl" table or not using 07
AJAX and display appropriate message.
(b)
Explain following terms
04
1. Difference between for and forEach method in JavaScript
2. Write a code to validate user input using jQuery.
(c)
Write a php code to upload file on server and display file details on the page
03
(Ex. File name, Extension, File Size)




Q.6
(a) Write a php code to create REST API to display the user details from database and display
07
data in form of JSON
(b) What do you mean by "class" and "id" in CSS? Explain with Example.
04
(c) Design web page to detect the visitor's browser name and its version.
03

Q.7
(a) Write a php code to calculate the number of days between to two input dates if the difference 07
is even number then render background color as blue or red.
(b) Write Java Script for find first 10 prime numbers.
04
(c) Write a function that takes 3 parameters, price, tax rate, balance, and prints yes in an alert box 03
if someone has adequate balance to purchase an item at the specified price with the given tax
rate. Otherwise, print out no in an alert box.



Q.8
(a) Write arrow function in JavaScript to calculate the sum of two digits when user click on
07
button.
(b) Explain ordered and unordered list with example.
04
(c) Write a function that generates a web page containing a table with 3 columns and 500 rows.
03
Label each location in the table with row and column location.

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

This post was last modified on 04 March 2021