Sunteți pe pagina 1din 3

Dashboard / Courses / BLENDED 1923T.

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

Started on Friday, 10 January 2020, 1:44 PM


State Finished
Completed on Friday, 10 January 2020, 1:51 PM
Time taken 6 mins 22 secs
Marks 9/10
Grade 90 out of 100

Question 1 Active scripting is not a programing language instead it is a plain text interpreted to make a dynamic and
Correct interactive web pages.
Mark 1 out of 1
Select one:
a. False 

b. True

Question 2 Who developed the JavaScript?


Correct

Mark 1 out of 1 Select one:


a. Dennis Ritchie

b. Tim Berners-Lee

c. None of the choices 

d. Bill Gates

Question 3 JavaScript is _________.


Correct

Mark 1 out of 1 Select one:


a. object deficient

b. Object based 

c. None of the choices

d. server-side language

Question 4 Part of the browser that understands JavaScript.


Correct

Mark 1 out of 1 Select one:


a. Rendering Engine

b. JavaScript Compiler

c. None of the choices

d. JavaScript Interpreter 
Question 5 When would it be a good idea to use an external JavaScript file?
Correct

Mark 1 out of 1 Select one:


a. None of the choices

b. When your Web site viewers have older browsers

c. When the script is short or going to be used in only one HTML document

d. When the script is very long or needs to be placed in more than one HTML document 

Question 6 Which of the following is something you should have to use the JavaScript?
Correct

Mark 1 out of 1 Select one:


a. C++ compiler

b. 50GB hard drive

c. None of the choices

d. Web browser 

Question 7 The script tag's attribute that tells the browser the language of the script.
Correct

Mark 1 out of 1 Select one:


a. src

b. id

c. type 

d. None of the choices

Question 8 JavaScript has similarities to other programming and scripting languages.


Incorrect

Mark 0 out of 1 Select one:


a. False 

b. True

Question 9 Why should you use the type attribute in the opening script tag?
Correct

Mark 1 out of 1 Select one:


a. None of the choices

b. To let the browser know what type of coder you are

c. To create a typing script

d. To be sure the browser does not interpret your JavaScript as another scripting language and to ensure the
Web page validates in XHTML 

Question 10 Which of the following language is used to program the behavior of web pages?
Correct

Mark 1 out of 1 Select one:


a. None of the choices 

b. CSS

c. Java

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

S-ar putea să vă placă și