PHP M1-M2
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
show | %b
🗑
|
||||
show |
True
🗑
|
||||
Term used to combine two or more different strings Group of answer choices Combine Concatenate Concreate Plus | show 🗑
|
||||
show |
localhost
🗑
|
||||
Are used as a container for the values that can be used and manipulate PHP scripts Group of answer choices Variable Symbols Numbers Letters | show 🗑
|
||||
Which of the following is not part of Web Architecture? Group of answer choices Database Page Request USB connection Internet | show 🗑
|
||||
show |
MyServ
🗑
|
||||
Symbol for single line comment Group of answer choices // << ,, >> | show 🗑
|
||||
recursive acronym for PHP Group of answer choices Hypertext Preprocessor Hyperline Preprocessor Highlight Processor Hightext Processor | show 🗑
|
||||
show |
True
🗑
|
||||
show |
False
🗑
|
||||
What is OS? Group of answer choices Out System Operating System Operation System Outgoing System | show 🗑
|
||||
show |
‘’
🗑
|
||||
show |
Personal Home Page
🗑
|
||||
PHP created 1994/1995 t know how many visitors were reading his online resume based on Group of answer choices CSS page JavaScript page PERL/CGI script HTML page | show 🗑
|
||||
Ternary format Group of answer choices ($a == 10)?5 (10 == $a):?1 (5 == f):: ($a == 12) ? 5 : 1 | show 🗑
|
||||
show |
Rank C
🗑
|
||||
show | True
🗑
|
||||
show |
Right
🗑
|
||||
Symbol for division Group of answer choices =/ ? \ / | show 🗑
|
||||
Symbol for AND operator Group of answer choices || && $$ %% | show 🗑
|
||||
You can only use 50 cases for the switch Group of answer choices False True | show 🗑
|
||||
Syntax for if statement Group of answer choices If(expression){statement..} Statement…if(expression) (expression)if{statement…} Expression…if(statement) | show 🗑
|
||||
show |
&&||
🗑
|
||||
There is always default inside of the switch Group of answer choices True False | show 🗑
|
||||
There will be an error if there is no break inside of the switch case Group of answer choices True False | show 🗑
|
||||
show |
++
🗑
|
||||
show |
+=
🗑
|
||||
if(expression) { statement… } else { statement } How many condition/s Group of answer choices 1 4 2 3 | show 🗑
|
||||
Symbol for less than or equal to Group of answer choices <= > >= < | show 🗑
|
||||
show |
True
🗑
|
||||
show |
1997
🗑
|
||||
Variables in PHP must begin with Group of answer choices $ @ # ! | show 🗑
|
||||
show |
Echo
🗑
|
||||
show |
True
🗑
|
||||
One of the Core developers of PHP 4.0 Group of answer choices Zeeb Suraski Zeev Sumaki Zeeb Suraki Zeev Suraski | show 🗑
|
||||
How many domains installed in PHP 5 Group of answer choices 12 million 15 million 19 million 10 million | show 🗑
|
||||
show |
False
🗑
|
||||
show |
Valid
🗑
|
||||
show |
PHP5
🗑
|
||||
show |
Valid
🗑
|
||||
$age is a valid variable Group of answer choices False True | show 🗑
|
||||
show |
/**/
🗑
|
||||
show |
False
🗑
|
||||
In PHP 5 how many percent on all Apache module Group of answer choices 54 34 64 45 | show 🗑
|
||||
$u=30; do{ echo $y++; }while($u<31); What is the output? Group of answer choices 30 33 32 31 | show 🗑
|
||||
show | hooray
🗑
|
||||
Complete the syntax If(expression){ __________; } Group of answer choices Condition Value Statement Expression | show 🗑
|
||||
You can only use string inside of the case statement Group of answer choices False True | show 🗑
|
||||
show |
/=
🗑
|
||||
show |
10
🗑
|
||||
$x=4; $x++; Echo $x+2 What is the output? Group of answer choices 6 8 7 9 | show 🗑
|
||||
$u=30; do{ echo $y++; }while($u<31); What is the output if $y=33? Group of answer choices 33 30 31 32 | show 🗑
|
||||
show |
Switch
🗑
|
||||
show |
10
🗑
|
||||
Assignment symbol Group of answer choices ===Syntax for for statement Group of answer choices for(expr1){statement}expr2 for(expr1;expr2;expr3){statement} for(statement){expr} for{expr1,expr2}(statement) = += == | show 🗑
|
||||
show |
for(expr1;expr2;expr3){statement}
🗑
|
||||
All php files must be save on htdocs folder Group of answer choices True False | show 🗑
|
||||
PHP can put anywhere in the code Group of answer choices True False | show 🗑
|
||||
show |
1995/1996
🗑
|
||||
show |
MyServ
🗑
|
||||
show |
False
🗑
|
||||
PHP can run only in Windows OS Group of answer choices False True | show 🗑
|
||||
$age is a valid variable Group of answer choices True False | show 🗑
|
||||
PHP key categories are practicality, power, possibility, and _____. Group of answer choices Price Flexible Usefulness Accessibility | show 🗑
|
||||
show |
Personal Home Page
🗑
|
||||
show |
3.6 million
🗑
|
||||
show |
‘’
🗑
|
||||
You need a subscription before you use the PHP Group of answer choices False True | show 🗑
|
||||
show |
False
🗑
|
||||
In what year PHP 2.0 released Group of answer choices 1998 1997 1999 2000 | show 🗑
|
||||
show |
Valid
🗑
|
||||
Standard tag Group of answer choices <%php…%> <?... ?> <%...%> <?php…?> | show 🗑
|
||||
show |
True
🗑
|
||||
a server-side scripting language that runs its application on a Web server. Group of answer choices Java PHP JavaScript C++ | show 🗑
|
||||
show | Rasmus Lerdorf
🗑
|
||||
Symbol use for Perl style single line comment Group of answer choices @ # $ ^ | show 🗑
|
||||
PHP is based on | show 🗑
|
||||
show |
2004
🗑
|
||||
Software used to run PHP Scripts Group of answer choices Mspaint XAMPP Notepad++ Netbeans | show 🗑
|
||||
All php scripts must enclosed with Group of answer choices <::> <{}> <??> <//> | show 🗑
|
||||
show |
True
🗑
|
||||
Which of the following not a internet browser? Group of answer choices Windows Media Internet Explorer Safari Opera | show 🗑
|
||||
PHP can put anywhere in the code Group of answer choices False True | show 🗑
|
||||
show |
True
🗑
|
||||
show |
Container
🗑
|
||||
PHP can run only in Windows OS | show 🗑
|
||||
Symbol use for Perl style single line comment | show 🗑
|
||||
show | F
🗑
|
||||
PHP created 1994/1995 t know how many visitors were reading his online resume based on | show 🗑
|
||||
show | %d
🗑
|
||||
Open tag for PHP scripts | show 🗑
|
||||
Setting the identifier for a variable must follow some rules. | show 🗑
|
||||
You can use a sever side scripting language in PHP | show 🗑
|
||||
Presented ads character corresponding to that ASCII value | show 🗑
|
||||
show | settype()
🗑
|
||||
recursive acronym for PHP | show 🗑
|
||||
PHP key categories are practicality, power, possibility, and _____. | show 🗑
|
||||
show | //
🗑
|
||||
show | 3.6m
🗑
|
||||
In PHP 3.0 ________ users were using PHP to enhance their Web pages | show 🗑
|
||||
Much of the PHP syntax were derive from C programming Language. | show 🗑
|
||||
show | $
🗑
|
||||
Comments can be put anywhere in the code Group of answer choices False True | show 🗑
|
||||
show | 50,000
🗑
|
||||
PHP makes the most popular scripting language with morethan one million user base by Group of answer choices Netscape Netcraff Netcafe Netstake | show 🗑
|
||||
show |
True
🗑
|
||||
Symbol for NOT Group of answer choices $ ! @ # | show 🗑
|
||||
show |
.=
🗑
|
||||
$s=90; if($s==80 && $s<90) { echo “Rank B”; } else if($s>90){ echo “Rank A”; }else{ echo “Rank C”; } What is the output if $s=97? | show 🗑
|
||||
You can use many if condition in one php script Group of answer choices True False | show 🗑
|
||||
show |
*=
🗑
|
||||
$x=10; Echo $x++; What is the output? Group of answer choices 10 12 13 11 | show 🗑
|
||||
show |
%
🗑
|
||||
show |
\t
🗑
|
||||
show |
switch($category)
🗑
|
||||
$m=3; switch($m){ case 1: echo “May”; break; case 2: echo “June”; break; case 3: echo “July”; break; default: echo “invalid”; break; } What is the output if $m is 1? | show 🗑
|
||||
Syntax for do… while statement Group of answer choices while(do)expr{statement} do(expr)while{statement} while{statement}do(expr) do{statement}while(expr); | show 🗑
|
||||
$a=10;$ b=20; If($a<$b) {echo $a+$b;} Else {echo $a-$b;} Question: what is the output of the code Group of answer choices 40 30 20 -10 | show 🗑
|
||||
Associativity for Addition, subtraction, concatenation Group of answer choices Right Middle NA Left | show 🗑
|
||||
if(7 __ 4) { echo “true”;} Else { echo “false”;} What is missing code to make the statements true? Group of answer choices < > != = | show 🗑
|
||||
show |
<?…?>
🗑
|
||||
show |
False
🗑
|
||||
show |
settype()
🗑
|
||||
Variable might contain a string, numbers, arrays and objects. Group of answer choices False True | show 🗑
|
||||
Closing tag for PHP scripts Group of answer choices <? <= ?> => | show 🗑
|
||||
show |
True
🗑
|
||||
returns the type of the variable. Possible return values are integer, double, boolean, string, array, object, resource, unknown types. Group of answer choices typeget() settype() typeset() gettype() | show 🗑
|
||||
show |
Welcome to PHP
🗑
|
||||
You can use a sever side scripting language in PHP Group of answer choices True False | show 🗑
|
||||
show |
PHP 6
🗑
|
||||
show | False
🗑
|
||||
show |
True
🗑
|
||||
show |
>
🗑
|
||||
show |
15
🗑
|
||||
What do you call a condition inside of a condition? Group of answer choices Nested if If any Inside if If if | show 🗑
|
||||
show |
For
🗑
|
||||
How may looping statements in php? Group of answer choices 2 4 5 3 | show 🗑
|
||||
show |
Multiple looping
🗑
|
||||
Who develops PHP? Group of answer choices Ramus Lerdof Ramus Lerdorf Rasmus Lerdorf Rasmus Lefdor | show 🗑
|
||||
show |
True
🗑
|
||||
show |
True
🗑
|
||||
show |
<%...%>
🗑
|
||||
Symbol for addition Group of answer choices ++ + =+ – | show 🗑
|
||||
show | *
🗑
|
||||
show |
5 4 3 2 1
🗑
|
||||
Decrement symbol Group of answer choices - ++ + -- | show 🗑
|
||||
$x=15; Echo $x--; What is the output? Group of answer choices 13 16 14 15 | show 🗑
|
||||
show |
July
🗑
|
||||
show |
True
🗑
|
||||
show |
<<>>
🗑
|
||||
All php files must be save on htdocs folder Group of answer choices True False | show 🗑
|
||||
In what year PHP 3.0 released Group of answer choices 2000 1998 1999 2001 | show 🗑
|
||||
show |
True
🗑
|
||||
show |
True
🗑
|
||||
show |
Zend scripting engine
🗑
|
||||
PHP is a embedded language that is commonly embedded on Group of answer choices SQL CSS HTML JavaScript | show 🗑
|
||||
statement causes execution of the current loop iteration to end and commence at the beginning of the next iteration. Group of answer choices Continue Break If Goto | show 🗑
|
||||
Goto always need a label Group of answer choices False True | show 🗑
|
||||
characteristic of an operator specifies how operations of the same precedence are evaluated as they are executed. Group of answer choices Operator associativity Operator character Operator Purpose Operator precedence | show 🗑
|
||||
Do is a looping stamen Group of answer choices False True | show 🗑
|
||||
show |
May
🗑
|
||||
show |
True
🗑
|
||||
Extension name for php files Group of answer choices .p .ph .hp .php | show 🗑
|
||||
show |
Datatypes
🗑
|
||||
show | Object Oriented capabilities
🗑
|
||||
show | C:\
🗑
|
||||
show | T
🗑
|
||||
symbol to use value in string | show 🗑
|
||||
show | 1998
🗑
|
||||
show | T? real statement" php 5" maybe true
🗑
|
||||
Associativity for Bitwise AND, bitwise XOR, bitwise OR | show 🗑
|
||||
show | right
🗑
|
||||
show | invalid bcs needs to be lower case
🗑
|
||||
Symbol for OR operatpr | show 🗑
|
||||
show | while(expr){statement}
🗑
|
||||
show | Rank C
🗑
|
||||
show | 10 9 8 7 6 5 4 3 2 1
🗑
|
||||
show | new
🗑
|
||||
show |
%c
🗑
|
||||
show |
%f
🗑
|
||||
PHP 5 vastly improved Group of answer choices Object Oriented capabilities Scripting Designing Coding | show 🗑
|
||||
PHP is based on Group of answer choices C# C Java Perl | show 🗑
|
||||
Which of the following is not a looping statement? Group of answer choices Do while While Loop For | show 🗑
|
||||
show |
Operator precedence
🗑
|
||||
show |
Left
🗑
|
||||
$s=90; if($s==80 && $s<90) { echo “Rank B”; } else if($s>90){ echo “Rank A”; }else{ Echo “Rank C”; } What is the output if $s=50? | show 🗑
|
||||
show |
Break
🗑
|
||||
$m=3; switch($m){ case 1: echo “May”; break; case 2: echo “June”; break; case 3: echo “July”; break; default: echo “invalid”; break; } What is the output if $n is 1? | show 🗑
|
||||
What is the url is use to open your created php files Group of answer choices mydrive google localhost yahoo | show 🗑
|
||||
Which of the following is not Windows OS Group of answer choices Vista 2000 Cheetah XP | show 🗑
|
||||
What is the default location of XAMPP? Group of answer choices F:\ E:\ D:\ C:\ | show 🗑
|
||||
Symbol to use value in string | show 🗑
|
||||
show | T
🗑
|
||||
show | /* */
🗑
|
||||
show | f
🗑
|
||||
show | ?>
🗑
|
||||
show | t
🗑
|
||||
show | T
🗑
|
||||
show | Welcome to PHP
🗑
|
||||
show | 1997
🗑
|
||||
show | Giraffe
🗑
|
||||
show | Zend scripting engine
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
Itsrmr