Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Dashboard / Courses / BLENDED 1923T.

B / BL-CS-301-LEC-1923T / Week 1: Introduction to JavaScript / Quiz 001

Started on Wednesday, 13 November 2019, 1:18 PM


State Finished
Completed on Wednesday, 13 November 2019, 1:31 PM
Time taken 12 mins 29 secs
Marks 10/10
Grade 100 out of 100

Question 1 What is the purpose of the <script> and </script> tags? 


Correct

Mark 1 out of 1 Select one:


a. To point to an external JavaScript file

b. To tell the browser where a script begins and ends 

c. To let the browser know the scripting language to be used

d. All of the choices

Your answer is correct.

Question 2 The choice of a Web browser is up to you, as long it's compatible with _________.
Correct

Mark 1 out of 1 Select one:


a. JavaScript 

b. Flash MX

c. None of the choices

d. VBScript

Question 3 The _______ signals the end of a JavaScript statement.


Correct

Mark 1 out of 1 Select one:


a. None of the choices 

b. colon

c. period

Question 4 What is the original name of JavaScript?


Correct

Mark 1 out of 1 Select one:


a. None of the choices

b. Mocha 

c. Java

d. LiveScript
Question 5 Which of the following correctly points to an external JavaScript file named yourfile.js? 
Correct

Mark 1 out of 1 Select one:


a. <script language="yourfile.js"></script>

b. None of the choices

c. <script type= "text/javascript" src="yourfile.js"></script> 

d. <script type="text/javascript" link="yourfile.js"></script>

Your answer is correct.

Question 6 Part of the web browser that understands HTML and CSS.
Correct

Mark 1 out of 1 Select one:


a. JavaScript Compiler

b. None of the choices

c. Rendering Engine 

d. JavaScript Interpreter

Question 7 JavaScript is a language that must be compiled while Java is a language that must be interpreted.
Correct

Mark 1 out of 1 Select one:


a. True

b. False 

Question 8 JavaScript is a _________ language that doesn't require a program to be compiled before it is run.
Correct

Mark 1 out of 1 Select one:


programming

server-side

scripting 

None of the choices

Your answer is correct.

Question 9 An external JavaScript file commonly uses a filename extension of _______.


Correct

Mark 1 out of 1 Select one:


a. .js 

b. .jav

c. .html

d. None of the choices

Question 10 Is JavaScript code case sensitive?


Correct

Mark 1 out of 1 Select one:


a. No 

b. Yes
Lesson 2: Placing JavaScript in an HTML
◄ Lesson 1: Introduction to JavaScript Jump to...
File ►

You might also like