Web Technology Question Bank PDF
Web Technology Question Bank PDF
Web Technology Question Bank PDF
s.c
WEB Technology (2160708)
Question Bank
Chapter 1
es
1. Give the full name of the following acronyms.
pr
• • •
• XML • URL • HTML
• URI • PHP • UDP
• FTP • TCP • DTD
rd
3. Explain the following in brief
• FTP wo • WML
• E-MAIL
Chapter 2
it.
Chapter 3
1. What is meta tags? What is its use? Describe with example. How it is useful by search
engine?
jp
3. Explain the use of HTML table element for designing the web page layouts with
://a
appropriate examples
4. Describe the structure of a HTML document. What is the difference between tag and
5. How many types of list are supported by HTML? Explain each one in brief.
DivideByZeroException.
om
7. What is HTML table? Explain table element with necessary attributes. Give the code to
s.c
es
pr
rd
8. What do you mean by meta tags? What are their purposes? Explain the different meta
tags.
wo
9. What is frame set? Explain the use of frame set in web site design with proper example.
12. What is the difference between GET and POST methods in form submitting? Give
ate
13. List different types of input elements in HTML. Explain any two with example.
jp
14. What are frames? List out its advantages and disadvantages
Chapter 4
://a
• Classes in CSS
• Document Level
ht
example.
s.c
4. Explain CSS Positioning with Example
• Float
es
• Margin
6. Write HTML code to design the page layout using table tag like header, sidebar and
pr
content area. Header, sidebar and content area contain image as a background,
menu using hyperlinks and login facility respectively. Use External style sheet.
rd
Chapter 5
1. How can you perform validation using JavaScript? Show the validation using JavaScript
wo
with simple form having name, phone number and email field.
2. What is Document Object Model? Explain the various objects in Document Object
Model.
it.
3. Write a program using Java Script, which sorts elements of an array in descending
4. What are objects in Java Script? Explain properties, methods and event of window
ate
5. Create a HTML page with Java Script, which takes one integer number as input
6. Create a HTML page using Java Script, which gives functionality of calculator like
7. What do you mean by event in JavaScript? Give at least two examples of events with
their handling.
s.c
11. Explain Array, Function with Example (with reference to JavaScript).
12. Create HTML Page with JavaScript which takes Integer number as input and tells
es
13. What are the uses of JavaScript? Explain any two with example
14. Design a web page which contains list of radio buttons (car names) and one image
pr
element/tag. When particular car name is clicked then image element displays the
chosen car into image tag. Write HTML and JavaScript code for the same.
rd
15. Design a web page which contains image and button element/tag. When button is
clicked then images get changed periodically (every 5 Sec). Write HTML and JavaScript
then all characters should be converted to uppercase and when mouse over/out on
it.
image then image should be changed. Write JavaScript code for the same.
Chapter 6
ate
3. What is XML? What are rules of elements in XML? Write the disadvantages of
jp
attributes of XML.
5. What is a DTD? What are its applications? What are its advantages and disadvantages?
tp
7. List out XML elements and explain its use with example.
ht
8. Write XML file to store book information like its name, author, publisher and price for
om
at least two books and also gives the DTD for the same file.
Chapter 7
s.c
1. What is an HTML form? How can you access the form data in php page? Explain with
suitable example
2. Write a PHP program that receives the value of N using HTML form and displays the
es
first N Fibonacci numbers as HTML list.
pr
4. What is session? How do php manage the sessions? Give an example to store and
rd
5. What is cookie? Explain the setcookie() function in PHP with meaning of all the
arguments. wo
6. Explain the PHP session and PHP cookie with an example.
8. Write a PHP program to make the sum of first 100 odd & even numbers.
it.
9. Explain index and associative arrays in PHP.
10. Write a code to design a web page in PHP which allows user to upload file with
l
following restrictions.
ate
If upload is successful then it should display all details of the file like its name, size and
type otherwise it asks to upload again if it does not satisfy above requirements.
://a
• $_REQUEST [ ] • $_SERVER[ ]
12. What is cookie in PHP? How to create and destroy it? Is it used to transfer data among
tp
s.c
• It accepts input like firstname, lastname, age and city.
• When user clicks on submit button then his/her details should be inserted into
table.
es
• Also it performs validation (using JavaScript) like any of the input filed should not
be empty
pr
Assume that database and table are created in MYSQL.List all the Validation Control
rd
2. Write a program to list all the tables belong to Database (assume any database name)