BAED-PROG3115 PROGRAMMING (.
NET TECH) P1 BY VEN
Defines a piece of computer code
<code>
external CSS files are files of type .css that are linked to a document using the link tag
True
nline or local stylesThese are written correctly in the HTML tag and precede other styles.
nline or local styles
Describe what <b> tag is for
Defines bold text
<fieldset> Specifies self-contained content
False
Choose what <data> is for
Links the given content with a machine-readable translation
Choose what <a> is for
Defines a hyperlink
<div> Defines a container for an external (non-HTML) application
False
<head> Defines a header for a document or section
False
embedded or global styles are written in the document head and refer to the file as a whole.
True
JavaScript is used mainly or enhancing the interaction of a user with the webpage
True
You can assign a value to the variable while declaring the variable but not after declaring
the variable
False
Variable names should start with a letter and they are case sensitive.
True
Loops are useful when you have to execute the same lines of code repeatedly
True
Variables are used to store values or expressions
Browser is responsible for running JavaScript.
JSON object is a key-value data format that is typically rendered in curly braces.
Type of JavaScript Array method if you want to know the number of elements in an array
length property
Type of JavaScript Array method if you want to add new properties and method
prototype property
Type of JavaScript Array method that you can add value as the last item of the array
push method
What does JSON stands for?
JavaScript Object Notation
JSON offers a good alternative to XML and requires much formatting
False
JSON is available for use by many languages including Python, PHP, Java and
Ruby
is a format of sharing data.
JSON
Each key-value pair is separated by a colon.
False
JSON object is a key-value data format that is typically rendered in curly braces.
True
JavaScript uses square brackets on either end of its array type.
JSON values are found to the right of the colon
Keys need to be unique and can include whitespaces, so it’s best to use underscores
JSON uses the .json extension when it stands alone.
True
AJAX stands for?
Asynchronous Javascript And Xml
just a means of loading data from the server and selectively updating parts of a webpage
without reloading the whole page.
AJAX
XHR stands for?
XMLHttpRequest
All modern browsers support the XHR object.
True
Execution of the script continues as soon as the Ajax request is sent.
True
Ajax make use of the browser’s built-in XHR object to send and receive information to and
from a web server
Asynchronously
When sending request and retrieving the response, the first thing to do is to
Instantiate (NOTE THAT PART IS DUMB :///)
This is from the module of oed
open() method typically accepts two parameters
The two parameters are the URL request method to use and the HTTP to send the request
to.
False
Send the request to the server using the send() method of the XHR object
True