Gujarat Technological UniversityWinter 2023 examination

GTU 3160713 Web Programming (WT) Winter 2023 Question Paper & PDF

B.E. · Computer Engineering · Semester 6 · Subject code 3160713
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.

6 of 25 questions on this paper were also asked in other years. 1 more is a type of question GTU sets again with new data. Each is marked below with the years it appeared.See all 26 repeated 3160713 questions, most asked first

Q.1

14 Marks
(a)
3 marks

Explain HTTP Request and Response with header details. Also explain various http status codes.

(b)
4 marksAsked in 4 of 7 papers
Enlist and explain the website design issues.

Also asked in Winter 2024 Q2b, Summer 2024 Q2b, Summer 2023 Q1b

(c)
7 marks

Write HTML code for creating following table also explain table element with its attributes. C1 C2 C3 C3.1 C3.2 R1 R1a 123 456 789 E=m*c²

Q.2

14 Marks
(a)
3 marks

What is Metadata? How we can include Metadata is included in a document? Write meta tag syntax to implement following features in html:

i)Set an expiration date
ii)Stop the browser from caching a page.
(b)
4 marks
Write a code for the given output using list in HTML.
1DoTNet
2Cyber Security
3WP
ICSS
IIHTML
  • Table
  • frame
IIIJS
10IoT
(c)
7 marks
(
i)Explain frame and frameset with example.
ii)Why we use bootstrap? Show a basic structure of bootstrap grid.
(c)
7 marksSame type asked in 4 of 7 papers

Explain HTML form attributes with syntax. Write a program to create sports registration page in HTML that contains EnrollmentNo(textbox), Secretkey(password), address(textarea), College(selectionbox), Branch(radiobutton), hobby(checkbox).

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

Q.3

14 Marks
(a)
3 marks
What are the different ways to use JavaScript in html document?
(b)
4 marksAsked in 2 of 7 papers

What is the use wildcard selector in CSS? Discuss wildcard selectors with example.

Also asked in Summer 2026 Q3a OR

(c)
7 marks
(
i)Explain the Document Object Model.
ii)Write an HTML and JavaScript program that accepts N as input and print all prime numbers. (e.g. input N=10 than answer is 3,5,7)
(a)
3 marksAsked in 5 of 7 papers
Explain different types of Pop-box in JavaScript.

Also asked in Summer 2026 Q3b, Winter 2025 Q3a OR, Summer 2025 Q3a, Summer 2024 Q3a OR

(b)
4 marksAsked in 3 of 7 papers
What do you mean by “class” and “id” in CSS? Explain with Example.

Also asked in Winter 2025 Q2c, Summer 2024 Q2c

(c)
7 marks
Write HTML and JavaScript code to validate the username and password.
1Both fields should not be blank.
2Username contains only number.
3Minimum password length 8.
4Password contains at least one capital letter, special character and number.

Q.4

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

Give the difference between Client side Scripting and Server Side Scripting.

Also asked in Summer 2026 Q3b OR, Winter 2025 Q4a, Summer 2024 Q1b

(b)
4 marks

What is JSON? Explain different methods used to convert JavaScript to JSON and vice versa through example.

(c)
7 marks

Write HTML and JavaScript code to validate the mobile number and email address using regular expression.

(a)
3 marksAsked in 2 of 7 papers

What is the use cookie in web programming? Write a code to set and display cookies in PHP.

Also asked in Summer 2023 Q4a

(b)
4 marks
Enlist and explain valid data types in JSON with syntax.
(c)
7 marks

Write a PHP script to insert user details (firstname, lastname, email) in MySQL using prepared statement.

Q.5

14 Marks
(a)
3 marks
Explain the concept of classic web-application model.
(b)
4 marks
Explain index and associative arrays in PHP with example.
(c)
7 marks

Write AJAX code that creates a simple XMLHttpRequest to retrieve data from a TXT file.

(a)
3 marks
Explain the concept of AJAX web-application model.
(b)
4 marks
Write a PHP script to print number of words in a given statement.
(c)
7 marks
(
i)What is the use of jQuery? Explain through its syntax.
ii)What is a web service? Write advantages and disadvantages of web services.
iii)What is an API service? Write advantages and disadvantages of API services.

More Web Programming 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 Programming (WT) (Winter 2023, B.E. · Computer Engineering, Sem 6). 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