Unit 1: Introduction to WEB Basics
What is HTTP? Explain how browser and server communicate using HTTP request
and response.
o Summer 2022: Q.1 (c) - 07 Marks
o Summer 2023: Q.1 (a) - 03 Marks
o Winter 2023: Q.1 (a) - 03 Marks (includes HTTP status codes)
Give full name of following acronyms (WWW, CSS, AJAX, HTTP, URL).
o Summer 2022: Q.1 (a) - 03 Marks (WWW, CSS, AJAX)
o Summer 2024: Q.1 (a) - 03 Marks (URL, HTTP, Web Server - Define)
o Winter 2024: Q.1 (a) - 03 Marks (WWW, HTTP, URL)
Explain different design issues at the time of designing an effective website.
o Summer 2022: Q.1 (b) - 04 Marks
o Summer 2023: Q.1 (b) - 04 Marks
o Summer 2024: Q.2 (b) - 04 Marks
o Winter 2023: Q.1 (b) - 04 Marks
o Winter 2024: Q.2 (b) - 04 Marks
Unit 2: Basics of HTML and CSS
Explain ordered list and unordered list in HTML.
o Summer 2022: Q.2 (a) - 03 Marks
o Summer 2023: Q.2 (b) - 04 Marks
o Summer 2024: Q.4 (a) - 03 Marks
o Winter 2024: Q.1 (b) - 04 Marks
What is rowspan and colspan used in HTML? Give examples / Explain usefulness.
o Summer 2022: Q.2 (c) - 07 Marks
o Summer 2024: Q.2 (c) OR - 07 Marks (Also write HTML code to print a table)
What do you mean by "class" and "id" in CSS? Explain with Example.
o Summer 2022: Q.2 (c) OR - 07 Marks
o Summer 2024: Q.2 (c) - 07 Marks
o Winter 2023: Q.3 (b) - 04 Marks
What is Bootstrap?
o Summer 2022: Q.3 (a) OR - 03 Marks
o Summer 2023: Q.2 (a) - 03 Marks (What Bootstrap package contains?)
o Winter 2023: Q.2 (c) (ii) - (Why we use bootstrap? Show a basic structure of
bootstrap grid.)
o Winter 2024: Q.2 (a) - 03 Marks (Why we use it.)
What is CSS? Explain the different types of CSS.
o Summer 2022: Q.3 (b) OR - 04 Marks
o Summer 2024: Q.1 (c) - 07 Marks (Compare inline, embedded and external style
sheet with example)
o Winter 2024: Q.1 (c) - 07 Marks
Explain HTML media tags.
o Summer 2022: Q.3 (a) - 03 Marks
What is positioning in CSS?
o Summer 2022: Q.3 (b) - 04 Marks
o Summer 2023: Q.3 (b) - 04 Marks (Z-Index positioning, Relative positioning)
Explain <img> and <frameset> tags with proper example.
o Summer 2022: Q.2 (b) - 04 Marks
Explain frames and frameset with example.
o Summer 2023: Q.1 (c) (ii) - 07 Marks
o Winter 2023: Q.2 (c) (i) - 07 Marks
o Winter 2024: Q.2 (c) - 07 Marks
Explain HTML form attributes with syntax. Make HTML form to collect details of
a book / sports registration page.
o Summer 2023: Q.2 (c) OR - 07 Marks
o Winter 2023: Q.2 (c) - 07 Marks
Explain CSS selectors.
o Winter 2024: Q.2 (c) OR - 07 Marks
o Winter 2024: Q.5 (b) - 04 Marks (jQuery Selectors)
Unit 3: Client Side Scripting using JavaScript
What is document object model? Explain any two objects with example / Write a
short note on DOM (Document Object Model) in JavaScript.
o Summer 2022: Q.3 (c) - 07 Marks
o Summer 2024: Q.3 (b) OR - 04 Marks
o Winter 2023: Q.3 (c) (i) - 07 Marks
What is JavaScript event handling? List the major events and show use of at least
one event by writing JavaScript code.
o Summer 2022: Q.3 (c) OR - 07 Marks
o Summer 2023: Q.3 (c) (i) - 07 Marks (mouse event example)
o Summer 2023: Q.4 (b) - 04 Marks (any two event handlers for text box & text
area)
o Summer 2023: Q.4 (b) OR - 04 Marks (any two event handlers for button)
Explain callbacks in JavaScript.
o Summer 2022: Q.4 (a) - 03 Marks
o Summer 2024: Q.3 (b) - 04 Marks
o Winter 2024: Q.3 (a) - 03 Marks
Write an HTML and JavaScript program which accepts N as input and print N is
odd or even number.
o Summer 2022: Q.4 (b) - 04 Marks
Explain different types of pop-up boxes in JavaScript.
o Summer 2023: Q.3 (c) (i) OR - 07 Marks
o Summer 2024: Q.3 (a) OR - 03 Marks
o Winter 2023: Q.3 (a) OR - 03 Marks
Write HTML and JavaScript code to validate the email address using regular
expression.
o Summer 2023: Q.3 (c) (ii) OR - 07 Marks
o Winter 2023: Q.4 (c) - 07 Marks (mobile number and email address)
Write a JavaScript that handles following mouse event (change font color on mouse
over/out).
o Summer 2023: Q.3 (c) (i) - 07 Marks
Create a webpage containing buttons to open/close child window and close main
window.
o Summer 2023: Q.3 (c) (ii) - 07 Marks
Create a webpage containing one button. Clicking on this button, change the size of
the window & position.
o Summer 2023: Q.3 (a) OR - 03 Marks
Write a short note on error handling in JavaScript.
o Summer 2024: Q.3 (a) - 03 Marks
o Winter 2024: Q.3 (b) OR - 04 Marks
Design Student registration form using HTML and JavaScript to validate fields
(compulsory, password length, mobile number).
o Summer 2024: Q.3 (c) - 07 Marks
Write a JavaScript to find whether entered number by user is prime or not.
o Summer 2024: Q.3 (c) OR - 07 Marks
o Winter 2023: Q.3 (c) (ii) - 07 Marks (print all prime numbers up to N)
o Winter 2024: Q.3 (c) - 07 Marks
Write HTML and JavaScript code to validate the username and password.
o Winter 2023: Q.3 (c) - 07 Marks
What is JavaScript? Discuss advantages of JavaScript.
o Winter 2024: Q.3 (a) OR - 03 Marks
Demonstrate functionality of following java script methods: substring, Slice,
getDate, charAt
o Winter 2024: Q.3 (b) - 04 Marks
Write a JavaScript program that accepts N as input and prints the first N odd
numbers.
o Winter 2024: Q.3 (c) OR - 07 Marks
Unit 4: Server Side Programming with PHP
What are the different types of arrays in PHP? Explain with examples.
o Summer 2022: Q.4 (c) - 07 Marks
o Summer 2024: Q.4 (c) - 07 Marks
o Winter 2023: Q.5 (b) - 04 Marks (index and associative arrays)
Differentiate Client side scripting and Server side scripting.
o Summer 2022: Q.4 (a) OR - 03 Marks
o Summer 2024: Q.1 (b) - 04 Marks
o Winter 2023: Q.4 (a) - 03 Marks
Explain file uploads in PHP.
o Summer 2022: Q.4 (b) OR - 04 Marks
o Winter 2024: Q.5 (c) OR - 07 Marks (upload file and display details)
What is PHP Form processing? Write an HTML and PHP program which accepts
N as input and print N Fibonacci numbers as list.
o Summer 2022: Q.4 (c) OR - 07 Marks
Explain Regular Expression in PHP.
o Summer 2022: Q.5 (a) - 03 Marks
o Winter 2024: Q.4 (a) - 03 Marks
What is Cookie? How can we handle cookies in PHP?
o Summer 2022: Q.5 (c) - 07 Marks
o Summer 2023: Q.4 (a) - 03 Marks (use of cookie, set and display)
o Summer 2024: Q.4 (c) OR - 07 Marks (sessions and cookies)
o Winter 2023: Q.4 (a) OR - 03 Marks (use of cookie, set and display)
o Winter 2024: Q.4 (b) OR - 04 Marks (Differentiate Cookie and Session)
Write the difference between POST and GET methods.
o Summer 2023: Q.3 (a) - 03 Marks
o Summer 2024: Q.2 (a) - 03 Marks
o Winter 2024: Q.5 (a) - 03 Marks
Explain session in PHP with example.
o Summer 2023: Q.4 (a) OR - 03 Marks
Write a PHP Script to display content of .txt file and display total number of words.
o Summer 2023: Q.5 (b) - 04 Marks
o Winter 2023: Q.5 (b) OR - 04 Marks (print number of words in a given statement)
Explain the concept of state management using query string in PHP.
o Summer 2023: Q.5 (b) OR - 04 Marks
Explain types of loops in PHP.
o Summer 2024: Q.4 (b) - 04 Marks
Write a PHP code to demonstrate a calculator using switch case.
o Summer 2024: Q.4 (b) OR - 04 Marks
Write a short note on file handling in PHP.
o Summer 2024: Q.5 (a) - 03 Marks
What is JSON? Explain different methods used to convert JavaScript to JSON and
vice versa through example / Enlist and explain valid data types in JSON with
syntax.
o Winter 2023: Q.4 (b) - 04 Marks
o Winter 2023: Q.4 (b) OR - 04 Marks
o Summer 2024: Q.5 (a) OR - 03 Marks (Briefly discuss JSON)
Differentiate between for and foreach statements in PHP.
o Winter 2024: Q.4 (b) - 04 Marks
Interpret PHP Function: Implode and Explode.
o Winter 2024: Q.4 (a) OR - 03 Marks
Unit 5: Database programming with PHP and MySQL
How prepared Statement is executed in PHP?
o Summer 2022: Q.5 (b) - 04 Marks
Write HTML and PHP program to read and store book information such as book
id, title, author and price from database table. Output the data to a webpage in
tabular format.
o Summer 2022: Q.5 (c) OR - 07 Marks
Write HTML and PHP program to read and store employee information such as
e_id, e_name, e_dept, e_exp and e_salary from employee table. Make a search
module to search a record from the database based on e_dept and display the result
in tabular format.
o Summer 2023: Q.4 (c) - 07 Marks
Write a web application code using PHP, HTML and MySql for Students that stores
EnrollmentNo, Name, College, Branch, Year etc. in database. Make separate PHP
file for each database operation like insert, update and delete operation.
o Summer 2023: Q.4 (c) OR - 07 Marks
Write a PHP script to insert user details (firstname, lastname, email) in MySQL
using prepared statement.
o Winter 2023: Q.4 (c) OR - 07 Marks
Develop a PHP Code which read student enrollment number and display student
information from mysql database when user submit page.
o Winter 2024: Q.4 (c) - 07 Marks
Write PHP program to store student registration data with mysql database.
o Winter 2024: Q.4 (c) OR - 07 Marks
Discuss steps to connect database using PHP. Also, discuss any two database
operations using proper example.
o Summer 2024: Q.5 (c) OR - 07 Marks
Unit 6: Advanced Web Programming concepts (AJAX, JQuery, Web Services, API)
What is JQuery? What are the advantages of JQuery?
o Summer 2022: Q.5 (a) OR - 03 Marks
o Winter 2023: Q.5 (c) (i) OR - 07 Marks (use of jQuery, syntax)
State the difference between synchronous and asynchronous web programming.
o Summer 2022: Q.5 (b) OR - 04 Marks
o Summer 2023: Q.5 (a) - 03 Marks
o Summer 2024: Q.5 (b) OR - 04 Marks
o Winter 2024: Q.5 (b) OR - 04 Marks
Write AJAX code to demonstrate the use AJAX request-response mechanism.
o Summer 2023: Q.5 (c) - 07 Marks
o Winter 2023: Q.5 (c) - 07 Marks (XMLHttpRequest to retrieve data from a TXT
file)
What are APIs? How to use them?
o Summer 2023: Q.5 (a) OR - 03 Marks
o Winter 2023: Q.5 (c) (iii) OR - (API service advantages/disadvantages)
Explain jQuery load(), get() and post() methods with its syntax.
o Summer 2023: Q.5 (c) (i) OR - 07 Marks
What is web service? How we can create web service?
o Summer 2023: Q.5 (c) (ii) OR - 07 Marks
o Summer 2024: Q.4 (a) OR - 03 Marks (Write a note on Web services)
o Winter 2023: Q.5 (c) (ii) OR - (Web service advantages/disadvantages)
Write a note on AJAX.
o Summer 2024: Q.5 (b) - 04 Marks
Describe the role of the XMLHttpRequest object in AJAX.
o Winter 2024: Q.5 (a) OR - 03 Marks
Explain the concept of classic web-application model.
o Winter 2023: Q.5 (a) - 03 Marks
Explain the concept of AJAX web-application model.
o Winter 2023: Q.5 (a) OR - 03 Marks