Web Development
Chapter Wise Questions - MARK
Chapter 1: Introduction
1. Discuss HTTP request format with example. (3 Marks) (4 Time) (Summer 2025)
OR
What is HTTP Request and Response? Explain. (3 Marks) (Winter 2023)
OR
What is HTTP? How do browser and server communicate using HTTP request and response? Explain
with example. (7 Marks) (Summer 2022)
OR
Discuss HTTP. Explain HTTP request and HTTP response mechanism over the Internet. (7 Marks)
(Summer 2021)
2. Elaborate HTTP Protocol Header, HTTP Request and HTTP Response. (7 Marks) (3 Time) (Summer
2024)
OR
Elaborate HTTP Protocol Header, HTTP Request and HTTP Response. (7 Marks) (Winter 2022)
OR
Elaborate HTTP Protocol Header, HTTP Request and HTTP Response. (7 Marks) (Winter 2021)
3. Draw and explain architecture of the web browser. (4 Marks) (3 Time) (Summer 2025, Summer 2024)
OR
Explain the Architecture of Web Browser. (4 Marks) (Winter 2022)
4. Define term: WWW. (3 Marks) (2 Time) (Winter 2022, Winter 2021)
5. Explain the need of web server and web browser. (3 Marks) (2 Time) (Summer 2024)
OR
Write a short note on web server. (3 Marks) (Summer 2021)
6. What is Web Security? Explain in detail. (4 Marks) (3 Time) (Summer 2023, Winter 2023)
OR
Discuss web security in brief. (3 Marks) (Summer 2021)
7. What is CORS (Cross-Origin Resource Sharing)? (3 Marks) (2 Time) (Summer 2025)
OR
Explain CORS. (3 Marks) (Summer 2023)
8. What is SEO? Explain the process of it in brief. (3 Marks) (4 Time) (Winter 2024)
OR
Define term: SEO. (3 Marks) (Winter 2022, Winter 2021)
OR
Discuss SEO. (3 Marks) (Summer 2021)
9. Explain and give one example for following terms: Website, URL, Domain. (3 Marks) (Winter 2024)
Chapter 2: HTML & CSS
1. What is Cascading Style Sheet (CSS)? Explain different types of CSS with example. (7 Marks) (3 Time)
(Summer 2021)
OR
What is CSS? Explain different types of CSS. List advantages and disadvantages. (7 Marks) (Summer
2024)
OR
What is Cascading Style Sheet? Compare inline, embedded and external style sheet with example. (4
Marks) (Winter 2022)
2. What is cascading style sheet? List out different ways of selector in CSS and explain pseudo class selector
in detail. (7 Marks) (6 Time) (Summer 2025)
OR
What is selector class? Explain pseudo class selector in CSS with example. (7 Marks) (Winter 2022)
OR
Explain term: Class, ID, Wild card selectors, Media Queries for CSS. (7 Marks) (Winter 2021)
OR
Explain Wildcard Selectors (*, ^ and $) in CSS. (4 Marks) (Winter 2022)
OR
What do you mean by “class” and “id” in CSS? Explain with example. (4 Marks) (Summer 2024)
OR
Explain Class and ID Selector in CSS with examples. (4 Marks) (Summer 2021)
3. What is CSS Box Model? Write CSS code to implement following output:
a) Make an ordered list with green border, padding and font size 20.
b) Use [Link] as background and repeat it.
c) Change background color of text box when focused. (7 Marks) (2 Time) (Summer 2025)
OR
What is CSS Box Model? Write CSS code to implement following output:
a) Make an ordered list with red border, padding and font size 20.
b) Use [Link] as background and repeat it.
c) Change background color of text box when focused.
d) Create a fixed position link at bottom with scrolling page. Give name of the link “#top”. (7 Marks)
(Summer 2022)
4. Explain CSS positioning with Example. (4 Marks) (Summer 2021)
5. Write short note on CSS variables. (4 Marks) (Winter 2023)
6. List out different category of property in CSS. Explain List property with example. (4 Marks) (Summer
2025)
7. Define term: Padding and Margins. (4 Marks) (Summer 2023)
8. Define term: BootStrap for CSS. (3 Marks) (3 Time) (Summer 2024)
OR
Define term: Bootstrap for CSS. (4 Marks) (Summer 2023)
OR
Define term: Bootstrap for CSS. (3 Marks) (Winter 2021)
9. Explain Internal CSS. Apply following style to an HTML form: font-style, color, margin-top, margin-left.
(4 Marks) (Winter 2024)
10. Explain basic structure of HTML. (3 Marks) (Summer 2024)
11. List out any four HTML Tags and describe their functionality. (4 Marks) (Winter 2021)
12. What is Meta Tag in HTML? Write HTML meta tags code to solve following:
a) To make your webpage Responsive.
b) Refresh document every 40 seconds.
c) Set an expiration date and stop the page from being listed. (3 Marks) (Summer 2022)
13. Explain ordered and unordered list with example. (3 Marks) (4 Time) (Summer 2024)
OR
Explain ordered and unordered list with example. (4 Marks) (Winter 2022)
OR
How many types of lists are supported by HTML? Explain each one in brief. (7 Marks) (Summer 2023)
OR
How many types of list are supported by HTML? Explain each one in brief. (7 Marks) (Summer 2021)
14. Write html code to create your class time table using table tag. (7 Marks) (5 Time) (Summer 2025)
OR
Create Time Table in HTML form using Table Tag. (7 Marks) (2 Times) (Winter 2023, Summer 2025)
OR
Explain how basic and nested tables are created using HTML. (7 Marks) (Winter 2023)
OR
Explain the use of HTML table element for designing the web page layouts with example. (7 Marks)
(Summer 2021)
OR
Create an HTML page to create following Table. Apply random color to each box using CSS. (7 Marks)
(Summer 2022)
15. Create an HTML form for student registration using textbox, checkbox, text area, radio button, combo
box, file upload, submit and reset. (7 Marks) (5 Time) (Winter 2024)
OR
Discuss different form attributes and design a form to register employee including employee no, name,
qualification, email, etc. (7 Marks) (Summer 2023)
OR
Create HTML Form for BE 1st Year Student registration which includes all personal details. (7 Marks)
(Winter 2021)
OR
Create an HTML form to submit student data for Admission. Upload PDF copy of mark sheet, passport
size photo and address proof. (7 Marks) (Summer 2022)
OR
Create HTML form using CSS (Background Color: Red, Font Color: White, also set image). (7 Marks)
(Winter 2023)
16. Create a web page using frame dividing into navigation (20%) and content (80%) with links showing on
right-hand side. (4 Marks) (Winter 2024)
17. Create infinite div animation changing background color and position at 25%, 50%, 75%, and 100%. (7
Marks) (Winter 2024)
18. Create your resume using HTML with text, colors, links, etc. (7 Marks) (Winter 2024)
19. Write an HTML code to take birth date between 01-01-2020 to 31-12-2020. (3 Marks) (Summer 2022)
20. Write an HTML & CSS code to create Horizontal and Vertical Menu. (4 Marks) (Summer 2022)
21. Describe web design issues. How developer can design website effectively? (4 Marks) (Summer 2024)
Chapter 3: Java Script
1. Explain types of JavaScript. (4 Marks) (Winter 2023)
2. Differentiate between Java Programming language and Java Scripting Language. (4 Marks) (Summer
2022)
3. Discuss advantages and disadvantages of JavaScript. (4 Marks) (Summer 2024)
4. Write a JavaScript function to calculate sum of three numbers. (3 Marks) (Summer 2025)
5. Write JavaScript function to find maximum value among three entered by user. (4 Marks) (Summer 2025)
6. Write JavaScript function to display prime numbers among 1 to 100 using loop. (7 Marks) (5 Time)
(Summer 2025)
OR
Prepare a JavaScript to find whether entered number by user is Prime or Not. (7 Marks) (Summer 2024)
OR
Write a JavaScript code to find whether given number is prime or not. (4 Marks) (Winter 2022)
OR
Prepare a JavaScript to find whether entered number by user is Prime or Not. (7 Marks) (Winter 2021)
OR
Write a JavaScript code to find whether given number is prime or not. (4 Marks) (Summer 2021)
7. Write a JavaScript code to display Fibonacci Series of given number (entered by user). (7 Marks)
(Summer 2022)
8. Discuss JavaScript alert, prompt, confirm with example. (3 Marks) (6 Time) (Summer 2025)
OR
Write the code of JavaScript to make Pop up box. (7 Marks) (2 Times) (Winter 2023, Summer 2023)
OR
Write a JavaScript to demonstrate alert, confirm and prompt box. (3 Marks) (Winter 2024)
OR
Explain pop-up boxes in JavaScript with example. (7 Marks) (2 Times) (Winter 2022, Summer 2023)
OR
Discuss JavaScript alert, prompt, confirm with example. (3 Marks) (Winter 2021)
OR
Explain different types of pop box in JavaScript with example. (4 Marks) (Summer 2021)
9. Show the use of regular expression in JavaScript to validate email address with example. (7 Marks) (7
Time) (Summer 2025)
OR
Explain use of Regular Expression and make Email validation function called on Submit event. (4 Marks)
(Winter 2024)
OR
Prepare a JavaScript solution to validate registration form including email address entered by user. (7
Marks) (Summer 2024)
OR
Write a JavaScript to validate email address entered by user. (7 Marks) (2 Times) (Summer 2023, Winter
2022)
OR
Prepare a JavaScript solution to validate registration form including email address entered by user. (7
Marks) (Winter 2022)
OR
Prepare a JavaScript solution to validate registration form including email address entered by user. (7
Marks) (Winter 2021)
OR
Write a JavaScript to validate email address entered by user. (7 Marks) (Summer 2021)
10. Create a registration form using JavaScript on one click of button using createElement(), appendChild(),
setAttribute(). (7 Marks) (2 Time) (Winter 2024)
OR
Create a survey form using only JavaScript. Use built-in JS functions to create form elements. (7 Marks)
(Winter 2024)
11. List and explain built-in objects of JavaScript with one example each. (3 Marks) (Winter 2024)
12. What are objects in JavaScript? Explain properties, methods and event of window object. (7 Marks) (2
Time) (Summer 2024)
OR
What are objects in JavaScript? Explain properties, methods and events of window object. (7 Marks)
(Summer 2021)
13. What is the use of a constructor function in JavaScript? Explain with example. (7 Marks) (Winter 2023)
14. Explain Callback function in JavaScript with example. (4 Marks) (2 Time) (Summer 2024)
OR
Explain Callbacks in JavaScript. (3 Marks) (Winter 2023)
15. Explain event handling in JavaScript with proper example. (7 Marks) (3 Time) (Summer 2023)
OR
What is event handling in JavaScript? Write a JavaScript code to change the size of image when mouse
cursor is over image and reduce back when out. (3 Marks) (Summer 2022)
OR
Explain Events in JavaScript with the help of example. (3 Marks) (Summer 2021)
16. What is Document Object Model? Discuss different ways of DOM to access HTML element value. (7
Marks) (3 Time) (Summer 2025)
OR
Define term: DOM. (3 Marks) (Summer 2023)
OR
What is DOM in JavaScript? Write a JavaScript code to display all <a> elements that have a name
attribute. (3 Marks) (Summer 2022)
17. Write a JavaScript code to read data from JSON object and display it in a table. (4 Marks) (Summer 2022)
18. Using JavaScript create a simple calculator for addition, subtraction, multiplication, and division. (4
Marks) (Winter 2024)
19. Demonstrate functionality of following JavaScript methods: substring, slice, getDate, charAt. (4 Marks)
(Winter 2021)
20. Explain error handling in JavaScript. (4 Marks) (Summer 2021)
Chapter 4: PHP Basics
1. List out features of PHP. (3 Marks) (Winter 2024)
2. How to write in PHP? Explain with example. (3 Marks) (Summer 2023 OR)
3. Differentiate GET and POST methods. (4 Marks) (2 Time) (Winter 2021)
OR
Demonstrate GET, POST and REQUEST methods of PHP. (4 Marks) (Summer 2022)
4. Interpret PHP Function: Implode and Explode. (3 Marks) (Winter 2021)
5. Discuss associative array in PHP. (3 Marks) (2 Time) (Summer 2025)
OR
Write a note on associative array in PHP. (4 Marks) (Summer 2021)
6. Describe any four PHP array functions. (4 Marks) (2 Time) (Summer 2024)
OR
Describe any four PHP array functions. (4 Marks) (Winter 2021)
7. Explain Array in PHP with example. (4 Marks) (Summer 2023)
8. Write a program to create an array and make sum of all elements using foreach loop. (4 Marks) (Winter
2024)
9. Write a PHP script to sort the elements of an array. (7 Marks) (Winter 2023)
10. List and explain different types of array in PHP with example. (3 Marks) (Summer 2022)
11. Differentiate between for and foreach statements in PHP. (4 Marks) (Winter 2023)
12. Prepare a PHP Code to read and write content from File. (3 Marks) (Summer 2024)
13. How to upload a file in PHP. Give one example. (4 Marks) (2 Time) (Winter 2024)
OR
Create a PHP file upload code with following criteria (.jpg/.gif/.png only, max 800KB, check existence,
rename with timestamp). (7 Marks) (Summer 2022)
14. Write a PHP code to read data from JSON object and display in table form. (3 Marks) (3 Time) (Summer
2022)
OR
Write short note on “JSON”. (3 Marks) (Summer 2024)
OR
Define term: JSON. (3 Marks) (Winter 2021)
15. What is Inheritance? Implement inheritance in PHP using program. (7 Marks) (2 Time) (Winter 2024)
OR
Implement inheritance in PHP using PHP program. (7 Marks) (Winter 2024)
16. Explain interfaces in PHP. Show difference between interfaces and abstract classes. (4 Marks) (Winter
2024)
17. What is the use of a constructor function in PHP? Explain with example. (7 Marks) (Winter 2023)
18. Define Exception Handling in PHP. (3 Marks) (2 Time) (Summer 2023)
OR
Demonstrate Exception Handling in PHP. (3 Marks) (Summer 2022)
19. Write PHP program to store user registration with MySQL database. (7 Marks) (Summer 2025)
20. Write code to demonstrate prepared statement in PHP and MySQL. (7 Marks) (Summer 2022)
21. Develop a PHP Code which read stock code and display stock information when user submit page. (7
Marks) (Winter 2021)
22. Develop a PHP Code which reads employee code, year and month and generates salary slip. (7 Marks)
(Winter 2021)
23. Define following terms in PHP: Session, Cookie, Constructor. (3 Marks) (2 Time) (Winter 2024)
OR
Explain cookie in PHP with the help of example. (7 Marks) (Summer 2021)
24. Explain Browser detection PHP with Example. (3 Marks) (2 Times) (Summer 2023, Winter 2023)
25. Write a PHP using regular expression to identify
a) Data contains all numbers
b) Data must start with a character
c) Data must contain special character ‘@’. (3 Marks) (Summer 2022)
26. Write a PHP code to calculate number of days between two input dates. (4 Marks) (2 Time) (Summer
2025)
27. Write a php code to calculate the number of days between to two input dates if the difference is even
number then render background color as blue or red. (7 Marks) (Summer 2024)
Chapter 5: Session and State Management using PHP
1. Differentiate Cookie and Session in PHP. (4 Marks) (4 Time) (Summer 2025, Summer 2024)
OR
Differentiate Cookie and Session. (4 Marks) (Winter 2021, Winter 2022, Summer 2023)
2. Define following terms: Session, Cookie. (3 Marks) (3 Time) (Winter 2024)
OR
Describe in details: Cookie and Session. (4 Marks) (Winter 2023, Winter 2022)
OR
Write a note on session in PHP. (4 Marks) (Summer 2021)
OR
Explain cookie in PHP with example. (7 Marks) (Summer 2021)
3. What is Session Management? (3 Marks) (2 Time) (Winter 2023)
OR
Demonstrate session handling in PHP with example. (4 Marks) (Summer 2022)
4. Prepare a PHP Code to manage online shopping cart using session. (7 Marks) (3 Time) (Summer 2024)
OR
Prepare a PHP Code to manage online shopping cart using session. (7 Marks) (Winter 2022)
OR
Prepare a PHP Code to manage online shopping cart using session. (7 Marks) (Winter 2021)
5. How we can use hidden form field to maintain session in PHP? (3 Marks) (2 Time) (Winter 2024)
OR
Define term: Hidden fields and Query string. (4 Marks) (Summer 2023)
Chapter 6: Database Connectivity using PHP
1. Write PHP code to perform CRUD operation using PHP. (7 Marks) (3 Time) (Summer 2025, Winter
2024)
OR
Write PHP code to perform CRUD operation using PHP. (7 Marks) (Summer 2022)
OR
Write a program to connect database using PHP and write query for insert and delete data. (7 Marks)
(Winter 2023)
2. Write a PHP script to insert, update and delete records from the database. (7 Marks) (2 Time) (Winter
2024)
OR
Explain database connectivity in PHP with example. (7 Marks) (Summer 2023)
3. Write PHP program to store user registration with MySQL database. (7 Marks) (3 Time) (Summer 2025)
OR
Write a PHP program to store student registration with MySQL database. (7 Marks) (Summer 2023)
OR
Write PHP program to store user registration with MySQL database. (7 Marks) (Summer 2021)
4. Write a PHP script to demonstrate passing variables through a URL, and load data from database based on
passed data. (7 Marks) (Winter 2024)
5. Write a code to demonstrate prepared statement in PHP and MySQL. (7 Marks) (Summer 2022)
Chapter 7: Advanced Concepts (AJAX, REST API, jQuery)
1. Define term: AJAX. (3 Marks) (4 Time) (Summer 2024, Summer 2023, Winter 2022,)
OR
Discuss AJAX. (3 Marks) (Summer 2021)
2. Write the limitations of AJAX. (4 Marks) (Winter 2023)
3. What are the advantages of AJAX. (3 Marks) (Winter 2023 OR)
4. What are the protocols used by AJAX? (4 Marks) (Winter 2023 OR)
5. Develop a web page which contains two list box. First list ask to select State and according to state
selection second list box loads name of city. Develop it using AJAX. (7 Marks) (2 Time) (Winter 2022)
OR
Develop a web page which contains two list box. First list ask to select State and according to state
selection second list box loads name of city. Develop it using AJAX. (7 Marks) (Winter 2021)
6. Write a PHP code to create REST API to display the user details from database. (04/07) (2 Times)
(Summer 2025, Summer 2024)
7. Explain API development concept in PHP. (7 Marks) (Summer 2023)
8. Define term: jQuery. (3 Marks) (3 Time) (Summer 2024, Winter 2021)
OR
Define term: JQUERY. (3 Marks) (Winter 2022, Winter 2023)
9. Write the benefits of jQuery. (3 Marks) (Winter 2023)
10. What are the selectors in jQuery? How many types of selectors in jQuery? Explain it in detail. (7 Marks)
(Summer 2023 OR)
11. Write code to create drop-down list using jQuery. (4 Marks) (2 Time) (Summer 2025)
OR
Write code to create drop-down list using jQuery. (4 Marks) (Summer 2022)
12. Create an Image slider using jQuery. (4 Marks) (3 Time) (Winter 2024)
OR
Using jQuery write program to create image slider. (7 Marks) (2 Times) (Winter 2023, Winter 2024)
OR
Use jQuery to generate chart or image slider using plugin. (—) (Not directly asked yet)
13. Create a webpage that hides and shows the image when clicked using jQuery. (4 Marks) (Summer 2022)
14. Write a code to validate user input using jQuery. (3 Marks) (Summer 2025)
15. Explain in brief AJAX and jQuery. (7 Marks) (Summer 2025)