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

apr 2023

The document contains a series of questions and answers related to web development concepts, including error handling, sticky forms, XML parsing, DOM, JavaScript variables, jQuery, AJAX applications, and CodeIgniter. It also includes coding tasks in JavaScript and PHP for displaying messages and manipulating HTML content. The document serves as a study guide or quiz for understanding key web development topics.

Uploaded by

asankursingh7621
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

apr 2023

The document contains a series of questions and answers related to web development concepts, including error handling, sticky forms, XML parsing, DOM, JavaScript variables, jQuery, AJAX applications, and CodeIgniter. It also includes coding tasks in JavaScript and PHP for displaying messages and manipulating HTML content. The document serves as a study guide or quiz for understanding key web development topics.

Uploaded by

asankursingh7621
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1 mark

1) Which func on is used to print an error message and exit from current code?
 exit()

2) what is s cky form?


 Many websites use a technique know as s cky forms. In s cky forms the values entered by
user remain displayed with the form component, If we display the form a er submit.

3) XML Parser cannot alter documents or create new documents. Jus fy True or False.
 False. XML parsers can indeed alter documents or create new documents, depending on how
they are implemented and used

4) What is DOM?
 DOM is a away of expressing the various nodes of an XML document as a tree of objects.
Then the tree can be traversed and various nodes can be accessed.

5) How the variables declared in Javascript?


 Var keyword

6) what is JQuery?
 Jquery is a JavaScript library designed to simplify HTML DOM tree traversal and manipula on
as well as event handling, CSS anima on and Ajax.

7) Give any two applica ons of AJAX


 Google Maps, Gmail, Youtube

8) Which object is Ajax make web page interac ve?


 XMLH pRequest object

9) What is Code lgniter?


 CodeIgniter is an open-source so ware rapid development web framework, for use in
building dynamic web sites with PHP.

10) Which func on is used for page redirec ng?


 redirect()
4 Marks

1) Explain the workflow of MVC Architecture.

2) which are the fields used in cookies?


3) what is XML parser? Explain it with its types

3 Marks

1) Write XML syntax rules


2) What are Query selectors? Explain in brief

4 Marks
1) Write a JavaScript code to display message - Exams are near. Prepare well for it" using
alert, prompt and confirm boxes. Accept proper input from user and display messages
accordingly
 <html>
<head>
<script>
var t = confirm ("are you preparing for exams");
if(t==true) {
var s = prompt ("enter your name");
if((s.length)>0){
alert ("all the best "+s);
} else {
alert ("start your prepara on");
}
}
</script>
</head>
<body>
</body>
</html>

2) Write a PHP program to add or append in paragraph text and also in the numbered
(ordered) list in a given HTML document using jQuery selectors

You might also like