You are on page 1of 9

CE Department (Sem VI)

Web Programming (1010206602)

Question Bank
Prepared By: -MRS RIDHDHI NAIK

MRS VYANJANA PATEL


Sr Introduction WEB& Web Design Marks
No
Explain different design issues at the time of designing an effective May 2017 4/7
1. website. May 2018
Nov 2017
May 2019
Oct 2020
2. List and explain the website design principles. Nov 2017 3
Explain Architecture of Browser. Nov 2017 7
3.
May 2016
Nov 2018
Jan 2021
What is HTTP? What are HTTP request and response? May 2017 7
4. Oct 2016
May 2016
Dec 2019
Difference Between GET and POST. May 2017 3/7
Difference between web browser and web server
5. Nov 2017
May 2018
Nov 2018
Give full name of followings: 7
6. May 2019
1) DOM 2) TCP 3) RSS 4) ISP 5) XSD 6) HTTP
What are frames? List out its advantages and disadvantages. 4
7. May 2019
List features of Web 2.0 3
8. May 2019
Briefly explain following: 1) Web server 2) Blogs 4
9. May 2019
Briefly explain following: 1) SOAP 2) Web Feeds 4
10. May 2019
What is FTP? Mention functionality of various FTP commands in 4
11. May 2019
brief.
Give full form of following acronym. Nov 2018 7
12. 1) HTTP 2) SOAP 3) DTD
Explain the points which should be considered for planning a Nov 2018 3
13. website.
Discuss how display resolution affects web site design. Dec 2019 4
14.

1
What is HTTP? Explain HTTP Header with example. Jan 2021 7
15.
What is CORS? Write code to implement simple cross-origin Jan 2021 3
16. resource sharing and wildcards
Explain following terms (Any Three) 1. JSON 2. DOM 3. SOAP 4. Jan 2021 3
17. GET vs POST
Discuss how display resolution affects web site design Jan 2021 3
18.

HTML
What do you mean by meta tags? Show their meaning and use May 2018 7
with example. Also show how can following be achieved with Nov 2017
the help of Metadata?
a. Stop the page from being listed. May 2017
19. b. Set an expiration date May 2016
c. Stop the browser from caching a page.
d. Give a context for date so that it can take format DD- Oct 2016
MM-YYYY Oct 2020

What is an HTML form tag? Discuss the different form May 2017 7
attributes and design a simple form to register for new user May 2016
20.
including user_name, password, email, mobile number, gender and
hobbies.
What is the different between HTML and XHTML? Explain May 2017 7
21. ordered and unordered list with example.
May 2017
Oct 2020
Nov 2018
What is HTML table? Explain table element rowspan and May 2017 7
colspan with necessary attributes. Write HTML code for Nov 2017
following table.
22.

23. XHTML is stricter language than HTML. Justify 4


May 2019
Dec 2019
24. Write HTML code to display following irregular table. 7
May 2019

25. What is meta tag? How it is useful by search engine? 4


May 2019
Nov 2018
2
Jan 2021
26. Explain the key components of the XML with suitable examples. 4
May 2019
27. Write and explain rules for well formed XML document. 4
May 2019
28. List and explain various list tags in HTML with example. 7
May 2019
29. Explain any three attributes of <Table> Tag in HTML. Write 7
Oct 2020
code to display following table.

30. Write HTML code for creating following table. Nov 2018 7

31. How to display ordered list and unordered list using HTML? Give Nov 2018 4
Example. Dec 2019
32. Design Login Page HTML. Page must have fields in page Username, Nov 2018 7
Password, Remember Me and Login Button
33. Design Registration page in HTML Nov 2018 4
34. Explain following HTML tags with example (i) <select> (ii) <pre> Dec 2019 3

35. What do you mean by Meta Tags? List and Explain any three meta Dec 2019 7
tags with example

CSS - StyleSheet
What do you mean by “class” and “id” in CSS? Explain with May 2017 7
Example.
Nov 2017
OR
36. Explain types of selectors with example. May 2016
Oct 2016
What is CSS? Explain the different types of CSS. May 2018 7
37. Nov 2017
Jan 2017
Oct 2020
What is positioning in CSS? Also explain margin and padding Jun 2015 7
38. with example.
Jan 2015
3
Write HTML and CSS code for the following: May 2018 7
(i) set the background color for the active link states to
39. "yellow". Nov – 2017
(ii) Set the list style for unordered lists to "square". Dec 2019
(ii) Set "paper.gif" as the background image of the page.

40. What is Cascading Style Sheet? Compare inline, embedded and external May 2019 7
style sheet with example.
41. Write an HTML snippet with CSS for following effects Oct 2020 7
1. link: after visited red color and before visited blue color
2. table with odd rows blue and even rows green color.
3. Text color-green, Text case-uppercase
42. Differentiate between “ID” and “Class” using suitable example. Nov 2018 4

43. List and Explain types of CSS with Example. Nov 2018 4
44. What does the floating and positioning element do in CSS explain Jan 2021 4
with example.

Java Script
Write a JavaScript that handles following events. Nov 2017 7
(i) Gives the key code for the key pressed.
(ii) The script should give message that "vowel is pressed" if
45.
vowel keys are pressed.
(iii) Background color should change to red after releasing the
pressed key.
Write JavaScript code to know which mouse button was Nov 2017 7
46. clicked,number of elements in form, and write hello world on the
document.
Show the use of JavaScript events for the following Nov 2017 7
(i) Trap the exiting of the user from a page.
47. (ii) Show the heading. When the mouse is over the heading the
background color should be red and when the mouse goes out of
the heading,color should change to blue.
Design a login form using HTML & JavaScript with following May 2018 7
validations on username and password fields. May 2016
1. Password length must be 6 to 12 characters
48. Oct 2016
2. Username should not start with _, @ or number.
3. Phone number must be 10 digit start with 6/7/8/9 Oct 2020
4. All fields should not be blank.
Write a JavaScript program which read number and check whether May 2017 7
49. that number is prime or not? May 2016
May 2019

4
Design a form using HTML and JavaScript that asks the user to enter May 2018 7
his date of birth and on clicking the Calculate Button it calls the
50.
function that calculates how many days are left in your
birthday?
Design a form using html and JavaScript to collect the details from Nov 2017 7
the user such as name, gender (Radio Button), address, state, city.
51.
Create a dynamic drop down list for state and based
on state another drop down list contains list of cities for state.
What do you mean by event in JavaScript? Give at least two May 2019 4
52. examples of events with their handling.
Define the following with reference to XSL: May 2019 4
53. 1) value-of 2) for-each 3) sort Oct 2020
Develop XML File for book record and also write a DTD and XSL for May 2019 4
54. it.
Write a Java Script to read data from XML File and print it in tabular May 2019 4
55. manner.
Write JavaScript code to print following pattern. Oct 2020 7
56. 1
01
101
0101
10101
Explain DOM structure of HTML. Write JavaScript code to Oct 2020 7
57. know which mouse button was clicked and number of elements
in form
Difference between XSD Simple element and XSD Complex Oct 2020 4
58. element.
Compare and contrast between HTML and XML Oct 2020 4
59.
Write a JavaScript program to validate an Email address. Oct 2020 4
60.
Write a JavaScript that handles following events. Oct 2020 7
61. (i) Gives the key code for the key pressed.
(ii) The script should give message that "vowel is
pressed" if vowel keys are pressed.
(iii) Background color should change to red after
releasing the pressed key
Write an HTML and JavaScript program which accepts N as Oct 2020 7
62. input and print first N odd numbers.
Show the use of events for the following with example. Oct 2020 7
63. (i) Trap the exiting of the user from a page.
(ii) Show the heading. When the mouse is over the
Heading the background color should be yellow and
when the mouse goes out of the heading, color should
change to black
Explain pop-up boxes in JavaScript with example. Nov 2018 4
64.

5
Write Java Script to validate Mobile Number. Nov 2018 7
65. 1) Entered value must be numeric
2) 10 digit length
Write the difference between Client Side Scripting and Server Side Nov 2018 4
66. Scripting
Explain any two types of events in Java Script with Example Nov 2018 4
67.
Write Java Script for find first 10 prime numbers. Nov 2018 7
68.
Explain DTD (Document Type Definition). Nov 2018 3
69.
Explain following XSL Elements with suitable example. Nov 2018 3
70. 1) value-of Dec 2019
2) sort
Write Well formed XML file to store student information. Nov 2018 4
71.
Explain the Document Object Model with example Nov 2018 4
72.
Give full form of following acronym (i) DTD (ii) DOM (iii) XSL Dec 2019 4
73.
Differentiate client side scripting and server side scripting. Dec 2019 4
74.
Design a login form with username and password option using Dec 2019 7
75. HTML and JavaScript. Perform following validations.
(i) Username field: minimum length 6 characters, it should not
have any special character or digits other than _
(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 {*,#,_}
State true or false and justify your answer : “Java Script is untyped Dec 2019 4
76. language”
What is external style sheet? Give example. Give advantages of Dec 2019 4
77. external style sheet
Write a JavaScript that handles following events. Dec 2019 7
78. (i) If the mouse is over heading, change font color to “red” and if
the mouse goes out of the heading change it to “black”
(ii) If key pressed is „a‟,‟e‟,‟i‟,‟o‟,‟u‟, the message should be
displayed on pop up box that “vowel is pressed”
(iii)If “Date and Time” button is clicked it displays current date
and time information.
What is XML? Give purpose and list its features Dec 2019 4
79.
Using HTML and Java script design a web page that takes one Dec 2019 7
80. integer as input and display total N prime numbers starting from 1 in
HTML table on web page
Write XML file to store information about Music_Album having Dec 2019 7
81. fields of Title, Singer, Music_Composer, Actor, Language, Country
and Release_Year. Also write corresponding external DTD file

6
Write JavaScript code that display the text “Gujarat Technological Jan 2021 7
82. University” with increasing font size in interval of 50ms in blue
color. When font size reaches to 50px it should stop
Demonstrate onChange event handler in java script code when input Jan 2021 7
83. focus exits after the user modifies its text.
Explain Callback function in JavaScript with example Jan 2021 4
84.
Explain following terms 1. Difference between for and forEach Jan 2021 4
85. method in JavaScript 2. Write a code to validate user input using
jQuery

PHP & MySQL


86. Explain date() function in PHP. May 2017 4
What are the different types of arrays in PHP? Explain with May 2017 7
87. example to process the arrays in PHP. Oct 2016
Write a PHP program to find whether entered year is leap year May 2017 7
88.
or not. Nov 2018
Write a PHP script to validate email address using Regular Nov 2017 7
89.
Expression when user click on SUBMIT button.
Explain the PHP session and PHP cookie with an example. Nov 2017 7
90. May 2018
May 2016
May 2019
Oct 2020
Nov 2018
Explain index and associative arrays in PHP 4
91. May 2019
Dec 2019
Write a PHP program to store user registration (user-name, address, 7
92. May 2019
Date of Birth, age, pan card, gender) with mysql database.
Dec 2019
Explain the use of following arrays in PHP. 3
93. 1) $_REQUEST [ ] 2) $_SERVER[ ]
May 2019
Dec 2019
Write PHP program to print following pattern: 7
94. May 2019
1
01
101
0101
10101
Give full form of following acronym. 7
95. Oct 2020
(1) DOM (2) XSL (3) DTD (4) HTTP (5) PHP (6) XML
Differentiate between Client Side Scripting and Server Side 4
96. Oct 2020
7
Scripting.

Difference between DTD and XML Schema. 4


97. Oct 2020
What PHP can do with header() function? 3
98. Oct 2020
Write an application using PHP and HTML to upload a file 4
99. Oct 2020
from the user on the web server.
Explain require() and include() functions in PHP. 4
100. Oct 2020
Write a web application code using PHP, HTML and MySql 7
101. for Students that stores student's enrolment no., name, Oct 2020
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.
Write a web application code using PHP, HTML and MySql for May 2018 7
Employees that stores employee‟s id, name, department,
102. designation, etc.in database. Create proper GUI including buttons
that run separate .php file for each database operation like insert,
update, delete etc.
How to read(display on the browser) and write file in May 2016 7
103. PHP?Explain with example.
May 2018
Write php code to create database state, create table Oct 2016 7
104.
city(cityname, area,population) and insert data from table
105. Write php code to upload image file. May 2017 7
106. Explain Browser detection PHP with Example. Nov 2018 4
107. How to write in PHP? Explain with example Nov 2018 4
108. Explain database connectivity in PHP with example. Nov 2018 4
109. What is use of “break” and “continue” statements in PHP scripts? Dec 2019 7
110. Explain following string functions with example in PHP: ucwords() Dec 2019 7
and strpos()
111. Write PHP script to read and write a text file. Dec 2019 4
112. What is difference between identical and equal to operator in PHP? Dec 2019 7
Give example.
113. Why state is problem for web application? Explain various technique Jan 2021 7
for state and session management in php with example
114. Write a php program to greet the user based on time. Jan 2021 4
115. Write a php code to check whether given username is already in Jan 2021 7
“login_tbl” table or not using AJAX and display appropriate
message.
116. Write a php code to upload file on server and display file details on Jan 2021 3
the page (Ex. File name, Extension, File Size)

You might also like