BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
Web Programming – Theory
(1010206602)
Question Bank
6TH SEMESTER
SUMMER-2024
BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
6TH SEM
ASSIGNMENTS
Web Programming – Theory (1010206602)
Sr.no Question Bank Marks
1 List features of Web 2.0 2
2 What are HTTP Request And Response? 2
3 List out some commonly used protocols in Web. 2
4 Why “HTTP called stateless protocol”? 2
5 What is the difference between WWW and the Internet? 4
6 What is Web 1.0,Web 2.0 and Web 3.0? 4
7 What is HTTP?How does it Work? Give appropriate Example 4
8 Enlist and Explain the Web Design Principles. 4
9 Draw and Explain Web Browser Architecture? 6
10 Explain Web Server.Give difference Between IIS and Apache Web Server. 6
11 Describe web design Issues. 6
12 Explain Types of website Navigation System. 6
13 What is the Internet? 2
14 What are the applications of the Internet? 2
15 What is a uniform resource locator? Explain its importance. 6
16 What is a web browser? Compare any two browsers. 4
17 Explain the working of search engines. 4
18 Explain client and web server. 5
19 What is formatting in HTML? 2
20 List and explain the tags used for formatting HTML documents. 6
21 What are style sheets? What are the components of a CSS Style? 4
22 What are the advantages of CSS? 2
Page 1 of 7
BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
6TH SEM
ASSIGNMENTS
23 In how many ways can a CSS be integrated into a web page (types of 2
CSS)?
24 Explain the external Style Sheet? How would you link to it? 4
25 What is the syntax to link the external style sheet? 2
26 What benefits and demerits do external style sheets have? 4
27 What are the advantages and disadvantages of Inline Styles? 2
28
Discuss the merits and demerits of internal Style Sheets? 2
29 Enlist the various fonts’ attributes used in the style sheet? 2
30
How do you make a picture into a background image of a web page? 4
31 What is a hyperlink? Explain internal and external hyperlinks. 4
32
How to change the color of links on a web page? 4
33 Explain <PRE> tag. How to format 2
34
Explain various types of lists available in HTML? 6
35 Explain an ordered list with its attributes 4
36
Explain an unordered list with its attributes. 4
37 Explain BODY tags with their attributes. 4
38 List new tags in HTML5(any 5 tags with short description) 1
39 Write a HTML code to design the table using <TBODY> <THEAD> and 4
<TFOOT>
40 Explain <video> tag. List at least 5 attributes 4
41 What is image mapping? Explain tags involved in image-mapping 4
42 Explain <DIV> and <P> tags with example 2
43 Explain different types of shapes of image map 6
Page 2 of 7
BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
6TH SEM
ASSIGNMENTS
44 Write a program to design a webpage with Image map 6
45 Explain Image map tags - <img>, <area> 4
46 Define all types of Lists? Explain with example any 1 type of list 1
47 What is HTML5? What are the tags in HTML5? 4
48 Explain cellspacing and cellpadding 4
49 What are internal and external links? 6
50 List any 8 input controls with one line example 6
51
Give 5 different CSS properties related to text formatting 6
52 What is the anchor tag used for? 4
53
Write an HTML5 code to create students' details form 4
54 How do you insert an image in HTML WEBPAGE? 4
55
Design a web page displaying any table with its content 2
56 How is HTML5 useful? 4
57
What are Semantic Elements in HTML5? 4
58 What are the comments? How can we comment in HTML5? 2
59
Explain checkbox control with suitable example 6
60 Explain radio button with suitable example. 6
61 List 5 features of JavaScript. 4
62 Explain the difference between client side and server side JavaScript. 6
63 Write a JavaScript program to find greatest of three given numbers? 4
64 What are variables? How to use variables in JavaScript? 4
Page 3 of 7
BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
6TH SEM
ASSIGNMENTS
65 Explain the difference between String ” …” and null value. 4
66 Discuss what are functions in JavaScript? 2
67 Write about data types of variables in JavaScript 2
68 What are the data types supported by JavaScript? 2
69 What are the scopes of a variable in JavaScript? 2
70 In how many ways a JavaScript code can be involved in an HTML file? 4
71 What is the function of a document.write() method? 4
72 Explain prompt(), confirm (), alert() functions in JavaScript 2
73 List some of the advantage and disadvantage of JavaSript. 4
74 Create a registration form using HTML5 and validate the form using 6
JavaScript.
75
What Do you mean by events and event handlers in JavaScript? 6
76 Discuss the DOM (Document Object Model)? Explain 6
getElementById() method with an example.
77 Where is JavaScript written? Write an example demonstrating the 6
“welcome” message in JavaScript
78 How to use array in JavaScript. List different types of arrays in JavaScript 6
79 Explain on Submit() event with an example. 6
80 How to loop an array in JavaScript? Give example 6
81 What is the use of regular expression? List 3 examples of the regular 4
expression.
82 Write JavaScript code that validates a username and password against user 4
name "Siddhi" and password "abc"
83 Which decision-making statements are used in JavaScript? 6
84 What is PHP? Explain with syntax and example. 4
85 List the data types of PHP and explain any 5 of them with example. 4
86 Write a PHP program to create a one-dimensional array. 6
Page 4 of 7
BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
6TH SEM
ASSIGNMENTS
87 Write a program to demonstrate associative array in PHP 6
88 Explain any 2 superglobals in PHP with example. 2
89 Write any 5 string-handling functions of PHP? 2
90 Explain different types of loops in PHP? write syntax of each. 4
91 Explain the get and post method? 6
92 Difference between GET and POST methods? 4
93 Explain the various types of arrays in PHP? 2
94 What is a server-side scripting language? 4
95 Create a registration form by using the POST method in PHP. 6
96
Explain superglobals in PHP and list their types. 6
97 How can PHP and javascript interact? 4
98
what is an array function () ? What are the different types of Array in PHP? 4
99 How can we create a database using PHP and MySQL? 6
100 Write a PHP program to find the greater of 2 numbers. Accept the 2
numbers from the user.
101 write a PHP program to accept Roll no. , student name & Percentage 3
from the user & display the values.
102
Write the difference between echo() & die() function in PHP. 4
103 How to create and use the function in PHP? 4
104 What are PHP functions? Write its syntax. 4
105 Explain the uses of MySQL? 6
106 What is a regular expression in PHP? Write a regular expression 6
for 10 digit mobile number.
107 What is where Clause? Give suitable examples. 2
Page 5 of 7
BHAGWAN MAHAVIR UNIVERSITY
FACULTY OF ENGINEERING
COMPUTER/IT ENGINEERING DEPARTMENT
6TH SEM
ASSIGNMENTS
108 Name MySQL operators. 4
109 What are the comments? Explain the types of comments. 2
110 What are SQL Data Types? Name some of the data types. 4
111 Define String Datatype. Name any 2 Data string types. 4
112 Explain of the following PHP/MySQL function
(i) mysql_query() 6
(ii) mysql_error
113
How do you create a database in SQL console? 4
114 What is a Show/list table? Write its syntax. 4
115
Write a PHP program to create a cookie and retrieve it’s value 6
116 How do you connect a MySQL database with PHP? 4
117
Can we rename a table in the database? If yes, how? 2
118 Name and define any 5 Meta characters. 4
119
What are Sessions? What can you do with it? 6
120 Explain fo the following PHP/MySQL function
(i) isset() 6
(i) mysql_query()
121 How do you insert data in MySQL? 4
122 Write a query to display the current date and time. 6
123 What are cookies? What can you do with it? 6
124 Write a short note on regular expression in PHP 4
************
Page 6 of 7