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 Tuesday, 22 October 2019, 4:03 PM


State Finished
Completed on Tuesday, 22 October 2019, 4:17 PM
Time taken 13 mins 49 secs
Marks 6/10
Grade 60 out of 100

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

Mark 1 out of 1 Select one:


a. The Script Editor should have Syntax checking

b. The Script Editor should have Syntax checking

c. The Script Editor should have Line numbering

d. None of the Choices 

Your answer is correct.

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


Correct

Mark 1 out of 1 Select one:


a. Komodo Edit 

b. Zend Studio

c. PhpED

d. Dreamweaver

Your answer is correct.

Question 3 Which of the following is not a commenting style?


Incorrect

Mark 0 out of 1 Select one:


a. /*                 */

b. %                   %

c. // 

d. #

Your answer is incorrect.


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

Mark 0 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 send the PHP webpage to the PHP Engine for processing.

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

d. None of the choices

Your answer is incorrect.

Question 5 It is a server side scripting language that is designed to be embedded because it is mixed in the HTML Markup.
Correct This Language can process and email contact forms, upload & file from online forms, generate thumbnails for
Mark 1 out of 1 large images, watermark images, read and write files and communicate with a database.

Select one:
a. CSS

b. JAVA

c. PHP 

d. None of the choices

Your answer is correct.

Question 6 This is the command to display the value stored in the variable.
Incorrect

Mark 0 out of 1 Select one:


a. Echo

b. None of the choices

c. Display 

d. cout>>

Your answer is incorrect.

Question 7 This are statements that performs repetitive tasks.


Correct

Mark 1 out of 1 Select one:


a. Conditional Statement

b. Loops 

c. Functions

d. Variable

Your answer is correct.


Question 8 This are statements that make decision.
Correct

Mark 1 out of 1 Select one:


a. Functions

b. Loops

c. Conditional Statement 

d. Variable

Your answer is correct.

Question 9 Which of the following does not belong to the group?


Correct

Mark 1 out of 1 Select one:


a. www

b. public_html

c. htdocs

d. \\AMA-PC1\user 

Your answer is correct.

Question 10 This are statement that performs preset of tasks.


Incorrect

Mark 0 out of 1 Select one:


a. Functions

b. Variable

c. Conditional Statement 

d. Loops

Your answer is incorrect.

◄ Lesson 3: Statements, Comments,


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

Potrebbero piacerti anche