Gujarat Technological UniversityWinter 2023 Examination

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

B.E. · Computer Engineering · Semester 6 · Subject Code: 3160713
Download Official GTU PDF
Share:
Total Marks70 MarksExternal theory exam
Passing Marks23 Marks33% minimum cutoff
Exam Duration2.5 Hours2:30 PM – 5:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

14 MarksMedium
(a)

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

3 Marks
(b)
Enlist and explain the website design issues.
4 Marks
(c)

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*c2

7 Marks

Question 2

14 MarksMedium
(a)

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.
3 Marks
(b)
Write a code for the given output using list in HTML.
1DoTNet
2Cyber Security
3WP
ICSS
IIHTML
  • Table
  • frame
IIIJS
10IoT
4 Marks
(c)
(
i)Explain frame and frameset with example.
ii)Why we use bootstrap? Show a basic structure of bootstrap grid.
7 Marks
OR OPTION
(c)

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).

7 Marks

Question 3

14 MarksMedium
(a)
What are the different ways to use JavaScript in html document?
3 Marks
(b)

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

4 Marks
(c)
(
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)
7 Marks
OR OPTION
(a)
Explain different types of Pop-box in JavaScript.
3 Marks
(b)
What do you mean by “class” and “id” in CSS? Explain with Example.
4 Marks
(c)
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.
7 Marks

Question 4

14 MarksMedium
(a)

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

3 Marks
(b)

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

4 Marks
(c)

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

7 Marks
OR OPTION
(a)

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

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

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

7 Marks

Question 5

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

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

7 Marks
OR OPTION
(a)
Explain the concept of AJAX web-application model.
3 Marks
(b)
Write a PHP script to print number of words in a given statement.
4 Marks
(c)
(
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.
7 Marks
College Exam Groups

Studying for Web Programming?

Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.

About this Examination Paper & Attribution

Official Gujarat Technological University (GTU) examination paper and step-by-step solutions 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.

Download PDF