A Web ____ is a program that interprets and displays Web pages and enables you to view and
interact with a Web page. - Answers browser
A text editor creates the HTML code for you as you add elements to the Web page, which
means that you do not have to enter HTML tags directly. - Answers false
HTML browsers ignore spaces that exist between the tags in your HTML document. - Answers
true
HTML provides a set of rules that are used to encode documents in machine-readable form. -
Answers false
Most browsers do not support previous versions of HTML. - Answers false
The ____ tag is used to display a horizontal rule across the page. - Answers <hr/>
The most recent version of HTML is HTML____. - Answers 5
The term ____ describes a combination of HTML tags, CSS, and a scripting language. - Answers
dom
To locate a Web page using a browser, you type its ____ in the browser's Address or Location
bar. - Answers url
____ is an example of a scripting language. - Answers javascript
How many times can you use a specific ID on a single page? - Answers 1
How many different classes can you add to your page? - Answers as many as you want
A CSS ruleset is made up of... - Answers selectors paired with CSS declaration blocks.
What structure best describes how the DOM is represented in the computer's memory? -
Answers A tree
A CSS declaration is made up of... - Answers a property and a value.
How many different IDs can you add to a single page? - Answers as many as you want
What are the benefits of using a linked stylesheet instead of inline styles? - Answers External
styles allow the same CSS to be applied to multiple pages. You can avoid repeating code across
every page.
How many times can you use the same class on a page? - Answers As many as you want.
One of the following rules will take an h2 of the class happy and make it yellow. Which one? -
, Answers h2.happy { color: yellow; }
The plus sign (+) acts differently when used on numbers and strings. When it is used on strings
the operator performs __________. - Answers concatenation.
When combining numeric input from the user with the intention of combining it with other
numeric data, you must first... - Answers convert it to a number using a parse function or
Number().
Once you have declared a constant... - Answers you cannot reassign the value.
To make a string span multiple lines which special character must be used? - Answers \n
The addition of the _______ keyword introduced block level scope in JavaScript. - Answers let
There are several ways to declare a variable in JavaScript, which is NOT one of them? - Answers
int
Strings must be enclosed in... - Answers single or double quotes.
JavaScript includes a number of words that cannot be used for variable names. These are
called __________ words. - Answers reserved
JavaScript uses ____ bits to store numbers of either integer or floating point values. - Answers
64
______________ is the process wherein data of the incorrect type is converted to a different type
to match the operation being performed. - Answers type coercion
In the following object pen['inkColor'] would retrieve the word "blue". Which of the following
expressions would also return the same value.
let pen = { type: 'ballpoint', inkColor: 'blue', hasCap: true}; - Answers pen.inkColor
A method that adds data to the end of an array is ___________. - Answers push
If you wanted to add items to an array at a position other than the front/top or end/bottom of
the array you would probably use the ______ method. - Answers splice
The Math object has many useful methods to perform operations beyond normal arithmetic.
Which method of the Math object would return the whole number portion of a positive decimal
number? - Answers math.floor
In the following array which value would be data[2]?