ACTIVITY TASK MODULE 6 INFMNGT LECTURE AND LABORATORY
I. LEARNING TASKS
A. ENGAGE
Instruction: Based on your own understanding, kindly define the following
terminologies:
A.XML
- XML stands for extensible markup language. A markup language is a set of codes, or tags, that describes the text in a digital document. The most famous markup language is hypertext markup language (HTML), which is used to format Web pages. XML, a more flexible cousin of HTML, makes it possible to conduct complex business over the Internet.
B.JSON
- JSON (JavaScript Object Notation) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values). It is a common data format with diverse uses in electronic data interchange, including that of web applications with servers.
C.AJAX
- AJAX stands for Asynchronous JavaScript and XML. AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS, and Java Script.
B. EXPLORE & EXPLAIN
Answer the following questions:
1. What is the difference between JSON and XML?
- JSON and XML are data representations used in data exchange between applications. JSON is an open data interchange format that is readable by both people and machines. JSON is independent of any programming language and is a common API output in a wide variety of applications. XML is a markup language that provides rules to define any data. It uses tags to differentiate between data attributes and the actual data. While both formats are used in data exchange, JSON is the newer, more flexible, and more popular option.
2. What is the difference between JSON and JAVASCRIPT?
- The difference between JSON and JAVASCRIPT is that the JAVASCRIPT objects can contain functions and objects can only be used in JavaScript while the JSON cannot contain functions and can be created and used by other programming languages.
3. What is the difference between OBJECTS and ARRAYS?
- Objects are mutable data structure in javascript which is used to represent a ‘Thing’. This could be anything like cars, plants, person, community etc. It stores the data in key value pair and the key can be anything except for undefined. The keys are iterable and can be accessed in any order while Arrays are objects only in javascript. The major difference is that they store the data in an ordered collection in which the data can be accessed using a numerical index. They are also mutable and data can be modified at any index. Indexes are zero based which means the first item is stored at Oth index, second at first and so on, last item is stored at n-1th index.
C.ELABORATE & EVALUATION
Answer the following questions: Acronym
1. JSON - JavaScript Object Notation
2. HTTP - Hypertext Transfer Protocol
3. XML - Extensible Markup Language
4. AJAX - Asynchronous JavaScript and XML
5. PHP - PHP: Hypertext Preprocessor

Comments
Post a Comment