0% found this document useful (0 votes)
87 views

Web Question Bank

This document contains a question bank for the course "Web Technology & its Applications" with questions divided into four modules. The questions cover topics like HTML tags, lists, links, forms, tables, CSS, JavaScript, PHP, arrays, files, classes and more. Students would need to answer the questions to demonstrate their understanding of web technologies, markup languages, styling tools, scripting languages and how they work together to develop dynamic web applications.

Uploaded by

Vidya channaiah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

Web Question Bank

This document contains a question bank for the course "Web Technology & its Applications" with questions divided into four modules. The questions cover topics like HTML tags, lists, links, forms, tables, CSS, JavaScript, PHP, arrays, files, classes and more. Students would need to answer the questions to demonstrate their understanding of web technologies, markup languages, styling tools, scripting languages and how they work together to develop dynamic web applications.

Uploaded by

Vidya channaiah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Web Technology & its Applications (18CS63) QUESTION BANK

Marks
Questions
SL. MODULE 1
NO.
1. 1Explain the following tags with syntax and examples.
2 Marks each
a)<p> b) <strong> c) Headings d) <img> g) <img> h) <a> i) <br /> j) <pre>
2. 2How lists are handled in HTML? Design an HTML code to illustrate the nested list. 9M
3. Explain standard HTML document structure 6M
4. Create a document to show the linking to a part of another document and explain.
5. Explain the selector forms with an example
6M
What are selectors? List and explain selectors with an example.
6. Why are lists used in a web pages? With an example, explain different types of lists available in XHTML. 6M
7. What are selectors? Explain with example different types of selector forms. 8M
8. Explain the different levels of style sheets available in CSS. 4M
9. Write the history of markup languages 4M
10. Write the difference between XHTML and HTML5 4M
11. What are the three aims of HTML 5 and expand the following HTML, XML, DOCTYPE,PHP,
8M
WHATWG
12. Define CSS and list out its benefits with explanation 8M
MODULE 2
1. What are the different ways of passing information via the URL
2. Which widgets are created using <input> tag? Explain with example. 6M
3. Explain the tags, i) select iii) Textarea iv) div 8M
4. Explain the following with respect to XHTML forms:
a) Textbox
b) Checkbox
c) Radio button
d) Menu

Dept. of CSE, SVIT Page 1


Web Technology & its Applications (18CS63) QUESTION BANK

5.
7M

6. Design HTML document to display a table as shown in below figure.

7.
8M

8. Create an HTML document that includes alteast two images and enough text to precede the images, flow
4M
around them (one on left and one on right) and continue after the last image (Note : Use CSS tags).
9. Create XHTML document that contains student information VIZ. Name, usn, subject1, subject2,
subject3. Insert values for each student in five rows. Also row background of each student should be in the 8M
different color.
10. Explain the following, with respect to table creation in XHTML documents:
a) table, tr, th and td tags
b) align and valign attributes..
c) rowspan and colspan attributes.
d) Cell padding and cell spacing attributes
11. Explain the following with example. I) element visibility ii) absolute positioning. 8M
12. Explain positioning of elements. 8M
13. Explain the visibility property. How are they used?
14. What is the difference between relative and absolute positioning.
15. What does floating an element do in CSS? How do you float an element? 8M
16. Apply the following table elements to display the following table: 8M

Dept. of CSE, SVIT Page 2


Web Technology & its Applications (18CS63) QUESTION BANK

Table elements: table , td, tr, th, tbody, tfoot, thead.

17. Explain with a neat diagram how form works? Discuss about query string and micro formats. 8M
18. Identify the approaches to CSS layouts and explain them in detail. 8M
19. What is responsive design? Why its important? Explain in detail 8M
20. Explain the float property of CSS. How do you create multiple columns using float 6M
21. How to change the properties of elements using innerHTML and style (node) properties. 8M

MODULE 3
1. What are the different ways of accessing HTML document elements in javascript. 8M
2. What are block-level and inline elements 4M
3. Illustrate Javascript program handling f events from button element. 6M
4. Explain the different control statements used in PHP with a program 7M
5. Write a java script to compare two passwords 4M
6. Describe briefly the major uses of Javascript on the client side. 6M
7. Write a javascript to return the leftmost vowel of the string 8M
8. Describe briefly the major differences between java and javascript. 4M
9. Describe the different ways an array object can be created in javascript. Explain the array methods with
12M
example.
10. Write a javascript to generate first 4 fibonacci numbers. 4M
11. Discuss the advantages and disadvantages of client-side scripting. 8M
12. Write a javascript code that displays text “VTU BELAGAVI” with increasing font size in the interval of 8M
100ms in blue color, when the font size reaches 50 pt. it should stop increasing.
13. With a neat diagram, explain client and server script execution 8M
14. Write a PHP program to greet the user based on time 8M
15. Compare the server-side technologies in detail 8M
16. What are software layers? What benefits do they provide? Explain in detail. 8M

Dept. of CSE, SVIT Page 3


Web Technology & its Applications (18CS63) QUESTION BANK

17. What is javascript and listener? Discuss the advantages and disadvantages of client side scripting 8M
18. Write a PHP program to demonstrate the session. Program: Store page view count on refresh. 8M
19. Discuss the datatypes of PHP
20. Explain the writing of output in PHP. 8M
21. Discuss the alternative syntax of control structure 10M
22. Discuss the use of global keyword in PHP 6M
23. Explain with example inline, external and embedded scripting
24. How are exceptions handled in javascript. Explain the throw keyword 8M
25. What are the ways of declaring and accessing arrays in javascript. 6M
26. List and explain the different events – i) frame events ii) mouse events iii) keybords events iv) form events

MODULE IV
1. Explain $_GET and $_POST superglobal arrays 8M
2. How do you read or write a file on the server from PHP? Give example. 8M
3. Write a PHP program to create a class STUDENT with the following specification. 8M
Data members : Name, Roll number, Average marks
Member function : Read abd wrute
Use the above specification to read and print the information of 2 students.
4. How do you achieve data encapsulation in PHP? Give example 8M
5. What are superglobal arrays? List them & explain
6. Define constructor and discuss the concept of inheritance, polymorphism and object interface with respect 8M
to OOP. (8 marks)
7. Explain with an example, the two basic techniques for read/write files in PHP (8 marks) 8M
8. Write the PHP code to validate phone number. (8 marks) 8M
9. How is array defined in PHP? Explain the array operations of PHP.
10. Explain the process of populating $_GET superglobal array
11. Explain the process of populating $_POST superglobal array.
12. Explain the $_SERVER array
13. Explain the use of $_FILES array.
14. Explain how the files are uploaded from the browser and values are accessed at the server
15. How is the size of file restricted in PHP

Dept. of CSE, SVIT Page 4


Web Technology & its Applications (18CS63) QUESTION BANK

16. Explain the stream access of file in PHP.


17. Explain the All-In-Memory access of file in PHP.
18. How are the classes declared in PHP
19. How to access methods and properties of class in PHP
20. Explain the use of static members
21. How are constructors defined in PHP. Explain with example.
22. Explain encapsulation with example.
23. Explain inheritance with example.
24. Explain polymorphism with example.
25. Explain interface with example.
26. How is exception handled in PHP.
27. What are the different types of errors
28. Explain the different error reporting flags of PHP.
29. Wrie a PHP script to move the uploaded file to the desired location
30. Wrie a PHP script to limit the type of file.

MODULE V
1. What is a cookie? how cookie is used in PHP? 8M
2. Why is state is a problem for web applications? Explain. 8M
3. What does $( ) short and stand for in JQuery? Explain any 3 JQuery form selectors. 8M
4. Write the DTD for the following XML code: 8M

5. Explain different selectors of jQuery with example. 8M


6. What are cookie? What is the purpose of it? Demonsrate cookies with PHP program 8M

Dept. of CSE, SVIT Page 5


Web Technology & its Applications (18CS63) QUESTION BANK

7. DDefine the following: 8M


ei) Session cookies ii) Persistent cookies iii) session state
f
8. wWith a neat diagram explain SOAP and RESET web services. 8M
I
T
H
9. Explain the working of cookie with diagram
10. Explain Serialization? What are its applications?
11. Explain the working of session state.
12. What is session storage. how is it configured?
13. Explain the web storage using javascript API.
14. What is a caching in web? What are the types of caching?
15. Explain different selectors of jQuery with example.
16. How are DOM elements modified in jQuery?
17. Explain the AJAX system.
18. What is xml? What are the rules to form xml file
19. Write short notes on i) XML ii) XPath
20. Explain the XML processing in javascript.
21. Explain the XML processing in PHP.
22. How is JSON values accessed in PHP? Explain with example
23. Explain the web services

Dept. of CSE, SVIT Page 6

You might also like