Web systems technologies

Web systems technologies
Pq1-Pq2-Pxam
Mq1-Mq2-Mxam
Fq1-Fq2-Fxam



Question text

The getMonth() method returns the same number as the number that represents the current month (for example, returns 1 if the current month is January).
Select one:

Question text

It is a function in the PHP that converts the string into Upper case.

Select one:

Question text

It is a PHP function wherein it adds the input data as series of name value pairs in a query string at the end of the URL.

Select one:

Question text

Each object in JavaScript has properties associated with it.
Select one:

Question text

What are two of the benefits of using variables?
Select one:

Question text

It holds multiple values.

Select one:

Question text

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

Question text

What is the output of the script below? 
<script>
var str = "HELLO WORLD";
document.write(str.charAt(1));
</script>

Select one:

Question text

Which of the following is not a commenting style?

Select one:

Question text

Rather than executing every single line of code within the script, a conditional statement allows certain sections of the script to be executed only when a particular condition is met.
Select one:

Question text

Which of the following language is used to program the behavior of web pages?
Select one:

Question text

How will you end a statement in PHP?

Select one:

Question text

What does the following code do?
var s_list= new Array()
Select one:

Question text

Which of the following is not an include statement?

Select one:

Question text

What property of the Array object will return the numeric value of the length of an array?
Select one:

Question text

Which of the following is a valid name for an array?
Select one:

Question text

Which of the following does not correctly create an array?
Select one:

Question text

Variable names are not case sensitive.
Select one:

Question text

What does an assignment operator do?
Select one:

Question text

What are two reasons why a function can be useful?
Select one:

Question text

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

Select one:

Question text

What is the result of the script below? 

<script>
var x = 0;
var e = "gsbatingggl.x";
var domain = "";
for(var ctr = 0; ctr < e.length; ctr++)
{
if(e[ctr] == "@")
{
domain = e.substring(ctr);
if((domain == "@yahoo.com.ph") ||
(domain == "@yahoo.com") ||
(domain == "@edu.gov"))
{
x++1;
}
}
}
document.write(x);
</script>

Select one:

Question text

JavaScript is _________.
Select one:

Question text

What is the result of the script below?
<script>
var n = ["Maria", "Isabella", "Georgina"];
n.shift();
n.unshift("Maria");
document.writeNo;
</script>

Select one:

Question text

Function names are case sensitive.
Select one:

Question text

Which of these would be valid as the first line of a for loop?

Select one:

Question text

Part of the web browser that understands HTML and CSS.
Select one:

Question text

Which of the following is not a JavaScript object?
Select one:

Question text

Which of the following variable declarations uses a variable with a valid variable name in JavaScript?
Select one:

Question text

Which of the following string declarations is invalid?
Select one:

Question text

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

Question text

In JavaScript, you access object properties through the use of the
Select one:

Question text

Which of the following is not a JavaScript operator?

Select one:

Question text

The keydown event occurs when a viewer presses down a key on the keyboard.
Select one:

Question text

To declare a function, you use the reserved word ________.
Select one:

Question text

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

Select one:

Question text

Which of the following is something you should have to use the JavaScript?
Select one:

Question text

If a = 5 and b = a++ + 10 * 3, what is the value of y?

Select one:

Question text

JavaScript has similarities to other programming and scripting languages.
Select one:

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:

Question text

Which of the following indicates that a single line of commentary will follow it within JavaScript code?
Select one:

Question text

The _______ signals the end of a JavaScript statement.
Select one:

Question text

An event handler is a predefined JavaScript property of an object that is used to handle an event on a Web page.
Select one:

Question text

Why should you use the type attribute in the opening script tag?
Select one:

Question text

Who developed the JavaScript?
Select one:

Question text

Which of the following correctly calls myFunction() whenever a user clicks a button?

Select one:

Question text

It is the command used to incorporate an external page into your html.

Select one:

Question text

How do you write "Hello World" in an alert box?

Select one:

Question text

Which of the following correctly assigns the day of the week for an instance of the Date object named rightnow to a variable named weekday?
Select one:

Question text

Which of the following is a valid use of the window.alert() method?
Select one:

Question text

An event handler is a predefined JavaScript property of an object that is used to handle an event on a Web page.
Select one:

Question text

What does an assignment operator do?
Select one:

Question text

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

Select one:

Question text

Is an object collection for all internal frames in the document.
Select one:

Question text

This are statements that performs repetitive tasks.

Select one:

Question text

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

Select one:

Question text

What does a comparison operator do?
Select one:

Question text

Which of the following is not an include statement?

Select one:

Question text

What surrounds the code inside a function? 

Select one:

Question text

Which of the following does not correctly create an array?
Select one:

Question text

Variable names are not case sensitive.
Select one:

Question text

Part of the browser that understands JavaScript.
Select one:

Question text

Each object in JavaScript has properties associated with it.
Select one:

Question text

Which of the following would correctly generate a random number between 0 and 7?

Select one:

Question text

Which of the following does not belong to the group?

Select one:

Question text

Which of the following comparisons will return false?

Select one:

Question text

Which of the following correctly assigns the result of a function named get_something () to a variable named shopping?

Select one:

Question text

The getMonth() method returns the same number as the number that represents the current month (for example, returns 1 if the current month is January).
Select one:

Question text

Function names are case sensitive.
Select one:

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:

Question text

Which of the following would correctly write the value of pi on a Web page?
Select one:

Question text

Which of the following is not a commenting style?

Select one:

Question text

It is named value pairs that are stored in the browser and they're sent to the web server with each page request.

Select one:

Question text

The external JavaScript file must contain the <script> tag.

Select one:

Question text

What property of the Array object will return the numeric value of the length of an array?
Select one:

Question text

What is the result of the script below?
<script>
var greeting;
var time = 10;
if (time < 10) {
greeting = "Good morning";
} else if (time < 20) {
greeting = "Good day";
} else {
greeting = "Good evening";
}
document.write(greeting);
</script>

Select one:

Question text

Which of these would be valid as the first line of a for loop?

Select one:

Question text

JavaScript reserved words can be used as function names.
Select one:

Question text

Which of the following is not the file to access if you want to change your server's time?

Select one:

Question text

It is a function in the PHP that get the date of the server.

Select one:

Question text

In JavaScript, you access object properties through the use of the
Select one:

Question text

A mouseover event occurs when:
Select one:

Question text

This are statement that performs preset of tasks.

Select one:

Question text

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

Question text

What is the output of the script below? 
<script>
var str = "HELLO WORLD";
document.write(str.charAt(1));
</script>

Select one:

Question text

The keydown event occurs when a viewer presses down a key on the keyboard.
Select one:

Question text

It is a function in the PHP that check whether the variable has been set.

Select one:

Question text

Rather than executing every single line of code within the script, a conditional statement allows certain sections of the script to be executed only when a particular condition is met.
Select one:

Question text

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

Question text

Refers to an array of all objects of a particular type.
Select one:

Question text

Which of the following declares a variable named pagenumber and gives it a value of 240?
Select one:

Question text

Where should we write the event handler?
Select one:

Question text

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

Select one:

Question text

You should avoid using JavaScript reserved words as variable names.
Select one:

Question text

It acts as the placeholder for unknown or changing values.

Select one:

Question text

Which of the following successfully prints a variable named name by adding it to a set of strings?
Select one:

Question text

JavaScript has similarities to other programming and scripting languages.
Select one:

Question text

Part of the web browser that understands HTML and CSS.
Select one:

Question text

The script tag's attribute that tells the browser the language of the script.
Select one:

Question text

Which of the following will correctly access the fifth element of an array named "age"?
Select one:

Question text

To declare a function, you use the reserved word ________.
Select one:

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:

Question text

Which of the following successfully prints a variable named myhobby by adding it to a set of strings?
Select one:

Question text

Which of the following is a Free PHP Editor?

Select one:

Question text

What is the result of the script below?
<script>
var n = ["Maria", "Isabella", "Georgina"];
var new_n = n.pop();
document.write(new_n);
</script>

Select one:

Question text

The mousedown event uses what keyword as its event handler?
Select one:

Question text

Which of the following statements would be valid in JavaScript?
Select one:

Question text

It is a PHP function wherein it adds the input data as series of name value pairs in a query string at the end of the URL.

Select one:

Question text

It holds multiple values.

Select one:

Question text

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

Question text

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

Select one:

Question text

The _______ signals the end of a JavaScript statement.
Select one:

Question text

Which of the following language is used to program the behavior of web pages?
Select one:

Question text

Which of the following would be valid as the first line of an if/else statement?

Select one:

Question text

Which of the following correctly calls a function named major_alert() inside the onfocus event handler?

Select one:

Question text

All object collections are supported by all browsers or browser versions.
Select one:

Question text

Is JavaScript code case sensitive?
Select one:

Question text

How many times can you nest a code block within another?
Select one:

Question text

What is the result of the script below? 

<script>
var x = 0;
var e = "gsbatingggl.x";
var domain = "";
for(var ctr = 0; ctr < e.length; ctr++)
{
if(e[ctr] == "@")
{
domain = e.substring(ctr);
if((domain == "@yahoo.com.ph") ||
(domain == "@yahoo.com") ||
(domain == "@edu.gov"))
{
x++1;
}
}
}
document.write(x);
</script>

Select one:

Question text

Which of the following is something you should have to use the JavaScript?
Select one:

Question text

Which of the following statements will return false?

Select one:

Question text

It is a function that display the content of the array.

Select one:

Question text

What do the properties and methods of the Math object enable you to do?
Select one:

Question text

What do you use to enclose the blocks of code in conditionals and loops?
Select one:

Question text

A mouseout event occurs when a viewer clicks an element on the page.
Select one:

Question text

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

Question text

Which of the following would be valid as the first line of an if/else statement?

Select one:

Question text

What is the output of the script below?   <script> var text1 = "Hello"; var text2 = "World!"; document.write(text1.concat(" ",text2));

Select one:

Question text

Is a property use to display document within the frame.
Select one:

Question text

Which of the following variable declarations uses a variable with a valid variable name in JavaScript?
Select one:

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:

Question text

Which of the following would be a valid function name in JavaScript?
Select one:

Question text

Which of the following comparisons will return true?

Select one:

Question text

Which of the following string declarations is invalid?
Select one:

Question text

What is the original name of JavaScript?
Select one:

Question text

It is a function in the PHP that converts the string into Upper case.

Select one:

Question text

Which of the following is a valid name for an array?
Select one:

Question text

Which of the following statements will return true?

Select one:

Question text

This are statements that make decision.

Select one:

Question text

What is the result of the script below?
<script>
var n = ["Maria", "Isabella", "Georgina"];
n.shift();
n.unshift("Maria");
document.writeNo;
</script>

Select one:

Question text

Which of the following will correctly access the fifth element of an array named "age"?
Select one:

Question text

Which of the following does not correctly create an array?
Select one:

Question text

Which of these would be valid as the first line of a for loop?

Select one:

Question text

How many times can you nest a code block within another?
Select one:

Question text

What is the result of the script below? 

<script>
var x = 0;
var e = "gsbatingggl.x";
var domain = "";
for(var ctr = 0; ctr < e.length; ctr++)
{
if(e[ctr] == "@")
{
domain = e.substring(ctr);
if((domain == "@yahoo.com.ph") ||
(domain == "@yahoo.com") ||
(domain == "@edu.gov"))
{
x++1;
}
}
}
document.write(x);
</script>

Select one:

Question text

Rather than executing every single line of code within the script, a conditional statement allows certain sections of the script to be executed only when a particular condition is met.
Select one:

Question text

Which of the following is a valid name for an array?
Select one:

Question text

Which of the following would be valid as the first line of an if/else statement?

Select one:

Question text

What do you use to enclose the blocks of code in conditionals and loops?
Select one:

Question text

What is the output of the script below?   <script> var text1 = "Hello"; var text2 = "World!"; document.write(text1.concat(" ",text2));

Select one:

Question text

Which of the following is not a JavaScript operator?

Select one:

Question text

The external JavaScript file must contain the <script> tag.

Select one:

Question text

Which of the following comparisons will return true?

Select one:

Question text

Which of the following comparisons will return false?

Select one:

Question text

Which of the following correctly assigns the day of the week for an instance of the Date object named rightnow to a variable named weekday?
Select one:

Question text

What is the output of the script below? 
<script>
var str = "HELLO WORLD";
document.write(str.charAt(1));
</script>

Select one:

Question text

Which of the following would correctly generate a random number between 0 and 7?

Select one:

Question text

What does a comparison operator do?
Select one:

Question text

Which of the following statements will return false?

Select one:

Question text

Which of the following string declarations is invalid?
Select one:

Question text

It is a PHP function wherein the data will be transmitted to the server in the http header when the form is submitted for processing.

Select one:

Question text

In JavaScript, you access object properties through the use of the
Select one:

Question text

It is named value pairs that are stored in the browser and they're sent to the web server with each page request.

Select one:

Question text

Each object in JavaScript has properties associated with it.
Select one:

Question text

Which of the following statements would be valid in JavaScript?
Select one:

Question text

To write a string of text on a Web page, the _________ method is used.
Select one:

Question text

You should avoid using JavaScript reserved words as variable names.
Select one:

Question text

It is a function in the PHP that check whether the variable has been set.

Select one:

Question text

Which of the following is not a JavaScript object?
Select one:

Question text

It is a function in the PHP that converts the string into Upper case.

Select one:

Question text

Which of the following variable declarations uses a variable with a valid variable name in JavaScript?
Select one:

Question text

Is a property use to display document within the frame.
Select one:

Question text

Which of the following is not an include statement?

Select one:

Question text

Which of the following indicates that a single line of commentary will follow it within JavaScript code?
Select one:

Question text

Which of the following statements would be valid in JavaScript?
Select one:

Question text

Is an object collection for all internal frames in the document.
Select one:

Question text

Which of the following is not the file to access if you want to change your server's time?

Select one:

Question text

It is a function that display the content of the array.

Select one:

Question text

It is the command used to incorporate an external page into your html.

Select one:

Question text

Which of the following declares a variable named pagenumber and gives it a value of 240?
Select one:

Question text

What are two of the benefits of using variables?
Select one:

Question text

Variable names are not case sensitive.
Select one:

Question text

Refers to an array of all objects of a particular type.
Select one:

Question text

Is use to change the color of the web page to blue.
Select one:

Question text

All object collections are supported by all browsers or browser versions.
Select one:

Question text

Which of the following is a valid use of the window.alert() method?
Select one:

Question text

It is a function in the PHP that get the date of the server.

Select one:

Question text

What symbol is used as the assignment operator in JavaScript?
Select one:

Question text

Which of the following successfully prints a variable named name by adding it to a set of strings?
Select one:

Question text

In installing individual components for Windows, you download all components from vendors.

Select one:
 

Question text

For Linux installation of the individual components, you have to use the Apt-Get which is a GUI based program installed in Linux.

Select one:
 

Question text

OSX has Apache and PHP included in its Operating System.

Select one:
 

Question text

It is a collection of individual data items that are stored in a highly structured way that represetnts a model of reality.

Select one:

Question text

A system of tools that package up all three components into a single application so that we can develop within.

Select one:

Question text

Is use to change the color of the web page to blue.
Select one:

Question text

Is an object collection for all internal frames in the document.
Select one:

Question text

Is a property use to display document within the frame.
Select one:

Question text

Each object in JavaScript has properties associated with it.
Select one:

Question text

All object collections are supported by all browsers or browser versions.
Select one:

Question text

Which of the following is not a JavaScript object?
Select one:

Question text

In JavaScript, you access object properties through the use of the
Select one:

Question text

Refers to an array of all objects of a particular type.
Select one:

Question text

Web Applications are built with multi-tier architecture.

Select one:
 

Question text

Web browser such as IE/Chrome/Safari/Opera is part of the client tier. This renders HTML, Images and CSS. It also executes client-side codes such as javascripts and plugins.

Select one:
 

Question text

Server Stack is composed of server based software that runs together such as HTTP Server, Application Server and Database Server.

Select one:
 

Question text

The fastest way to install your AMP Stack is to use either WAMP Server or the MAMP Server.

Select one:
 

Question text

PHP and ASP.net are example of Application Server.

Select one:
 

Question text

Which of the following statements would be valid in JavaScript?
Select one:

Question text

It is the command used to incorporate an external page into your html.

Select one:

Question text

Which of the following indicates that a single line of commentary will follow it within JavaScript code?
Select one:

Question text

It is a function in the PHP that check whether the variable has been set.

Select one:

Question text

It is a function in the PHP that converts the string into Upper case.

Select one:

Question text

Which of the following successfully prints a variable named myhobby by adding it to a set of strings?
Select one:

Question text

Which of the following string declarations is invalid?
Select one:

Question text

Which of the following successfully prints a variable named name by adding it to a set of strings?
Select one:

Question text

Which of the following is not the file to access if you want to change your server's time?

Select one:

Question text

Which of the following declares a variable named pagenumber and gives it a value of 240?
Select one:

Question text

Which of the following is a Free PHP Editor?

Select one:

Question text

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

Select one:

Question text

How will you end a statement in PHP?

Select one:

Question text

The script tag's attribute that tells the browser the language of the script.
Select one: