Sei sulla pagina 1di 7

Dashboard / Courses / BLENDED 1923T.

B / BL-CS-301-LEC-1923T / Week 4: Preliminary Examination / Prelims

Started on Wednesday, 30 October 2019, 3:38 PM


State Finished
Completed on Wednesday, 30 October 2019, 3:58 PM
Time taken 20 mins 39 secs
Marks 26.00/30.00
Grade 86.67 out of 100.00

Question 1 Which of the following does not belong to the group?


Correct

Mark 1.00 out of Select one:


1.00
a. \\AMA-PC1\user 

b. public_html

c. htdocs

d. www

Your answer is correct.

Question 2 Which of the following is a Free PHP Editor?


Incorrect

Mark 0.00 out of Select one:


1.00
a. Dreamweaver

b. Zend Studio

c. Komodo Edit

d. PhpED 

Your answer is incorrect.

Question 3 What is the original name of JavaScript?


Correct

Mark 1.00 out of Select one:


1.00
a. None of the choices

b. Mocha 

c. LiveScript

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

Mark 1.00 out of Select one:


1.00
programming

server-side

scripting 

None of the choices

Your answer is correct.

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

Mark 1.00 out of Select one:


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

b. None of the choices

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

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

Your answer is correct.

Question 6 It acts as the placeholder for unknown or changing values.


Correct

Mark 1.00 out of Select one:


1.00
a. Functions

b. Arrays

c. Loops

d. Variable 

Your answer is correct.

Question 7 When would it be a good idea to use an external JavaScript file?


Correct

Mark 1.00 out of Select one:


1.00
a. When your Web site viewers have older browsers

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

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

d. None of the choices

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

Mark 1.00 out of Select one:


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

b. To create a typing script

c. None of the choices

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 9 JavaScript is _________.
Correct

Mark 1.00 out of Select one:


1.00
a. server-side language

b. object deficient

c. None of the choices

d. Object based 

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

Mark 1.00 out of Select one:


1.00
a. src

b. type 

c. id

d. None of the choices

Question 11 It holds multiple values.


Correct

Mark 1.00 out of Select one:


1.00
a. Functions

b. Variable

c. Arrays 

d. Loops

Your answer is correct.

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

Mark 1.00 out of Select one:


1.00
a. VBScript

b. Flash MX

c. JavaScript 

d. None of the choices

Question 13 In naming a variable in PHP what is the required Special Character?


Correct

Mark 1.00 out of Select one:


1.00
a. None of the choices

b. $ (Dollar Sign) 

c. & (Ampersand Sign)

d. @ (At Sign)

Your answer is correct.


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

Mark 1.00 out of Select one:


1.00
a. C++ compiler

b. 50GB hard drive

c. None of the choices

d. Web browser 

Question 15 Which of the following is not recommended feature in choosing a script editor?
Correct

Mark 1.00 out of Select one:


1.00
a. The Script Editor should have Syntax checking

b. The Script Editor should have Syntax checking

c. None of the Choices 

d. The Script Editor should have Line numbering

Your answer is correct.

Question 16 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.00 out of
1.00 Select one:
a. False 

b. True

Question 17 Part of the browser that understands JavaScript.


Correct

Mark 1.00 out of Select one:


1.00
a. None of the choices

b. JavaScript Compiler

c. Rendering Engine

d. JavaScript Interpreter 

Question 18 Which of the following is the open and closing tags of PHP?
Correct

Mark 1.00 out of Select one:


1.00
a. <?php    /?>

b. <?        /php>

c. None of the Choices

d. <?php     ?> 

Your answer is correct.


Question 19 It is a server side scripting language that is designed to be embedded because it is mixed in the HTML Markup.
Correct This Language can process and email contact forms, upload & file from online forms, generate thumbnails for
Mark 1.00 out of large images, watermark images, read and write files and communicate with a database.
1.00

Select one:
a. None of the choices

b. PHP 

c. CSS

d. JAVA

Your answer is correct.

Question 20 Is JavaScript code case sensitive?


Incorrect

Mark 0.00 out of Select one:


1.00
a. No

b. Yes 

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


Correct

Mark 1.00 out of Select one:


1.00
a. None of the choices 

b. period

c. colon

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


Incorrect

Mark 0.00 out of Select one:


1.00
a. True

b. False 

Question 23 Who developed the JavaScript?


Correct

Mark 1.00 out of Select one:


1.00
a. Tim Berners-Lee

b. None of the choices 

c. Dennis Ritchie

d. Bill Gates

Question 24 This are statements that make decision.


Correct

Mark 1.00 out of Select one:


1.00
a. Conditional Statement 

b. Loops

c. Functions

d. Variable

Your answer is correct.


Question 25 Which of the following is not a commenting style?
Correct

Mark 1.00 out of Select one:


1.00
a. //

b. /*                 */

c. %                   % 

d. #

Your answer is correct.

Question 26 In the process of PHP which what is the missing step?


Incorrect

Mark 0.00 out of 1st: The client browser sends a request to the Web Server
1.00
2nd: The Webserver will simply respond to the client if the page consist of HTML, CSS, Images and Javascript.
However, if the there is a PHP in the webpage, it will proceed to the 3rd step.
3rd: x x x x
4th: If there is a database involve the PHP engine will send the file to the database for processing.
5th: After the database have processed the file it will then return it to the PHP engine and the PHP Engine will
return it to the web server. The web server is the one responsible for sending it back to the client browser.

Select one:
a. The Webserver will then interpret the PHP Webpage and send it back to the Database.

b. None of the choices 

c. The Webserver will send the PHP webpage to the PHP Engine for processing.

d. The Webserver will then interpret the PHP Webpage and send it back to the Database.

Your answer is incorrect.

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


Correct

Mark 1.00 out of Select one:


1.00
a. .jav

b. None of the choices

c. .html

d. .js 

Question 28 This are statement that performs preset of tasks.


Correct

Mark 1.00 out of Select one:


1.00
a. Loops

b. Conditional Statement

c. Functions 

d. Variable

Your answer is correct.


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

Mark 1.00 out of Select one:


1.00
a. None of the choices

b. Rendering Engine 

c. JavaScript Interpreter

d. JavaScript Compiler

Question 30 This are statements that performs repetitive tasks.


Correct

Mark 1.00 out of Select one:


1.00
a. Loops 

b. Conditional Statement

c. Functions

d. Variable

Your answer is correct.

◄ Quiz 002 Jump to... Lesson 4: JavaScript Output ►

Potrebbero piacerti anche