Web Application Development 1

Web Application Development 1

This course focuses on the PHP scripting language and its application in building dynamic content for the web. Topics include PHP language basics, functions, writing structured code, and database connectivity. Students will explore techniques for writing effective PHP codes.



Question 1

Answer saved
Marked out of 1.00
Flag question

Question text

Originally PHP is known as PHP: Hypertext Preprocessor (Personal Home Page)
Select one:

Question 2

Answer saved
Marked out of 1.00
Flag question

Question text

Facebook, wordpress uses php as script language.
Select one:

Question 3

Answer saved
Marked out of 1.00
Flag question

Question text

The default file extension for PHP files is ".php".
Select one:

Question 4

Answer saved
Marked out of 1.00
Flag question

Question text

Andi Gutmans was the inventor of PHP.

Select one:

Question 5

Answer saved
Marked out of 1.00
Flag question

Question text

The default file extension for PHP files is ".php".
Select one:

Question 6

Answer saved
Marked out of 1.00
Flag question

Question text

PHP in now known as "PHP: Hypertexts Preprocessor"

Select one:

Question 7

Answer saved
Marked out of 1.00
Flag question

Question text

Using XAMPP server you can use SQL Server database.
Select one:

Question 8

Answer saved
Marked out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided. PHP version that enabled the filter extension by default Native JSON default

Question 9

Answer saved
Marked out of 1.00
Flag question

Question text

Originally PHP is known as "Personal Home Pages"

Select one:

Question 10

Answer saved
Marked out of 1.00
Flag question

Question text

PHP script tags ends with ?>;
Select one:

PHP is proprietary software.
Select one:

Question 2

Answer saved
Marked out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Year that PHP was officially called Personal Home Page Tools.

Question 3

Answer saved
Marked out of 1.00
Flag question

Question text

Version 4 of php supports global variables $Get etc. (v4.1)
Select one:

Question 4

Answer saved
Marked out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided. What functionality was added to PHP 5.1 as interface for accessing databases?

Question 5

Answer saved
Marked out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided. Year that PHP 3 was released.

Question 6

Answer saved
Marked out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided. PHP version that uses void return type, class constant visibility modifiers, null types

Question 7

Answer saved
Marked out of 1.00
Flag question

Question text

PHP development began in 1995.

Select one:

Question 8

Answer saved
Marked out of 1.00
Flag question

Question text

php.org is the official php resource.

Select one:

Question 9

Answer saved
Marked out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
What year did PHP began its development

Question 10

Answer saved
Marked out of 1.00
Flag question

Question text

PHP only runs in Apache web server.
Select one:

Question 1

Correct
Mark 1.00 out of 1.00
Flag question

Question text

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings
Select one:
 

Question 2

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Define styles for your documents, including the design, layout and variations in display for different devices and screen sizes.

Question 3

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Is allowed us to collect data from the htm file and display to the php script.

Question 4

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided. A variable declared within a function

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
PHP variables starts with what symbol.

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.

Area that can be specified by the cols and rows attributes, or even better; through CSS' height and width properties.

Question 7

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Element can be placed onto a web page in a pre-checked fashion by setting the checked attribute

Question 8

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
One of the main points of interaction between a user and a web site or application. They allow users to send data to the web site.

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

PHP can be run on Microsoft Windows IIS(Internet Information Server):
Select one:
 

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Option buttons are also called Selection button
Select one:
 

Question 2

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
element represents a control that presents a menu of options.

Question 3

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Script use in every php code.
(Note : No spaces needed)

Question 4

Correct
Mark 1.00 out of 1.00
Flag question

Question text

PHP variables start with what symbol ?
Select one:

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Symbol use to append data or string

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

It refers to styles for your documents, including the design, layout and variations in display for different devices and screen sizes.
Select one:

Question 7

Correct
Mark 1.00 out of 1.00
Flag question

Question text

It uses spec cols and rows attributes, or even better; through CSS' height and width properties.
Select one:

Question 8

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Using the $_POST is allowed us to collect data from the htm file and display to the php script
Select one:
 

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Function that is used to check whether a variable is set or not.
Select one:

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Storage of data in PHP

Question 1

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Define styles for your documents, including the design, layout and variations in display for different devices and screen sizes.

Question 2

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Element can be placed onto a web page in a pre-checked fashion by setting the checked attribute

Question 3

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
a tag that defines a multi-line text input control.

Question 4

Correct
Mark 1.00 out of 1.00
Flag question

Question text

represents a control that presents a menu of options.
Select one:

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Is a line that is not read/executed as part of the program.

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
function is used to display structured information (type and value) about one or more variables.

Question 7

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Symbol used to combine 2 sting values to create one string.

Question 8

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Other term use for Option buttons?

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

It uses spec cols and rows attributes, or even better; through CSS' height and width properties.
Select one:

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
One of the main points of interaction between a user and a web site or application. They allow users to send data to the web site.

Identification. Write your answer on the space provided.
Storage of data in PHP

Question 2

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Is a line that is not read/executed as part of the program.

Question 3

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.

Can hold an unlimited number of characters, and the text renders in a fixed-width font

Question 4

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.

Two ways on how to print / display text on the screen

(Note : Seperate answers with ;)

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Symbol used to combine 2 sting values to create one string.

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
function is used to display structured information (type and value) about one or more variables.

Question 7

Correct
Mark 1.00 out of 1.00
Flag question

Question text

A line of php code must end with a ?
Select one:

Question 8

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided.
Other term use for Option buttons?

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Identification. Write your answer on the space provided. A variable declared outside a function

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

represents a control that presents a menu of options.
Select one:

Question 1

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

Which of the following is the incorrect way to declare a PHP variable?

Select one:

Question 2

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
How do you write "Hello World" in PHP
Select one:

Question 3

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
The PHP syntax is most similar to:
Select one:

Question 4

Correct
Mark 1.00 out of 1.00
Flag question

Question text

How do you start the shorthand form PHP scripting block?

Select one:

Feedback

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False. Select the best answer

Syntax is a set of rules that must be followed to write properly structured code?

Select one:
 

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
All variables in PHP start with which symbol?
Select one:

Question 7

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
If a source file contains PHP code, what extension should be used?
Select one:

Question 8

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:

 

Select one: Good Luck! 😂

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
PHP can be run on Microsoft Windows IIS(Internet Information Server):
Select one:
 

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What does a semicolon signify at the end of a instruction or statement?
Select one:

Question 11

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
All text to the right of a single line comment is not ignored?
Select one:
 

Question 12

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
Writing comments is considered a bad programming practice?
Select one:
 

Question 13

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

Which is the correct way to write a multiple line PHP comment?

Select one:

Question 14

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
Whitespace is not ignored in PHP?
Select one:
 

Question 15

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What does PHP stand for?
Select one:

Question 16

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

Which is the incorrect way to start a single line PHP comment?

Select one:

Question 17

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What data type will PHP automatically convert the following variable to:?

$aVariable = 99;

Select one:

Feedback

Question 18

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
Which one of these variables has an illegal name?
Select one:

Question 19

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
The echo command is a means of outputting text to the web browser?
Select one:
 

Question 20

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
PHP variables are case-sensitive?
Select one:
 

Question 21

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

What is the correct way to end a PHP statement?

Select one:

Question 22

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice.  Select the best answer

PHP server scripts are surrounded by delimiters, which?

Select one:

Feedback

Question 23

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
All variables in PHP start with a $(dollar) sign?
Select one:
 

Question 24

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
How do you start the standard form PHP scripting block?

Select one:

Feedback

Question 25

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What data type will PHP automatically convert the following variable to:
$aVariable = "Robert";

Select one:

Feedback

Question 26

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
How many single line commenting types are there?
Select one:

Question 27

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
In PHP, the only way to output text is with echo.
Select one:
 

Question 28

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
All text in a multiple line comment block is ignored?
Select one:
 

Question 29

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
When a variable is declared, it can only be used 1 time in your PHP source file?
Select one:
 

Question 30

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
For maximum compatibility, you should use the shorthand form to create PHP scripts?
Select one:
 

Question 1

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
PHP variables are case-sensitive?
Select one:
 

Question 2

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

Which is the correct way to write a multiple line PHP comment?

Select one:

Question 3

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
PHP can be run on Microsoft Windows IIS(Internet Information Server):
Select one:
 

Question 4

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False.
When using the POST method, variables are displayed in the URL:
Select one:
 

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

How do you start the shorthand form PHP scripting block?

Select one:

Feedback

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False. Select the best answer

Syntax is a set of rules that must be followed to write properly structured code?

Select one:
 

Question 7

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
The echo command is a means of outputting text to the web browser?
Select one:
 

Question 8

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
If a source file contains PHP code, what extension should be used?
Select one:

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
All variables in PHP start with a $(dollar) sign?
Select one:
 

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
Look at the following code and determine what will be displayed in the browser:
<?php
echo "Hello World 1";
// echo "Hello World 2";
?>

Select one:

Feedback

Question 11

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
How do you write "Hello World" in PHP
Select one:

Question 12

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
How many single line commenting types are there?
Select one:

Question 13

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What data type will PHP automatically convert the following variable to:
$aVariable = "Robert";

Select one:

Feedback

Question 14

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False. Select the best answer

PHP variables need to be declared before adding a value to it?

Select one:
 

Question 15

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

What is the correct way to end a PHP statement?

Select one:

Question 16

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What does a semicolon signify at the end of a instruction or statement?
Select one:

Question 17

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
Writing comments is considered a bad programming practice?
Select one:
 

Question 18

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
The PHP syntax is most similar to:
Select one:

Question 19

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

Which of the following is the incorrect way to declare a PHP variable?

Select one:

Question 20

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
In PHP, the only way to output text is with echo.
Select one:
 

Question 21

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
All variables in PHP start with which symbol?
Select one:

Question 22

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What does PHP stand for?
Select one:

Question 23

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
How do you start the standard form PHP scripting block?

Select one:

Feedback

Question 24

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
What data type will PHP automatically convert the following variable to:?

$aVariable = 99;

Select one:

Feedback

Question 25

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer
Which one of these variables has an illegal name?
Select one:

Question 26

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
All text in a multiple line comment block is ignored?
Select one:
 

Question 27

Correct
Mark 1.00 out of 1.00
Flag question

Question text

True or False
When a variable is declared, it can only be used 1 time in your PHP source file?
Select one:
 

Question 29

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice. Select the best answer

Which of the following is the incorrect way to declare a PHP variable?

Select one:

Question 30

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Multiple Choice.  Select the best answer

PHP server scripts are surrounded by delimiters, which?

Select one:

Feedback