Module 3 Flashcards
What cache means in English?
A collection of items stored somewhere for later use.
Ex: A weapon cache.
What is cache in a computer?
A place where data is stored for later fast reading.
Which one of the following is not a recommended method of debugging code?
- Review your code for errors
- Google for possible solutions
- Clear your cache
- Utilize the nav element
- Utilize the nav element
What AJAX stands for?
Asynchronous JavaScript and XML
Why AJAX is asynchronous?
Because a request can be done indepent of the request of a full webpage.
Ex: a request can be done to change the video shown of a webpage without requesting a full new webpage.
How AJAX acomplish its task?
By combining JavaScript and XML.
What API stands for?
Application Programming Interface.
What JSON stands for?
JavaScript Object Notation
What are the two elements in JSON used to describe the format of data?
Key/Value Pairs and Ordered List of Values.
Give an example of Key/Value Pair in JSON.
Key: value
“Age:”: 15
“Name”: “Angela Smith”
Give an example of Ordered List of Values.
name of ordered list: [value1, value2, value3]
“MajoAreasOfStudy”: [“Physics”, “Computer Science”]
Or
{
“student”:
{
“Name”: “Angela Smith”,
“Age”: 15,
“GradePointAverage”: 3.25,
“MajorAreasOfStudy”: [“Physics”, “Computer Science”]
}
}
What XHR stands for?
XML HTTP Request.
What is XHR?
XHR is a set of APIs used by script languages to transfer XML to and from a web server using HTTP.
What kind of data XHR can be used to transfer?
HTML, XML, JSON, and more.
What are the main features of the Ruby programming language?
Suitable for writing scripts as well as robust object-oriented programs.