Sei sulla pagina 1di 3

Dashboard / Courses / BLENDED 1923T.

B / BL-CS-301-LEC-1923T
/ Week 3: Statements, Comments, Identifier, Data Types and Variables / Quiz 002

Started on Friday, 8 November 2019, 12:09 PM


State Finished
Completed on Friday, 8 November 2019, 12:10 PM
Time taken 1 min 47 secs
Marks 10/10
Grade 100 out of 100

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


Correct

Mark 1 out of 1 Select one:


a. & (Ampersand Sign)

b. @ (At Sign)

c. None of the choices

d. $ (Dollar Sign) 

Your answer is correct.

Question 2 It holds multiple values.


Correct

Mark 1 out of 1 Select one:


a. Loops

b. Arrays 

c. Variable

d. Functions

Your answer is correct.

Question 3 Which of the following is a Free PHP Editor?


Correct

Mark 1 out of 1 Select one:


a. PhpED

b. Zend Studio

c. Komodo Edit 

d. Dreamweaver

Your answer is correct.


Question 4 Which of the following does not belong to the group?
Correct

Mark 1 out of 1 Select one:


a. htdocs

b. www

c. public_html

d. \\AMA-PC1\user 

Your answer is correct.

Question 5 How will you end a statement in PHP?


Correct

Mark 1 out of 1 Select one:


a. by putting a semicolon (;) 

b. by putting a dot (.)

c. by putting a curly braces (})

d. None of the choices

Your answer is correct.

Question 6 This are statements that make decision.


Correct

Mark 1 out of 1 Select one:


a. Loops

b. Conditional Statement 

c. Functions

d. Variable

Your answer is correct.

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


Correct

Mark 1 out of 1 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. The Webserver will then interpret the PHP Webpage and send it back to the Database.

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

c. None of the choices

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

Your answer is correct.


Question 8 This are statements that performs repetitive tasks.
Correct

Mark 1 out of 1 Select one:


a. Variable

b. Loops 

c. Functions

d. Conditional Statement

Your answer is correct.

Question 9 Which of the following is the open and closing tags of PHP?
Correct

Mark 1 out of 1 Select one:


a. <?        /php>

b. None of the Choices

c. <?php     ?> 

d. <?php    /?>

Your answer is correct.

Question 10 It acts as the placeholder for unknown or changing values.


Correct

Mark 1 out of 1 Select one:


a. Functions

b. Loops

c. Arrays

d. Variable 

Your answer is correct.

◄ Lesson 3: Statements, Comments,


Jump to... Prelims ►
Identifier, Data Types and Variables

Potrebbero piacerti anche