0% found this document useful (0 votes)
28 views2 pages

Web Tech Exam for GTU Students

Uploaded by

pruthvirajpasi42
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views2 pages

Web Tech Exam for GTU Students

Uploaded by

pruthvirajpasi42
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Enrolment No.

/Seat No_____________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VI (NEW) EXAMINATION – SUMMER 2024
Subject Code:2160708 Date:22-05-2024
Subject Name:Web Technology
Time:10:30 AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

Q.1 (a) List and explain the website design principles. 03


(b) Explain following HTML tags with example 04
(i) <select> (ii) <pre>
(c) What is HTTP? 07
How do browser and server communicate using HTTP request and
response? Explain with example.

Q.2 (a) XHTML is stricter language than HTML. Justify. 03


(b) Write the Difference between POST and GET methods. 04
(c) Design Login Page HTML. Page must have fields in page Username, 07
Password, Remember Me and Login Button.
OR
(c) What is HTML table? Explain table element with necessary attributes. 07
Give the code to print following table.
Date Exam Time table
CE/IT EC EE
30/11/2018 WT VLSI HVE
04/12/2018 CG OC ED/CAD

Q.3 (a) What is well-formed XML document? 03


(b) Write a JavaScript, that uses a loop, that searches a word in sentence 04
held in an array, returning the index of the word.
(c) Design a login form with username and password option using HTML 07
and JavaScript. Perform following validations.
(i) Username field: minimum length 6 characters, it should not
have any special character or digits other than _
(ii) (ii) Password field: minimum length 8 characters and
maximum length 12 characters, it must contain at least one
digit and at least one special character from the set {*,#,_}
OR
Q.3 (a) Differentiate session and cookies in PHP. 03
(b) Why do you need validation? Write HTML and JavaScript code to 04
validate the email address using regular expression.
(c) Write Java Script to validate Mobile Number. 07
1) Entered value must be numeric
2) 10 digit length
Q.4 (a) Explain ordered and unordered list with example. 03
(b) Write an HTML and JavaScript program which accepts N as input and 04
print first N odd numbers.
(c) Write PHP code to read data from a text file and display it in browser. 07
1
OR
Q.4 (a) What is the difference between Class and Id selector? 03
(b) What is java Script? Explain characteristics of Java Script. 04
(c) Write PHP code to check the number is even or odd. 07

Q.5 (a) Explain require() and include() functions in PHP. 03


(b) Explain the use of following arrays in PHP. 04
1) $_REQUEST [ ] 2) $_SERVER[ ]
(c) What are the different types of arrays in PHP? Explain with example to 07
process the arrays in PHP.
OR
Q.5 (a) What PHP can do with header() function? 03
(b) What is DTD? Give and explain the sample DTD. 04
(c) Write a web application code using PHP, HTML and MySql for 07
Students that stores student's enrolment no., name, semester, gender,
qualification, etc. in database. Create proper GUI including buttons that
run separate .php file for each database operation like insert, update,
delete etc.

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

You might also like