Sunteți pe pagina 1din 4

Which of the following is not a commenting style?

% %
Active scripting is not a programing language instead it is a plain text
interpreted to make a dynamic and interactive web pages.

a. True

Is JavaScript code case sensitive?


a. Yes

Which of the following is the open and closing tags of PHP?

c. <?php ?>

Which of the following correctly points to an external JavaScript file named


yourfile.js?

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

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


b. .js

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

c. $ (Dollar Sign)

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


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

JavaScript is _________.

c. Object based

This are statements that make decision.


b. Conditional Statement

The _______ signals the end of a JavaScript statement.

c. None of the choices

It holds multiple values.


a. Arrays

This is the command to display the value stored in the variable.


d. Echo

This are statements that performs repetitive tasks.


b. Loops

This are statement that performs preset of tasks.


d. Conditional Statement
Which of the following does not belong to the group?
a. \\AMA-PC1\user

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.

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

Who developed the JavaScript?

c. None of the choices

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

How will you end a statement in PHP?


b. by putting a semicolon (;)

JavaScript has similarities to other programming and scripting languages.


a. True

Part of the web browser that understands HTML and CSS.

b. Rendering Engine

It acts as the placeholder for unknown or changing values.


a. Variable

What is the original name of JavaScript?


c. Mocha

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


b. The Script Editor should have Line numbering

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

b. True

Which of the following language is used to program the behavior of web pages?
a. None of the choices

Which of the following is a Free PHP Editor?


b. Komodo Edit

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


b. To point to an external JavaScript file

Why should you use the type attribute in the opening script tag?
None of the choices

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