web-question-bank
web-question-bank
NO. S
5. Explain (i) <a> (ii) <pre> (iii) <img> (iv) <div> elements with 01 L2 8
example.
6. List different types HTML list. Explain the HTML list with an 01 L2 8
example.
7. Explain briefly HTML5 semantic structure element with an example 01 L2 6
to each.
8. Give the benefits of CSS. 01 L2 5
9. What is meant by CSS. Give the general syntax of CSS and provide 01 L2 5
one example to it.
10. List and explain with an example different levels of CSS Styling. 01 L2 6
11. List the different selectors available in CSS and explain id and class 01 L2 6
selector with an example.
What is the difference between the <p> and the <div>element? In 01 L2
12. what contexts should one use the one over the other? Write an HTML 8
code to display an image image1.png in such a way that text browsers
will display "S G B I T" instead.
13. Give syntax and an example for each of the following tags. 01 L2 4
14. i). <time> ii). <nav> iii). <div> iv). <figcaption> 01 L2 8
Create HTML document to describe a table with the following 01 L3
contents: The columns of the table must have the headings pine,
15. maple, Oak and fir. The rown must have the labels average height, 8
average width, typical lifespan, and leaf type. Fill the data cells with
some values.
16. What is an element selector and a grouped element selector? Provide 01 L2 6
an example of each.
17. Create a table with 4 rows and 4 columns; odd rows background color 01 L3 6
is lightblue; even rows background color is yellow; when hovering the
rows the font-size changes and set margin and padding to 10pt.
Subjects 1st I.A 2nd I.A Average
Data Structure 25 24 25
Maths 20 22 21
Total: 46
18. Illustrate the CSS box model? 01 L2 5
Create HTML document that defines a table with 5 rows and 01 L3
5columns. The first row should contain country name, gold, silver,
bronze (all three indicating the type of medals)and total in each
column respectively. Fill in the information details in the table with
19. appropriate values. After filling the details, set red color to the 8
background for the first row,blue for the second, yellow for the third,
purple for the fourth and green for the fifth row.Use of align and
valign attributes for this table has to be made at the appropriate
places.
20. List the different selectors available in CSS and explain in detail. 01 L2 8
Write an HTML document to describe an ordered list of your five 01 L2
21. favourite movies. Each element of the list must have a nested list of 6
atleast two actors in your favourite movies.
22. What are the advantages and disadvantages of using the new HTML5 01 L2 5
semantic elements?
Create an XHTML document that defines a table that has two levels 01 L3
of column labels: an overall label, Meals, and 3 secondary labels,
23. Breakfast, Lunch and Dinner. There must be 2 levels of row labels: an 6
overall label, Foods and 4 secondary labels, Bread, Main course,
Vegetable and Dessert. The cells of the table must contain a number
of grams for each of the food categories.
Write an HTML code to display two paragraphs: "Grass is green" and 01 L3
24. "Fire is red". Use embedded styles so that the words "green" and 6
"fire" are to be displayed in green and red color respectively.
25. What are inline styles? Explain with an example. 01 L2 4
Module 2
1. What are the elements used to define the structure of an HTML table? 02 L2 6
Explain briefly
2. Describe the purpose of a table caption and the table heading elements. 02 L2 4
3. Create a table that correctly uses the caption, thead, tfoot, and tbody 02 L2 6
elements. Briefly discuss the role of each of these elements.
4. What is the disadvantage of using tables for markup? 02 L2 6
5. What is the difference between datetime and datetime-local? 02 L2 4
6. What is a form? What is a tel text input control? 02 L2 4
7. What are the two different ways of passing information via the URL? 02 L2 5
8. What is the purpose of the action attribute? Give example. 02 L2 5
9. Explain the different types of styling. 02 L2 6
10. What are microformats? What is their purpose? Explain 02 L2 6
11. What is normal flow in the context of CSS? 02 L2 5
12. Describe how block-level elements are different from inline elements. Be 02 L2 5
sure to describe the two different types of inline elements.
13. In CSS, what does floating an element do? How do you float an element? 02 L2 5
Example
In CSS positioning, the concept of positioning context is important. What is 02 L2
14. it and how does it affect positioning? Provide an example of how 5
positioning context might affect the positioning of an element.
15. Briefly describe the two ways to construct multicolumn layouts in CSS. 02 L2 5
16. Write the CSS and HTML to create a two-column layout using positioning 02 L2 5
and floating.
17. Briefly describe the role of CSS media queries. 02 L2 4
18. What is viewport? Why is it important? 02 L2 5
19. What are the advantages and disadvantages of using a CSS framework? 02 L2 5
20. Explain margin and padding. 02 L2 5
Module 3
1. Explain the variable and different operators with an example in JS. 03 L2 5
2. Explain the different conditions and loops with an example in JS. 03 L2 5
3. Explain briefly how to define and use functions with an example in JS. 03 L2 5
4. Explain the different events in JS. 03 L2 5
5. List and example different mouse events available in JS. Write a code 03 L3 6
for each and explain.
6. List and example different key events available in JS. Write a code for 03 L3 6
each and explain.
7. List and example different form events available in JS. Write a code 03 L3 6
for each and explain.
8. Explain client side and server side scripting. 03 L2 6
9. Explain the different server-side technologies. 03 L2 6
10. What are the different ways to comment in PHP, give example 03 L2 5
11. With an example explain variables, data types and constants in PHP. 03 L2 5
12. Explain echo, printf and alert. 03 L2 6
13. Explain the control statements, loops and PHP with an example. 03 L2 6
14. Write a PHP code display current time and date from the server. 03 L2 5
15. Explain different ways of parameters in functions used in PHP. 03 L2 5
Which are the methods used for accepting inputs from the keyboard 03 L3
16. and for displaying results on the screen? Write a Javascript for 6
accepting the user name and display it on the browser window. (Dec
2012, 08 Marks)
17. Write a HTML and javacript to return the leftmost vowel of the 03 L3 5
string. (July 2015, 08 Marks).
18. Write a Javascript to read an email ID from user suing prompt and 03 L2 6
validate it. Its should contain a ‘@’ and ‘.’(dot). (Jan 2016, 08 Marks)
Write a HTML document containing a JavaScript function to compute 03 L3
19. the median of an array of numbers with at least two different 6
datasets. (July 2016, 08 Marks).
Explain the following objects available in JavaScript. List atleast 3 03 L3
methods available with them: (Jan 2016, 08 Marks)
a. Math Object
20. b. Number Object 8
c. Date Object
d. Array Object
40. What are the different ways in which javascript can be linked to an 03 L2 6
HTML page.
41. Explain the JS arrays method with an example.(july 2018) 03 L2 6
3. List and briefly describe the ways you can limit the type and size of 04 L2 6
files uploaded?
4. Explain the role of an interface in OOP? (New Scheme)08Marks 04 L2 8
7. Write a PHP program to sort the arrays using asort, ksort and rsort 04 L2 5
functions.
8. Discuss the file operations in PHP. 04 L2 5
9. Explain Error Handling and validation with an example. 04 L2 6
10. Explain Error Exception Handling with an example. 04 L2 6
11. Discuss array in php (july 2014). 04 L2 6
20. What are the errors codes occur in PHP while uploading a file, define 04 L2 8
them.
21. Write a code snippet to show limiting a file size in JS, PHP, HTML. 04 L3 6
22. Explain briefly in-memory file function in PHP. 04 L2 6
23. Explain the role of an interface in OOp. 04 L2 6
24. Describe the concept of dynamic dispatching. 04 L2 6
25. How to define a class and create a object in PHP, give example. 04 L3 6
26. How to define methods and constructors in PHP. Give example and 04 L3 6
show the UML.
27. Explain visibility and static member in PHP(july 2017, 2014, 2016) 04 L2 6
28. List and explain the OOP with example to each. 04 L3 8
29. List and explain the types of errors occur in PHP. Give example to 04 L2 8
each.
30. Explain PHP Error Reporting with example to each. 04 L3 4
31. Explain the try and catch block in PHP withan example. 04 L2 6
1. What is a Cookie? Why are they used? Which function is used in php 05 L2 6
to set a Cookie? Give an example and syntax. (jan 2016)
What is session tracking in web pages? With the help of an example 05 L3
2. php program demonstrate how session can be used to track number 8
of web pages visited in a session (jan 2016)08 Marks.
3. What is web storage in HTML5? How does it differ from HTTP 05 L2 6
cookies? What is HTTP Only cookie?
4. Demonstrate with an example, how information is passed from page 05 L2 6
to another using query string.
5. What is jQuery? List and explain various selectors used in jQuery. 05 L3 8
6. Write advantages and disadvantages of jQuery 05 L2 4
7. Write a jQuery selector to get all that contain the word “DSATM”. 05 L3 8
8. What are the techniques for AJAX file upload? 05 L2 8
9. Explain the working of ajax with an example. 05 L2 8
10. What are the different types of global web storage objects? What is 05 L2 8
their purpose?
11. Describe the use of URL rewriting. 05 L2 6
12. Describe the two models for page caching. 05 L2 6
13. How does object serialization relate to stored sessions in PHP? 05 L2 6
14. What is the difference between page output caching and application 05 L2 6
data caching?
15. Write a jQuery selector to get all the that contain the word ―hello‖? 05 L2 6
18. Discuss the merits and drawbacks of SOAP and REST based web 05 L2 8
services and for XML versus JSON as a REST data format.
19. What is Cookies and Session tracking, how they are handled in PHP. 05 L2 8
20. Explain HTML5 web Storage. 05 L2 6
21. Explain how entities are declared in XML? 05 L2 8
22. What is XML name space? Give its declaration format with a 05 L2 8
complete example.
23. Explain JSON Structure. 05 L2 8
24. Explain in Detail MVC Frameworks. 05 L2 6
25. Explain Overview of Web Services. 05 L2 8
26. Explain the approaches of XML document processing. 05 L2 6
27. Explain the serialization interface briefly. 05 L2 6