Quiz 002 - Attempt Review3 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 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, 10 January 2020, 2:04 PM


State Finished
Completed on Friday, 10 January 2020, 2:06 PM
Time taken 1 min 27 secs
Marks 10/10
Grade 100 out of 100

Question 1 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 2 It acts as the placeholder for unknown or changing values.


Correct

Mark 1 out of 1 Select one:


a. Variable 

b. Loops

c. Functions

d. Arrays

Your answer is correct.

Question 3 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. JAVA

b. None of the choices

c. CSS

d. PHP 

Your answer is correct.


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

Mark 1 out of 1 Select one:


a. None of the Choices 

b. The Script Editor should have Line numbering

c. The Script Editor should have Syntax checking

d. The Script Editor should have Syntax checking

Your answer is correct.

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


Correct

Mark 1 out of 1 Select one:


a. /*                 */

b. %                   % 

c. //

d. #

Your answer is correct.

Question 6 This are statement that performs preset of tasks.


Correct

Mark 1 out of 1 Select one:


a. Conditional Statement

b. Variable

c. Functions 

d. Loops

Your answer is correct.

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


Correct

Mark 1 out of 1 Select one:


a. None of the choices

b. $ (Dollar Sign) 

c. @ (At Sign)

d. & (Ampersand Sign)

Your answer is correct.


Question 8 How will you end a statement in PHP?
Correct

Mark 1 out of 1 Select one:


a. by putting a curly braces (})

b. by putting a dot (.)

c. by putting a semicolon (;) 

d. None of the choices

Your answer is correct.

Question 9 It holds multiple values.


Correct

Mark 1 out of 1 Select one:


a. Functions

b. Variable

c. Arrays 

d. Loops

Your answer is correct.

Question 10 This is the command to display the value stored in the variable.
Correct

Mark 1 out of 1 Select one:


a. None of the choices

b. Echo 

c. Display

d. cout>>

Your answer is correct.

◄ Lesson 3: Statements, Comments,


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

You might also like