Question Bank of WT - 2
Question Bank of WT - 2
WEB TECHNOLOGY
QUESTION BANK –Part 2
1 Explain types of array in PHP with example
2 Explain PHP and WAMP server in detail.
3 Differentiate between Client Side Scripting and Server Side Scripting.
4 Write a JavaScript to find first 10 prime numbers.
5 Explain event handling in JavaScript.
6 Write a JavaScript to check input string is palindrome or not.
7 Write a web application code using PHP, HTML and MySql for Employees that
stores employee’s id, name, department, designation, etc. in database. Create
proper GUI including buttons that run separate .php file for each database
operation like insert, update, delete etc.
8 Write a PHP script to print following pattern.
1
01
101
0101
10101
9 Explain session and cookies in PHP with proper example.
10 Write php code to create database state, create table city(cityname,
area,population) and insert data from table.
11 What is session and cookie in php? Create seesion and session parameter using-
php code.
12 Write php code to read from a file and display it in browser
13 Explain Cookie in PHP. & Explain session in PHP.
OR What is Cookie? How can we handle cookies in PHP?
What is session? Explain PHP session management.
14 Write PHP program to read text file.
15 Write PHP code for database connectivity. Apply insert and delete operation with
proper example.
16 Write a PHP program to upload image. And also check file size should not greater
than 30 KB.
17 Write a PHP program to insert data in table. And also display data on browser with