0% found this document useful (0 votes)
114 views

Quiz Answer Web

The document contains 11 multiple choice questions about JavaScript and other programming languages. The questions cover topics like the original name of JavaScript, what tag attributes and elements are used to include JavaScript code in an HTML document, whether JavaScript is case sensitive, and other basic JavaScript concepts.

Uploaded by

Jesse Jaucian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views

Quiz Answer Web

The document contains 11 multiple choice questions about JavaScript and other programming languages. The questions cover topics like the original name of JavaScript, what tag attributes and elements are used to include JavaScript code in an HTML document, whether JavaScript is case sensitive, and other basic JavaScript concepts.

Uploaded by

Jesse Jaucian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 33

What is the original name of JavaScript?

Select one:
a.
None of the choices
b.
Java
c.
Mocha
d.
LiveScript
Clear my choice

Question 2
Not yet answered
Marked out of 1

Flag question

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

Select one:
a.
None of the choices
b.
src
c.
id
d.
type
Clear my choice

Question 3
Not yet answered
Marked out of 1
Flag question

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

Select one:
a.
None of the choices
b.
C++ compiler
c.
Web browser
d.
50GB hard drive
Clear my choice

Question 4
Not yet answered
Marked out of 1

Flag question

Question text
JavaScript is _________.

Select one:
a.
object deficient
b.
server-side language
c.
None of the choices
d.
Object based
Clear my choice

Question 5
Not yet answered
Marked out of 1

Flag question

Question text
Is JavaScript code case sensitive?

Select one:
a.
No
b.
Yes
Clear my choice

Question 6
Not yet answered
Marked out of 1

Flag question

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

Select one:
a.
None of the choices
b.
period
c.
colon
Clear my choice
Question 7
Not yet answered
Marked out of 1

Flag question

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

Select one:
a.
CSS
b.
HTML
c.
None of the choices
d.
Java
Clear my choice

Question 8
Not yet answered
Marked out of 1

Flag question

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

Select one:
a.
VBScript
b.
Flash MX
c.
None of the choices
d.
JavaScript
Clear my choice

Question 9
Not yet answered
Marked out of 1

Flag question

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

Select one:
a.
To point to an external JavaScript file

b.
All of the choices

c.
To tell the browser where a script begins and ends

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

Clear my choice

Question 10
Not yet answered
Marked out of 1

Flag question

Question text
Active scripting is not a programing language instead it is a plain text interpreted to make a
dynamic and interactive web pages.
Select one:
a.
False
b.
True

Question 1
Complete
Mark 1 out of 1

Flag question

Question text
Who developed the JavaScript?

Select one:
a.
Bill Gates
b.
Tim Berners-Lee
c.
Dennis Ritchie
d.
None of the choices

Question 2
Complete
Mark 1 out of 1

Flag question

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

Select one:
programming

server-side

scripting

None of the choices


Feedback
Your answer is correct.

Question 3
Complete
Mark 1 out of 1

Flag question

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

Select one:
a.
None of the choices
b.
.js
c.
.jav
d.
.html

Question 4
Complete
Mark 1 out of 1
Flag question

Question text
Part of the browser that understands JavaScript.

Select one:
a.
None of the choices
b.
JavaScript Compiler
c.
JavaScript Interpreter
d.
Rendering Engine

Question 5
Complete
Mark 1 out of 1

Flag question

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

Select one:
a.
True
b.
False

Question 6
Complete
Mark 0 out of 1
Flag question

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

Select one:
a.
To create a typing script
b.
To let the browser know what type of coder you are
c.
To be sure the browser does not interpret your JavaScript as another scripting language and
to ensure the Web page validates in XHTML
d.
None of the choices

Question 7
Complete
Mark 1 out of 1

Flag question

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

Select one:
a.
When your Web site viewers have older browsers
b.
When the script is very long or needs to be placed in more than one HTML document
c.
None of the choices
d.
When the script is short or going to be used in only one HTML document
Question 8
Complete
Mark 1 out of 1

Flag question

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

Select one:
a.
True
b.
False

Question 9
Complete
Mark 0 out of 1

Flag question

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

Select one:
a.
JavaScript Interpreter
b.
JavaScript Compiler
c.
None of the choices
d.
Rendering Engine

Question 10
Complete
Mark 1 out of 1
Flag question

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

Select one:
a.
None of the choices

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

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

d.
<script type= "text/javascript" src="yourfile.js"></script>
Feedback
Your answer is correct.

Question 1
Not yet answered

Marked out of 1.00

Flag question

Question text
What is the purpose of the <script> and </script> tags? 
Select one:

a.

To let the browser know the scripting language to be used

b.
To point to an external JavaScript file

c.

All of the choices

d.

To tell the browser where a script begins and ends

Clear my choice

Question 2
Not yet answered

Marked out of 1.00

Flag question

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

1st: The client browser sends a request to the Web Server


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.

None of the choices

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

c.

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

d.

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

Clear my choice

Question 3
Not yet answered

Marked out of 1.00

Flag question

Question text
This is the command to display the value stored in the variable.
Select one:

a.

None of the choices

b.

cout>>

c.

Display

d.

Echo

Clear my choice

Question 4
Not yet answered

Marked out of 1.00

Flag question

Question text
Which of the following is not a commenting style?
Select one:

a.

 %                   %

b.

c.

/*                 */

d.

 //

Clear my choice

Question 5
Not yet answered

Marked out of 1.00

Flag question

Question text
JavaScript is _________.
Select one:

a.

object deficient

b.

server-side language

c.

Object based

d.

None of the choices

Clear my choice

Question 6
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.

CSS

b.

None of the choices


c.

HTML

d.

Java

Clear my choice

Question 7
Not yet answered

Marked out of 1.00

Flag question

Question text
Part of the browser that understands JavaScript.

Select one:

a.

Rendering Engine

b.

JavaScript Interpreter

c.

None of the choices

d.

JavaScript Compiler

Clear my choice
Question 8
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.

True

b.

False

Clear my choice

Question 9
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.
False

b.

True

Clear my choice

Question 10
Not yet answered

Marked out of 1.00

Flag question

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

a.

JAVA

b.

PHP

c.

CSS

d.

None of the choices

Clear my choice
Question 11
Not yet answered

Marked out of 1.00

Flag question

Question text
This are statements that performs repetitive tasks.
Select one:

a.

Loops

b.

Conditional Statement

c.

Variable

d.

Functions

Clear my choice

Question 12
Not yet answered

Marked out of 1.00

Flag question

Question text
It holds multiple values.
Select one:

a.

Functions

b.

Arrays

c.

Loops

d.

Variable

Clear my choice

Question 13
Not yet answered

Marked out of 1.00

Flag question

Question text
JavaScript is a _________ language that doesn't require a program to be compiled before it is
run.
Select one:

programming

server-side
scripting

None of the choices

Clear my choice

Question 14
Not yet answered

Marked out of 1.00

Flag question

Question text
Which of the following does not belong to the group?
Select one:

a.

public_html

b.

\\AMA-PC1\user

c.

htdocs

d.

www

Clear my choice

Question 15
Not yet answered
Marked out of 1.00

Flag question

Question text
It acts as the placeholder for unknown or changing values.
Select one:

a.

Variable

b.

Arrays

c.

Functions

d.

Loops

Clear my choice

Question 16
Not yet answered

Marked out of 1.00

Flag question

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

Select one:
a.

Flash MX

b.

JavaScript

c.

VBScript

d.

None of the choices

Clear my choice

Question 17
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.

None of the choices

b.

colon

c.
period

Clear my choice

Question 18
Not yet answered

Marked out of 1.00

Flag question

Question text
This are statements that make decision.
Select one:

a.

Functions

b.

Loops

c.

Conditional Statement

d.

Variable

Clear my choice

Question 19
Not yet answered

Marked out of 1.00


Flag question

Question text
Which of the following is a Free PHP Editor?
Select one:

a.

PhpED

b.

Dreamweaver

c.

Zend Studio

d.

Komodo Edit

Clear my choice

Question 20
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.
.html

b.

.jav

c.

.js

d.

None of the choices

Clear my choice

Question 21
Not yet answered

Marked out of 1.00

Flag question

Question text
Which of the following is not recommended feature in choosing a script editor?
Select one:

a.

None of the Choices

b.

 The Script Editor should have Syntax checking

c.

 The Script Editor should have Line numbering

d.
 The Script Editor should have Syntax checking

Clear my choice

Question 22
Not yet answered

Marked out of 1.00

Flag question

Question text
What is the original name of JavaScript?

Select one:

a.

None of the choices

b.

Java

c.

Mocha

d.

LiveScript

Clear my choice

Question 23
Not yet answered

Marked out of 1.00


Flag question

Question text
Is JavaScript code case sensitive?

Select one:

a.

Yes

b.

No

Clear my choice

Question 24
Not yet answered

Marked out of 1.00

Flag question

Question text
Which of the following correctly points to an external JavaScript file named yourfile.js? 
Select one:

a.

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

b.

None of the choices


c.

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

d.

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

Clear my choice

Question 25
Not yet answered

Marked out of 1.00

Flag question

Question text
Who developed the JavaScript?

Select one:

a.

Dennis Ritchie

b.

None of the choices

c.

Bill Gates

d.

Tim Berners-Lee

Clear my choice
Question 26
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.

To create a typing script

b.

To let the browser know what type of coder you are

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

Clear my choice

Question 27
Not yet answered

Marked out of 1.00


Flag question

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

Select one:

a.

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

b.

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

c.

When your Web site viewers have older browsers

d.

None of the choices

Clear my choice

Question 28
Not yet answered

Marked out of 1.00

Flag question

Question text
This are statement that performs preset of tasks.
Select one:
a.

Functions

b.

Conditional Statement

c.

Loops

d.

Variable

Clear my choice

Question 29
Not yet answered

Marked out of 1.00

Flag question

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

Select one:

a.

50GB hard drive

b.

None of the choices

c.

C++ compiler
d.

Web browser

Clear my choice

Question 30
Not yet answered

Marked out of 1.00

Flag question

Question text
Which of the following is the open and closing tags of PHP?
Select one:

a.

<?php     ?>

b.

<?        /php>

c.

None of the Choices

d.

<?php    /?>

You might also like