Gujarat Technological UniversitySummer 2026 examination

GTU 3151606 Web Development Summer 2026 Question Paper & PDF

B.E. · IT Engineering · Semester 5 · Subject code 3151606
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 2:30 PM – 5:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

10 of 25 questions on this paper were also asked in other years. 6 more are types of question GTU sets again with new data. Each is marked below with the years it appeared.See all 30 repeated 3151606 questions, most asked first

Q.1

14 Marks
(a)
3 marksAsked in 3 of 7 papers
State what CORS stands for and its basic purpose.

Also asked in Summer 2025 Q2a, Summer 2023 Q1a

(b)
4 marks
Explain different attributes of meta tag with example.
(c)
7 marksAsked in 2 of 7 papers
Write a PHP code using session management to track shopping cart items.

Also asked in Summer 2024 Q4c OR

Q.2

14 Marks
(a)
3 marks

Use CSS animations to an HTML element so that a button changes color and scales up slightly when hovered over. Write the code.

(b)
4 marks
Write code to destroy the session when user press the logout button.
(c)
7 marksSame type asked in 4 of 7 papers
Write an HTML Code to generate following table structure.

A B C D E F G H I J K L M N O P Q R S T U V W X Y X AA AB AC AD

Also asked in Winter 2025 Q2c, Summer 2025 Q2c, Winter 2023 Q2c OR

(c)
7 marksSame type asked in 4 of 7 papers

Write an HTML code to create a Registration form for the student at the time of college admission. Apply following validation using the HTML tags and attributes only.

1)All fields are compulsory.
2)Mobile number must be 10 digit number.
3)Passing year must not be less than 2 years from current year. (i.e. not less than 2023). Disable the future date as well.
4)Date of Birth range must be between 01- 01-2005 to 31-12-2024.
5)Email Validation, Pin Code Validation.

Also asked in Winter 2024 Q1c, Summer 2024 Q2c, Summer 2023 Q2c

Q.3

14 Marks
(a)
3 marksAsked in 4 of 7 papers

Describe the role of callbacks in JavaScript functions, illustrating with a simple code snippet.

Also asked in Winter 2025 Q4b, Summer 2024 Q3b, Winter 2023 Q3a OR

(b)
4 marksAsked in 3 of 7 papers

What is event handling in Java? Write a Java Script code to change the size of image if mouse cursor is over the image and reduce back to normal when cursor is out.

Also asked in Winter 2025 Q4b OR, Summer 2023 Q3c OR

(c)
7 marksSame type asked in 2 of 7 papers

Write JavaScript code to parse a JSON file containing student data and display it in an HTML table.

Also asked in Summer 2025 Q5a

(a)
3 marks

Write a JavaScript code snippet to create an account object containing three sub- objects: Saving, Loan, and Current Account . Assign appropriate properties to each sub-object, and display all properties using a for in loop.

(b)
4 marks

Simulate an asynchronous operation using setTimeout, and use a callback to display a message after 2 seconds.

(c)
7 marks

Write a JavaScript program that reads user account data stored in a JSON file. Design an HTML form that allows the user to enter their Username and Password.Using JavaScript, validate the entered credentials against the stored user data in the JSON file.Display an appropriate message such as “Login Successful” or “Invalid Username or Password” based on the validation result.

Q.4

14 Marks
(a)
3 marksAsked in 2 of 7 papers
What is associative array in PHP? Explain with example.

Also asked in Summer 2025 Q5a OR

(b)
4 marksAsked in 3 of 7 papers
What is DOM in Java Script? Explain and two DOM manipulation function.

Also asked in Summer 2025 Q4c, Winter 2023 Q4c

(c)
7 marksSame type asked in 4 of 7 papers
Write PHP code to perform CRUD operation on Student Database.

Also asked in Winter 2025 Q5c OR, Summer 2025 Q5c OR, Winter 2024 Q5c

(a)
3 marksAsked in 5 of 7 papers
Differentiate between session and cookies.

Also asked in Summer 2025 Q5b OR, Summer 2024 Q5b, Winter 2023 Q4b OR, Summer 2023 Q4b OR

(b)
4 marks

Write Java Script code to enter 10 numbers, comma separated (e.g. 2,4,5,19,3..) through prompt box. Find out Maximum number, minimum number and average of all 10 numbers and display through an alert box.

(c)
7 marksSame type asked in 2 of 7 papers

Write a PHP script to upload an image, check its type (e.g., JPEG/PNG), and move it to a directory (Directory name - /usr/student/col1/). Apply size limits (under 2MB) and rename the file uniquely.

Also asked in Winter 2024 Q4b

Q.5

14 Marks
(a)
3 marksAsked in 2 of 7 papers
Explain Hidden Fields and Query String.

Also asked in Summer 2023 Q5b OR

(b)
4 marks

Create a webpage with a list of 5 items. Use jQuery to change the background color of a list item when clicked.

(c)
7 marksAsked in 2 of 7 papers
What is CSS Box Model? Write CSS code to implement following output.
1)Make an ordered list with red border, padding and font size 20.
2)Use flower.jpg as Background and repeat it.
3)Change background color of text box when focused.
4)Create a fixed position link at bottom with scrolling page. Give name of the link “#top”.

Also asked in Summer 2025 Q2c OR

(a)
3 marks
Explain GET,_GET,_POST and $_REQUEST in PHP.
(b)
4 marksAsked in 3 of 7 papers
Create an Image Slider using Jquery. There should be at least 5 images.

Also asked in Winter 2024 Q5b OR, Winter 2023 Q5c OR

(c)
7 marksSame type asked in 3 of 7 papers

Create a PHP REST API to perform HTTP GET and DELETE method. Write postman URL to consume that API. Also write necessary database connection code.

Also asked in Summer 2025 Q4b OR, Summer 2024 Q2c OR

More Web Development papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper for Web Development (Summer 2026, B.E. · IT Engineering, Sem 5). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

ViewDownload PDF