0% found this document useful (0 votes)
290 views3 pages

Quiz 003 - Attempt Review3 PDF

The document summarizes a student's performance on a 10 question quiz about JavaScript output and PHP functions. The student answered all 10 questions correctly, completing the quiz in 2 minutes and 47 seconds and earning full marks of 10 out of 10 for a grade of 100.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
290 views3 pages

Quiz 003 - Attempt Review3 PDF

The document summarizes a student's performance on a 10 question quiz about JavaScript output and PHP functions. The student answered all 10 questions correctly, completing the quiz in 2 minutes and 47 seconds and earning full marks of 10 out of 10 for a grade of 100.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Dashboard / Courses / BLENDED 1923T.

B / BL-CS-301-LEC-1923T / Week 5: JavaScript Output / Quiz 003

Started on Wednesday, 13 November 2019, 1:56 PM


State Finished
Completed on Wednesday, 13 November 2019, 1:59 PM
Time taken 2 mins 47 secs
Marks 10/10
Grade 100 out of 100

Question 1 Which of the following successfully prints a variable named myhobby by adding it to a set of strings?
Correct

Mark 1 out of 1 Select one:


a. document.write("I like to +myhobby+ every weekend");

b. None of the choices

c. document.write("I like to myhobby every weekend");

d. document.write("I like to " +myhobby+ " every weekend"); 

Question 2 Which of the following statements would be valid in JavaScript?


Correct

Mark 1 out of 1 Select one:


a. document.write("John said, "Hi!"");

b. document.write('John said, "Hi!"");

c. document.write("John said, \"Hi!\""); 

d. None of the choices

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

Mark 1 out of 1 Select one:


a. Session

b. Cookies 

c. Functions

d. None of the Choices

Your answer is correct.

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

Mark 1 out of 1 Select one:


a. isset() 

b. date()

c. strtoupper()

d. None of the Choices

Your answer is correct.


Question 5 Which of the following is not an include statement?
Correct

Mark 1 out of 1 Select one:


a. <?php include 'include/external.php'; ?>

b. <?php include_all 'include/external.php' ?> 

c. <?php require 'include/external.php'; ?>

d. <?php include_once 'include/external.php'; ?>

Your answer is correct.

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

Mark 1 out of 1 Select one:


a. None of the Choices

b. include 

c. get

d. post

Your answer is correct.

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


Correct

Mark 1 out of 1 Select one:


a. $Flowers = array();

b. print_r($Flowers); 

c. None of the Choices

d. $Flowers = [];

Your answer is correct.

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

Mark 1 out of 1 Select one:


a. date() 

b. strtoupper()

c. None of the Choices

d. array()

Your answer is correct.

Question 9 Which of the following statements would be valid in JavaScript?


Correct

Mark 1 out of 1 Select one:


a. document.write("John said, "Hi!"");

b. document.write("John said, \"Hi!\""); 

c. None of the choices

d. document.write('John said, "Hi!"");


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

Mark 1 out of 1 Select one:


a. php.ini

b. .htaccess

c. index.php 

d. user.ini

Your answer is correct.

◄ Lesson 4: JavaScript Output Jump to... Lesson 5: Document Objects ►

You might also like