Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

Question 

1
Answer saved
Marked out of 1.00

Flag question

Question text
The logical operator && stands for?

Select one:
a.
OR
b.
NOT
c.
AND
Clear my choice

Question 2
Answer saved
Marked out of 1.00

Flag question

Question text
Identification. Write your answer on the space provided.
Tag is used to group block-elements to format them with CSS.

<div>
Answer: 

Question 3
Answer saved
Marked out of 1.00
Flag question

Question text
Identification. Write your answer on the space provided.
&&, ||, ! are examples of what operator

logical operators
Answer: 

Question 4
Answer saved
Marked out of 1.00

Flag question

Question text

The following comparison condition would return TRUE or FALSE 3 <> 6)

Select one:
True
False

Question 5
Answer saved
Marked out of 1.00

Flag question

Question text
Identification. Write your answer on the space provided.
Which operator will check if two variables are the same?

==
Answer: 
Question 6
Answer saved
Marked out of 1.00

Flag question

Question text
Identification. Write your answer on the space provided.
=
The basic assignment operator in PHP is Answer

Question 7
Answer saved
Marked out of 1.00

Flag question

Question text
The logical operator || stands for?

Select one:
a.
NOT
b.
OR
c.
AND
Clear my choice

Question 8
Answer saved
Marked out of 1.00

Flag question
Question text
The logical operator ! stands for?

Select one:
a.
AND
b.
OR
c.
NOT
Clear my choice

Question 9
Answer saved
Marked out of 1.00

Flag question

Question text
The following example $x -= $y; is the same as?

Select one:
a.
$x = $y – $x;
b.
y = $y – $x;
c.
$y = $x – $y;
d.
$x = $x – $y;
Clear my choice

Question 10
Answer saved
Marked out of 1.00
Flag question

Question text
Identification. Write your answer on the space provided.
Symbol use as identical

===
Answer: 

Question 1
Not yet answered
Marked out of 1.00

Flag question

Question text
What will be the output of the following PHP code ?

Select one:
a.
infinite loop
b.
0
c.
Error
d.
No output
Clear my choice

Question 2
Not yet answered
Marked out of 1.00

Flag question

Question text
Multiple choice. Select the best answer.
What will be the output of the following PHP code ?
<?php
for($x=1;$x<10;++$x)
{
print"*\t";
}
?>
 

Select one:
a.
infinite loop
b.
*********
c.
**********
d.
***********
Clear my choice

Question 3
Not yet answered
Marked out of 1.00
Flag question

Question text
What will be the output of the following PHP code ?

Select one:
a.
1234567891011
b.
123456789101112
c.
12345678910
d.
infinite loop
Clear my choice

Question 4
Not yet answered
Marked out of 1.00

Flag question

Question text
Multiple choice. Select the best answer. What will be the output of the following PHP code ?
<?php
for($x=0;$x<=10;print++$x)
{
print++$x;
}
?>

Select one:
a.
1234567891011
b.
infinite loop
c.
12345678910
d.
123456789101112
Clear my choice

Question 5
Not yet answered
Marked out of 1.00

Flag question

Question text
What will be the output of the following PHP code ?

Select one:
a.
Error
b.
The number is: 0
c.
The number is: 0
The number is: 1
The number is: 2
The number is: 3
The number is: 4
The number is: 5
The number is: 6
The number is: 7
The number is: 8
The number is: 9
The number is: 10
d.
no Output
Clear my choice

Question 6
Not yet answered
Marked out of 1.00

Flag question

Question text
What will be the output of the following PHP code ?

Select one:
a.
No Output
b.
Johann
c.
JohannJeiven
d.
Jeiven
Clear my choice

Question 7
Not yet answered
Marked out of 1.00

Flag question

Question text
What will be the output of the following PHP code ?

Select one:
a.
abcd
b.
b
c.
error
d.
no output
Clear my choice

Question 8
Not yet answered
Marked out of 1.00

Flag question

Question text
What will be the output of the following PHP code ?

Select one:
a.
No output

b.
############

c.
##########

d.
########

Clear my choice

Question 9
Not yet answered
Marked out of 1.00
Flag question

Question text
Multiple choice. Select the best answer. 
What will be the output of the following PHP code ?
<?php
for($i++;$i==1;$i=2)
print"In for loop ";
print"After loop\n";
?>

Select one:
a.
infinite loop

b.
In for loopAfter for loop

c.
In for loop

d.
After for loop

Clear my choice

Question 10
Not yet answered
Marked out of 1.00

Flag question

Question text
What will be the output of the following PHP code ?
Select one:
a.
JohannJeiven
b.
Johann
c.
Error
d.
Jeiven
Clear my choice

Question 1
Not yet answered
Marked out of 1.00

Flag question

Question text
The "I" in MySQLi stands for

Select one:
a.
increase
b.
improve
c.
improved
d.
improvement
Clear my choice

Question 2
Not yet answered
Marked out of 1.00

Flag question

Question text
The ______ clause allows us to select only those rows in the result relation of the ____ clause
that satisfy a specified predicate.

Select one:
a.
Select, from
b.
From, select
c.
Where, from
d.
From, where
Clear my choice

Question 3
Not yet answered
Marked out of 1.00

Flag question

Question text
The result of a SELECT statement can contain duplicate rows.

Select one:
True
False
Question 4
Not yet answered
Marked out of 1.00

Flag question

Question text
MySQL runs on which operating systems?

Select one:
a.
Unix, Linux, Windows and others
b.
Linux and Mac OS-X only
c.
Unix and Linux only
d.
Any operating system at all
Clear my choice

Question 5
Not yet answered
Marked out of 1.00

Flag question

Question text
The "or die()" part of a MySQL command will execute if the connection fails?

Select one:
True
False

Question 6
Not yet answered
Marked out of 1.00
Flag question

Question text
Which one of the following statements should be used to include a file?

Select one:
a.
#include ;

b.
#include ‘filename’;

c.
include 'filename';
d.
@include 'filename';
Clear my choice

Question 7
Not yet answered
Marked out of 1.00

Flag question

Question text
Which one of the following databases has PHP supported almost since the beginning?

Select one:
a.
MYSQL
b.
SQL+
c.
Oracle Database
d.
SQL
Clear my choice

Question 8
Not yet answered
Marked out of 1.00

Flag question

Question text
To remove duplicate rows from the result set of a SELECT use the following keyword:

Select one:
a.
None of the above
b.
NO DUPLICATE
c.
DISTINCT
d.
UNIQUE
Clear my choice

Question 9
Not yet answered
Marked out of 1.00

Flag question

Question text
Which of the following can add a row to a table?

Select one:
a.
Insert
b.
Alter
c.
Add
d.
Update
Clear my choice

Question 10
Not yet answered
Marked out of 1.00

Flag question

Question text
The ________ clause is used to list the attributes desired in the result of a query.

Select one:
a.
Distinct
b.
Select
c.
Where
d.
From
Clear my choice

Question 1
Not yet answered
Marked out of 1.00

Flag question

Question text
Returns the status-number of a request if "OK"
Select one:
a.
200
b.
500
c.
400
d.
300
Clear my choice

Question 2
Not yet answered
Marked out of 1.00

Flag question

Question text
With SQL, how do you select all the columns from a table named "Persons"?

Select one:
a.
SELECT * FROM Persons
b.
SELECT [all] FROM Persons
c.
SELECT *.Persons
d.
SELECT Persons
Clear my choice

Question 3
Not yet answered
Marked out of 1.00
Flag question

Question text
What will be the output of the following code? If say date is 16/04/2017.

Select one:
a.
Today is 16April, 2017
b.
Today is 04-16-2017
c.
Today is April 16, 2017
d.
Today is 16-04-2017
Clear my choice

Question 4
Not yet answered
Marked out of 1.00

Flag question

Question text
Which one of the following denotes the default mysql date format?

Select one:
a.
M-D-YY
b.
MM-DD-YYYY
c.
YYYY-MM-DD
d.
None of the above
Clear my choice

Question 5
Not yet answered
Marked out of 1.00

Flag question

Question text
To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier
specified must be included.

Select one:
a.
ONLY
b.
UNIQUE
c.
SINGLE
d.
DISTINCT
Clear my choice

Question 6
Not yet answered
Marked out of 1.00

Flag question

Question text
Which of the following is the correct order of keywords for SQL SELECT statements?
Select one:
a.
SELECT, FROM, WHERE
b.
FROM, WHERE, SELECT
c.
SELECT,WHERE,FROM
d.
WHERE, FROM,SELECT
Clear my choice

Question 7
Not yet answered
Marked out of 1.00

Flag question

Question text
Which SQL statement is used to delete data from a database?

Select one:
a.
COLLAPSE
b.
None of the above
c.
REMOVE
d.
DELETE
Clear my choice

Question 8
Not yet answered
Marked out of 1.00
Flag question

Question text
Consider the following code snippet :

Select one:
a.
13
b.
14
c.
12
d.
10
Clear my choice

Question 9
Not yet answered
Marked out of 1.00

Flag question

Question text
Function trims all spaces from the right of a value
Select one:
a.
RightTrim()
b.
Trim()
c.
Trims()
d.
RTRIM()
Clear my choice

Question 10
Not yet answered
Marked out of 1.00

Flag question

Question text
Ajax Stands for

Select one:
a.
Asynchronous JavaScript And XML.
b.
Asynchronous JavaScript And XMLs.
c.
Asynchronous JavaScript And XHML.
d.
Asynchronous JavaScripts And XML.

You might also like