Question

HTML Assignment Question 7: Which of the following is NOT a correct description of JavaScript: A....

HTML Assignment

Question 7: Which of the following is NOT a correct description of JavaScript:

A. JavaScript is an interpreted/scripting language.

B. JavaScript is a high-level programming language.

C. JavaScript can be executed in web browser by JavaScript engine to make web pages more interactive, and user-friendly.

D. JavaScript is a part of Java extension.

Question 8: To provide JavaScript for an HTML document, you must add a <script> element in the <head> part of the document that either includes embedded JavaScript or refers to an external JavaScript file.

A. True

B. False

Question 9: There are three ways to apply JavaScript to an HTML document: external, embedded, and inline.

A. True

B. False

Question 10.

Given

var colors = [ 44.5, 'yellow', true];

colors.push ('black') ;

The above statement will add 'black', a string as the 4th item in this array.

A. True

B. False

Question 11: In JavaScript, a variable name must NOT start with a number.

A. True

B. False

Question 12:

Which of the following are the right ways to define variable(s) in JavaScript?

(1)int $num; $num=3;

(2)var phone1, _address, 5tips,

(3)var true;

(4)var 'Tom' = firstName;

(5)var isHere = false;

(6)var numbers = [3.0, 5.9, 'green'];

A. (5) and (6)

B. All of them

C. (3), (5), and (6)

D. (1), (2), and (3)

Homework Answers

Answer #1
Question 7:
JavaScript is NOT a part of Java extension.
Answer:
Option D

Question 8:
To provide JavaScript for an HTML document, you must add a <script> element in the <head> part of the document that either includes embedded JavaScript or refers to an external JavaScript file.
Answer:
True

Question 9:
There are three ways to apply CSS to an HTML document: external, embedded, and inline.
Answer:
False

Question 10:
var colors = [ 44.5, 'yellow', true];
colors.push ('black') ;
The above statement will add 'black', a string as the 4th item in this array
Answer:
True

Question 11:
In JavaScript, a variable name must NOT start with a number.
Answer:
True

Question 12:
ight ways to define variable(s) in JavaScript are
(5)var isHere = false;
(6)var numbers = [3.0, 5.9, 'green'];
Answer:
A. (5) and (6)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
[5 pts] An element with no closing tag is called which of the following? an attribute...
[5 pts] An element with no closing tag is called which of the following? an attribute an empty element a Socratic element a hermit element [5 pts] <a href="#info">Click Here</a> The above HTML is an example of which of the following? An external link An internal link An anonymous function A source attribute [5 pts] Which of the following should be primarily responsible for the design and formatting of a Web page? CSS HTML JavaScript XML [5 pts]   The following:...
Question 61 ​The tag for creating a numbered list is ____. a. ​<ol> b. ​<li />...
Question 61 ​The tag for creating a numbered list is ____. a. ​<ol> b. ​<li /> c. ​<ul> d. ​<nl> 1 points Question 62 ​The term for a collection of website files stored on a web server is ____. a. ​active website b. ​local website c. ​remote website d. ​plug-in website 1 points Question 63 ​The text editor installed with Windows is called ____. a. ​web pad b. ​MS Sketch c. ​Notebook d. ​Notepad 1 points Question 64 ​The text...
Q1: TRUE or FALSE and correct the FALSE question: 1. Google web server uses one single...
Q1: TRUE or FALSE and correct the FALSE question: 1. Google web server uses one single socket to provide service to all its clients. 2. WireShark can be used to discover all the routers IP addresses along the path from one source to the destination. 3. A web cache can always satisfy client requests directly. 4. HTTP request and response messages always have the same format. 5. P2P is a client/server model. 6. Packet sniffing is a technology to send...
QUESTION 1 What does the following code segment output? int red, blue; red = 7; blue...
QUESTION 1 What does the following code segment output? int red, blue; red = 7; blue = red + 2 * 5 red++; blue = blue + red; cout << blue; 4 points    QUESTION 2 Is the following statement true or false? The Boolean expression in the following if statement will be true for all values of x in the range from 10 to 20 (including the endpoints) and false for all other values: int x; if (x >=...
TASK 2: Open numberic-variable_problem.js file in a text editor (e.g., NotePad++). What is the syntax error...
TASK 2: Open numberic-variable_problem.js file in a text editor (e.g., NotePad++). What is the syntax error in the JavaScript file? Find error message in console in a browser’s developer tool. Fix that error and reload the web page in browser. What is the change in the content displayed in the web page after fix the syntax error in the JavaScript code? Replace the line#18 statement (el.textContent = '$' + total;) in the JavaScript code with    el.textContent = '$' + total.toFixed(3);...
Question 21 ​By default, most wireless networks are ____. a. ​secured by WEP b. ​password-locked c....
Question 21 ​By default, most wireless networks are ____. a. ​secured by WEP b. ​password-locked c. ​secured by WPA or WPA2 d. ​left unsecured 1 points Question 22 ​Choosing Image Editing and Illustration Programs a. ​non-lossy b. ​linear c. ​bitmap d. ​vector 1 points Question 23 ​Computer-generated graphics come in two varieties: ____ and vector. a. ​linear b. ​raster c. ​angular d. ​digital 1 points Question 24 ​Currently, WWANs provide wireless connections to the Internet using ____ networks created by...
If one person consumes a public good: Question 2 options: a) others cannot be excluded from...
If one person consumes a public good: Question 2 options: a) others cannot be excluded from enjoying it. b) he or she must pay for it. c) others are excluded from enjoying it. d) the amount of the good available to others is diminished. If demand for a product rises, what happens to consumer surplus, assuming supply holds steady and the market sells at equilibrium prices? Question 3 options: a) Consumer surplus will be smaller after the increase in demand....
5.Question 5 Pre-attack indicators are like post-attack indicators in which of the following ways: Both are...
5.Question 5 Pre-attack indicators are like post-attack indicators in which of the following ways: Both are more effective in the presence of external threat intelligence IP source shuns work about 50% of the time for both methods. Both will always prevent attacks Both are really a waste of time for most tools Neither can possibly prevent an attack. 1 point 6.Question 6 DMARC is a standard that enforces which of the following IT infrastructure bindings: Connects email content with checksums...
Question 5 Which of the following plants were incorrectly thought by some to be able to...
Question 5 Which of the following plants were incorrectly thought by some to be able to liberate poor countries from dependence on imported oil? A) Kelp B) Oil palm and Jatorpha C) Kundzu Vines D) Poppy seeds E) None of the choices Question 6 What factors makes the cultivation of sugarcane and the subsequent ethanol fermentation a clearly energy - rewarding enterprise? A) All the choices are correct B) Sugarcane photosynthesizes year around C) Ethanol production does not require any...
Examine the following code, which contains six common bugs. In a separate Microsoft Word (or other...
Examine the following code, which contains six common bugs. In a separate Microsoft Word (or other word processing or text file), identify the line number of at least three (3) bugs as well as a brief description of each bug. 1. 2. 1. <!DOCTYPE html> 2. </html> 3. <head> <link rel="stylesheet" href="MyStyle.css"> </head> 4. <body> 5. <nav> 6. <a href="GroceryHome.html">Home</a> | 7. <a href="Products.html">Products</a> | 8. <a href="AboutUs.html">About Us</a> | 9. <a href="Contact.html">Contact</a> 10. </nav> 11. <header> 12. <h1> My...