Web Technology I (Past year QNs.
)
Past Year Questions from Year 2073, 2074, 2075, 2076, 2078, 2079, 2080.
Short and Very short Questions: (3 and 8 marks QNs)
1. How do you create a table in HTML? Discuss with example.
2. Write a HTML code to display the following statements (A+B)2 = a2 + 2ab + b2.
3. What is XML DTD? Explain public DTD with example.
4. What are the advantages of using JavaScript? Write JS code to find sum of 2 numbers
entered by users.
5. Explain different types of list tags with examples in HTML.
6. Write down syntax rules for writing XML?
7. What are the uses of HTML? Describe the following tags with example.
1. Marquee
2. Script
8. What is XML? Explain its uses in brief.
9. What is frame in HTML? Explain with example.
10. Define XML. Write down syntax rules for writing XML and uses of XML?
11. Write a JS program to add 2 integer numbers using function.
12. What is pattern matching? Explain the meaning of \d, \D, \d, \S, \w, \W characters with
examples.
13. Write an XML file which will display book information. It includes information such as
Title of book, author Name, ISBN number, publisher name, Edition, price, etc.
Also, write a Document Type Definition (DTD) to validate the above XML file.
14. What is exception handling in JS? Explain with example.
15. Describe XML simple data types and complex data type with example.
16. Explain HTML tags: meta tags, marquee and link tag with example.
17. What are the uses and misuses of Internet in our society?
18. Write a JS function to add 2 numbers entered by user.
19. What is form validation? How do you validate email of a person in JS?
20. What are the rules for writing XML? Explain with examples.
21. Create XML document to store voter ID, voter Name, address and date of birth details.
Create a DTD to validate the document.
22. How to insert external CSS into HTML file? Explain the process or steps.
23. What is HTTP? Discuss its function in detail.
24. Describe following HTML tags with example
1. Div and span
2. Marquee
25. Write a JS program to enter 2 numbers and display their sum.
26. Define HTML. Explain html frames with example.
27. What is hyperlink? Explain its types with example.
28. Discuss the importance of internet and also mention positive and negative impacts of
social media.
29. What is pattern matching? Describe the meta characters [ \d, \D, \w, \W, \s, \S ].
30. What is exception handling in JS? Explain the term try, catch and finally with example.
31. Describe all indicators and occurrence indicators in XML with example.
32. Write short notes on:
1. List tag in HTML
2. XML syntax rules
--Made by Bishal Bhat-- 1
3. Web Server
33. Write structure of HTTP request and response message.
34. How will you create a password field in an HTML form?
35. What is #PCDATA?
36. Why JS is called dynamically typed language?
37. How do you create array in JS?
38. Define selectors in CSS.
39. How do you add background image and color in your web page?
40. Define web 2.0.
41. Describe the structure of HTML in brief. Also mention the use of rowspan and colspan in
table with example.
42. What are the uses and misuses of Internet in your opinion? Explain in brief.
43. Explain any 4 JS array methods with syntax and examples.
44. Define regular expression. Write a JS code to validate Email Address.
45. What is DTD? Explain the creation of external DTD with example.
46. Write short notes on:
1. JavaScript Cookies
2. Advantages of XML
3. XML DOM
47. What is the significance of XML namespace?
48. How many types of heading does an HTML contain? [6 types: h1 to h6]
49. What is RWD (Responsive Web Page Design)?
50. What is Box Model in CSS?
51. What is DOM? What is the use of document object?
52. How do you create objects in JS?
53. What is a well-formed XML document?
54. Define Web server.
55. How do you use external CSS file in Webpage?
56. Describe HTTP with its header fields and functions.
57. Write JS code to validate mobile number and email address.
58. Differentiate between DTD and XML schema. Also mention the features of XML.
59. What is XML link? Explain different types of links used in HTML.
60. Explain ordered and unordered list in HTML with its significance.
61. Why do we use namespace in XML?
62. What are the uses and misuses of Internet?
63. What is dynamic web page?
64. Define the terms ISP, Web server and DNS.
65. What is XML parser?
66. How do you create objects in JS?
67. Define Web 2.0 and Web 3.0.
68. What is CSS box model?
69. What is HTML? Explain the structure of HTML.
70. Describe HTTP with its header fields and functions.
71. Create 2 buttons named RED and GREEN. Write JS code to change the text color
according to the name of button when clicked by user.
72. Differentiate between XML Document and XML schema. What is the syntax of writing
XML.
73. What is Hyperlink? Explain Anchor tag with example.
74. What are the dialog boxes available in JS? Take Input of 2 number using prompt(), add
them and display the result using InnerHTML.
--Made by Bishal Bhat-- 2
Long Questions: (12 marks QNs)
75. Explain prompt, alert, and confirm dialog boxes in JS with example.
76. Develop a simple website that asks user Id and password and email to the users and
write code to validate these fields.
77. Define CSS? Explain different types of CSS with examples.
78. Explain prompt, alert, and confirm dialog boxes in JS with syntax and example.
79. Define CSS. Explain various types of CSS with example of your choice.
80. The name should be entered using prompt dialog box and name should be in the format
“firstname lastname”. The firstname and lastname should not be more than 15
characters. There should be single white space between firstname and lastname. Write a
JS code to validate name and if invalid name is entered, display proper error message.
81. Describe the structure of XML schema. Explain XSD order indicator and occurrence
indicator with example.
82. Explain JS popup boxes: prompt and confirm with examples.
83. Describe various types of list in HTML with example. Write HTML code for the given
output.
1. Science
i. Botany
ii. Zoology
2. Chemistry
i. Organic
ii. Inorganic
iii. Physical
84. Define pop up boxes in JS. Explain Various popup boxes with example.
85. Define CSS. Explain External CSS with example. What is XML schema? Explain 3 XML
restriction with example.
86. What is form validation? Validate first name and email id of student in JS. First name
must contain alphabets only and email id should be valid as usual.
87. Briefly explain various types of dialogue boxes in JS with examples.
88. Define XML schema. What are the rules of writing XML schema? Generate the XML
document and XML schema for the given problem:
Create a root element say class with child student and student have further 3 children:
fname, lname and age where fname and lname must be string type and age should be of
integer type. And should be in proper sequence also.
89. Describe the importance of CSS. Explain internal and External CSS with suitable example.
90. Write a complete JS program to find sum of 2 numbers using getElementById() method
for interface given below. Result should be displayed on 3rd box when clicked on SUM
button.
Enter First number:
Enter Second number:
SUM
91. What are the advantages of using CSS in web pages? What are the different types of
selectors in CSS?
--Made by Bishal Bhat-- 3
92. What are the popup boxes available in JS? Illustrate with programming example.
93. What are the rules for writing XML? Write an XML schema to describe ‘address’ as an element
and ‘city, state, street and house-no’ as its attributes.
94. Explain regular expression with their meaning. Develop JS program to solve given
problem. Input 2 number using getElementById() and add them. Then, display the result
using the alert box.
95. Explain different ways of inserting CSS in HTML documents. Also describe pseudo-class
selector with example.
96. Explain the use of XML. Write the XML schema to describe studentInfo as root element
and name, age, and semester as child elements. Data types of name, age and semester
should be string, integer, and string respectively. Element should be in sequence also.
97. Create an HTML form with fields username, password and email. Write a JS program to
validate this form. Username should not be empty, password should be at least 8
characters long. And email should be valid as usual.
98. Define regular expression in JS and explain the meaning of the following in JS:
a. Brackets: [ABC] and [^0-9]
b. Meta characters: \S and \B
c. Quantifiers: n+ and n*
Note:
These are all the questions from year 2073 – 2080 year…. The repeating Qns. are most IMP.
***
--Made by Bishal Bhat-- 4