Professional Documents
Culture Documents
Midterms - Attempt Review3 PDF
Midterms - Attempt Review3 PDF
c. object collection
d. object properties
b. $Flowers = array();
d. $Flowers = [];
Question 3 Which of the following variable declarations uses a variable with a valid variable name in JavaScript?
Correct
c. var 2cats;
d. var my dog;
b. link
c. frame
d. window
Question 5 Which of the following is not the file to access if you want to change your server's time?
Correct
b. index.php
c. user.ini
d. .htaccess
Question 6 In JavaScript, you access object properties through the use of the
Correct
c. multiplication operator
Question 7 Which of the following successfully prints a variable named myhobby by adding it to a set of strings?
Correct
Question 8 It is a function in the PHP that converts the string into Upper case.
Correct
b. strtoupper()
c. date()
d. array()
Question 9 To write a string of text on a Web page, the _________ method is used.
Correct
b. document.print()
c. window.print()
d. document,type()
Question 10 All object collections are supported by all browsers or browser versions.
Correct
b. False
Question 11 Which of the following indicates that a single line of commentary will follow it within JavaScript code?
Correct
b. //
d. <!--
b. True
Question 13 It is named value pairs that are stored in the browser and they're sent to the web server with each page request.
Correct
c. Session
d. Functions
c. method
d. name
Question 15 It is a function in the PHP that get the date of the server.
Correct
c. strtoupper()
d. array()
b. get
d. include
Question 17 It is a function in the PHP that check whether the variable has been set.
Correct
b. date()
c. isset()
b. win.alt("This is text");
c. window.alert('This is text");
d. window.alert("This is text);
Question 20 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
Correct URL.
Mark 2.00 out of
2.00 Select one:
a. None of the Choices
b. $_GET
c. ISSET()
d. $_POST
b. var PageNumber=240;
d. var pagenumber=240;
Question 22 It is a PHP function wherein the data will be transmitted to the server in the http header when the form is
Correct submitted for processing.
Mark 2.00 out of
2.00 Select one:
a. $_GET
c. $_POST
d. $_GET
Question 24 You should avoid using JavaScript reserved words as variable names.
Correct
b. True
b. document.write("Hello name!");
b. +
c. :
b. document.plugins
d. document.frames
b. window.bgcolor = blue
c. document.fgcolor = blue
d. document.write(color.blue)