0% found this document useful (0 votes)
4 views1 page

Study Quetions Web

The document contains a series of questions and answers related to web technologies using XML and JavaScript, covering topics such as PHP functions, JavaScript methods, MVC framework components, and AJAX functionality. It includes both one-sentence answers for specific questions and short explanations for broader concepts. Key areas addressed include state maintenance in web applications, interaction between PHP and XML, and error handling in PHP.

Uploaded by

Prajakta Mhaske
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)
4 views1 page

Study Quetions Web

The document contains a series of questions and answers related to web technologies using XML and JavaScript, covering topics such as PHP functions, JavaScript methods, MVC framework components, and AJAX functionality. It includes both one-sentence answers for specific questions and short explanations for broader concepts. Key areas addressed include state maintenance in web applications, interaction between PHP and XML, and error handling in PHP.

Uploaded by

Prajakta Mhaske
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/ 1

Web Technologie using XML & Javascript

1.Answer in one sentence :-

1. What is the difference between include and require in PHP?


2. Which PHP function starts a session to maintain state?
3. What is the use of the array_push() function in PHP?
4. Which JavaScript method selects an element by its ID?
5. What is the purpose of the isset() function in PHP?
6. What does XML stand for?
7. What is the purpose of input validation in JavaScript?
8. What is the main difference between let and var in terms of scope?
9. What are the three main components of the MVC framework in CodeIgniter?
10. What is CodeIgniter?
11. How do you set and retrieve cookies in CodeIgniter?
12. What is the role of JavaScript in AJAX?
13. What are different ways to display output in JavaScript?
14. What is the role of the XMLHttpRequest object in AJAX?
15. How do you handle error messages in AJAX-based validation?

2.Answer in short :-

1. Explain the key features of JavaScript and its role in web development.
2. Explain how to maintain state in a web application using PHP.
3. Explain the difference between var, let, and const in JavaScript
4. How can PHP interact with XML?
5. Explain the purpose of onclick, onmouseover, and onmouseout events
6. What is the Document Object Model (DOM) in PHP?
7. Explain the working model of an AJAX-based web application.
8. What is the onclick event in JavaScript?
9. Explain the difference between synchronous and asynchronous AJAX requests
10. What is the SimpleXML extension in PHP, and what are its advantages?
11. How can PHP be used to convert XML data into an associative array?
12. How can XML be stored and retrieved from a MySQL database using PHP?
13. Explain the difference between cookies and sessions in PHP
14. What are different types of errors in PHP? Explain notices, warnings, and fatal errors.
15. Explain the role of try, catch, and finally blocks in PHP exception handling

You might also like