Enrolment No.
GUJARAT TECHNOLOGICAL UNIVERSITY
--- Content provided by FirstRanker.com ---
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:
--- Content provided by FirstRanker.com ---
- Attempt any FOUR questions out of EIGHT questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
- (a) What is HTTP? Explain HTTP Header with example. (07)
(b) Explain the Architecture of Web Browser (04)--- Content provided by FirstRanker.com ---
(c) What is CORS? Write code to implement simple cross-origin resource sharing and wildcards. (03) - (a) Why state is problem for web application? Explain various technique for state and session management in php with example (07)
(b) Write a php program to greet the user based on time (04)
(c) Explain following terms (Any Three) (03)- JSON
- DOM
- SOAP
- GET vs POST
--- Content provided by FirstRanker.com ---
- (a) Write JavaScript code that display the text,“Gujarat Technological University” with increasing font size in interval of 50ms in blue color. When font size reaches to 50px it should stop. (04)
(b) What does the floating and positioning element do in CSS explain with example (03)--- Content provided by FirstRanker.com ---
(c) Discuss how display resolution affects web site design (04) - (a) Demonstrate onChange event handler in java script code when input focus exits after the user modifies its text. (03)
(b) Explain Callback function in JavaScript with example (04)
(c) Explain Meta Tag with example. (03) - (a) Write a php code to check whether given username is already in “login_tbl” table or not using AJAX and display appropriate message. (04)
--- Content provided by FirstRanker.com ---
(b) Explain following terms (03)- Difference between for and forEach method in JavaScript
- Write a code to validate user input using jQuery.
- (a) Write a php code to upload file on server and display file details on the page (Ex. File name, Extension, File Size) (07)
(b) Write a switch case code to create REST API to display the user details from database and display data in form of JSON (04)--- Content provided by FirstRanker.com ---
(c) What do you mean by “class” and “id” in CSS? Explain with Example. (03) - (a) Design web page to detect the visitor’s browser name and its version. (07)
(b) Write a php code to calculate the number of days between to two input dates if the difference is even number then render background color as blue or red. (04)
(c) Write Java Script for find first 10 prime numbers. (07) - (a) Write a function that takes 3 parameters, price, tax rate, balance, and prints yes in an alert box 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. (04)
--- Content provided by FirstRanker.com ---
(b) Write arrow function in JavaScript to calculate the sum of two digits when user click on button. (07)
(c) Explain ordered and unordered list with example. (04)
Write a function that generates a web page containing a table with 3 columns and 500 rows. Label each location in the table with row and column location.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU B.Tech 2020 Winter Question Papers || Gujarat Technological University