PHP M1-M2 Word Scramble
|
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
| Question | Answer |
| Presented as a binary number Group of answer choices %bn %b %y %n | %b |
| Strings inside the ‘ and ‘ are interpreted as literal strings. Group of answer choices True False | True |
| Term used to combine two or more different strings Group of answer choices Combine Concatenate Concreate Plus | Concatenate |
| What is the url is use to open your created php files Group of answer choices localhost google mydrive yahoo | 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 | Variable |
| Which of the following is not part of Web Architecture? Group of answer choices Database Page Request USB connection Internet | USB connection |
| Which of the following is not a web server? Group of answer choices IIS7 MyServ Nginx Apache | MyServ |
| Symbol for single line comment Group of answer choices // << ,, >> | // |
| recursive acronym for PHP Group of answer choices Hypertext Preprocessor Hyperline Preprocessor Highlight Processor Hightext Processor | Hypertext Preprocessor |
| PHP can use in Linux Group of answer choices False True | True |
| Variables are not case sensitive Group of answer choices True False | False |
| What is OS? Group of answer choices Out System Operating System Operation System Outgoing System | Operating System |
| Symbol to use value in string Group of answer choices – ** ‘’ ++ | ‘’ |
| PHP means Group of answer choices Personal Home Packets Personal High Packets Personal High Page Personal Home Page | 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 | PERL/CGI script |
| Ternary format Group of answer choices ($a == 10)?5 (10 == $a):?1 (5 == f):: ($a == 12) ? 5 : 1 | ($a == 12) ? 5 : 1 |
| $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=85? | Rank C |
| continue statement causes execution of the current loop iteration to end and commence at the beginning of the next iteration. Group of answer choices True False | True |
| Associativity for assignment operators Group of answer choices Middle Right Left NA | Right |
| Symbol for division Group of answer choices =/ ? \ / | / |
| Symbol for AND operator Group of answer choices || && $$ %% | && |
| You can only use 50 cases for the switch Group of answer choices False True | False |
| Syntax for if statement Group of answer choices If(expression){statement..} Statement…if(expression) (expression)if{statement…} Expression…if(statement) | If(expression){statement..} |
| Operator for Boolean AND, Boolean OR Group of answer choices ?: &&|| &^| ,, | &&|| |
| There is always default inside of the switch Group of answer choices True False | False |
| There will be an error if there is no break inside of the switch case Group of answer choices True False | False |
| Increment symbol Group of answer choices + - ++ -- | ++ |
| Addition-assignment symbol Group of answer choices += ++ ==+ + | += |
| if(expression) { statement… } else { statement } How many condition/s Group of answer choices 1 4 2 3 | 2 |
| Symbol for less than or equal to Group of answer choices <= > >= < | <= |
| PHP can use a database Group of answer choices True False | True |
| In what year PHP 2.0 released Group of answer choices 2000 1998 1999 1997 | 1997 |
| Variables in PHP must begin with Group of answer choices $ @ # ! | $ |
| language construct that use to output one or more string. Group of answer choices Send Out Echo Output | Echo |
| Oracle is example of database that PHP can use Group of answer choices True False | True |
| One of the Core developers of PHP 4.0 Group of answer choices Zeeb Suraski Zeev Sumaki Zeeb Suraki Zeev Suraski | Zeev Suraski |
| How many domains installed in PHP 5 Group of answer choices 12 million 15 million 19 million 10 million | 12 million |
| HTML is one the requirements to use PHP Group of answer choices False True | False |
| $num = 10; Valid or invalid? Group of answer choices Valid Invalid | Valid |
| Try/catch exception handling introduce in what version of PHP Group of answer choices PHP4 PHP2 PHP3 PHP5 | PHP5 |
| $val=”abc”.”def” valid or invalid? Group of answer choices Invalid Valid | Valid |
| $age is a valid variable Group of answer choices False True | True |
| Symbol used for multi-line comment Group of answer choices /??/ /::/ /””/ /**/ | /**/ |
| PHP can run only in Mac OS Group of answer choices Ture False | False |
| In PHP 5 how many percent on all Apache module Group of answer choices 54 34 64 45 | 45 |
| $u=30; do{ echo $y++; }while($u<31); What is the output? Group of answer choices 30 33 32 31 | 30 |
| $v=70; if($v<=70) { echo “hooray”; } else { Echo “hello”; } What is the output? Group of answer choices hello invalid blank hooray | hooray |
| Complete the syntax If(expression){ __________; } Group of answer choices Condition Value Statement Expression | Statement |
| You can only use string inside of the case statement Group of answer choices False True | False |
| Division-assignment symbol Group of answer choices // ==/ / /= | /= |
| $x=0; for($i=1;$i<5;$i++){$x+=$i;} echo $x; What is the outout? Group of answer choices 9 12 15 10 | 10 |
| $x=4; $x++; Echo $x+2 What is the output? Group of answer choices 6 8 7 9 | 7 |
| $u=30; do{ echo $y++; }while($u<31); What is the output if $y=33? Group of answer choices 33 30 31 32 | 30 |
| Another code for condition Group of answer choices Get Set Switch Pick | Switch |
| $x=0; for($i=1;$i<5;$i++){$x+=$i;} echo $x; What is the output if $x=2 Group of answer choices 9 12 10 15 | 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) = += == | = |
| Syntax for for statement Group of answer choices for(expr1){statement}expr2 for(expr1;expr2;expr3){statement} for(statement){expr} for{expr1,expr2}(statement) | for(expr1;expr2;expr3){statement} |
| All php files must be save on htdocs folder Group of answer choices True False | False |
| PHP can put anywhere in the code Group of answer choices True False | True |
| In what year PHP 1.0 released Group of answer choices 1997/1998 1995/1996 1996/1997 1994/1995 | 1995/1996 |
| Which of the following is not a web server? Group of answer choices MyServ IIS7 Apache Nginx | MyServ |
| PHP require to use a web browser Group of answer choices False True | False |
| PHP can run only in Windows OS Group of answer choices False True | False |
| $age is a valid variable Group of answer choices True False | True |
| PHP key categories are practicality, power, possibility, and _____. Group of answer choices Price Flexible Usefulness Accessibility | Usefulness |
| PHP means Group of answer choices Personal High Page Personal Home Packets Personal High Packets Personal Home Page | Personal Home Page |
| How many domain PHP installed on May 22, 2000 Group of answer choices 2.6 million 4.6 million 1.6 million 3.6 million | 3.6 million |
| Symbol to use value in string Group of answer choices ** ‘’ – ++ | ‘’ |
| You need a subscription before you use the PHP Group of answer choices False True | False |
| PHP can run only in Mac OS Group of answer choices Ture False | False |
| In what year PHP 2.0 released Group of answer choices 1998 1997 1999 2000 | 1997 |
| $val=”abc”.”def” valid or invalid? Group of answer choices Valid Invalid | Valid |
| Standard tag Group of answer choices <%php…%> <?... ?> <%...%> <?php…?> | <?php…?> |
| PHP can create in code editors Group of answer choices True False | True |
| a server-side scripting language that runs its application on a Web server. Group of answer choices Java PHP JavaScript C++ | PHP |
| Who develops PHP? Group of answer choices Rasmus Lerdorf Rasmus Lefdor Ramus Lerdof Ramus Lerdorf | Rasmus Lerdorf |
| Symbol use for Perl style single line comment Group of answer choices @ # $ ^ | # |
| PHP is based on | C |
| In what year PHP 5 released Group of answer choices 2001 2004 2002 2003 | 2004 |
| Software used to run PHP Scripts Group of answer choices Mspaint XAMPP Notepad++ Netbeans | XAMPP |
| All php scripts must enclosed with Group of answer choices <::> <{}> <??> <//> | <??> |
| First character of variable can be ‘_’ or a letter. Group of answer choices False True | True |
| Which of the following not a internet browser? Group of answer choices Windows Media Internet Explorer Safari Opera | Windows Media |
| PHP can put anywhere in the code Group of answer choices False True | True |
| Setting the identifier for a variable must follow some rules. Group of answer choices False True | True |
| Variables are like a Group of answer choices Value Operator Container Symbol | Container |
| PHP can run only in Windows OS | f |
| Symbol use for Perl style single line comment | # |
| PHP can run only in Mac OS | F |
| PHP created 1994/1995 t know how many visitors were reading his online resume based on | PERL/CGI script |
| Presented as a signed decimal number | %d |
| Open tag for PHP scripts | <? |
| Setting the identifier for a variable must follow some rules. | T |
| You can use a sever side scripting language in PHP | T |
| Presented ads character corresponding to that ASCII value | %c |
| converts a given variable to a specific type. | settype() |
| recursive acronym for PHP | Hypertext Preprocessor |
| PHP key categories are practicality, power, possibility, and _____. | price |
| Symbol for single line comment | // |
| How many domain PHP installed on May 22, 2000 | 3.6m |
| In PHP 3.0 ________ users were using PHP to enhance their Web pages | 50,000 |
| Much of the PHP syntax were derive from C programming Language. | t |
| Variables in PHP must begin with | $ |
| Comments can be put anywhere in the code Group of answer choices False True | True |
| In PHP 3.0 ________ users were using PHP to enhance their Web pages Group of answer choices 50,000 60,000 70,000 80,000 | 50,000 |
| PHP makes the most popular scripting language with morethan one million user base by Group of answer choices Netscape Netcraff Netcafe Netstake | Netcraff |
| PHP is a free of charge Group of answer choices False True | True |
| Symbol for NOT Group of answer choices $ ! @ # | ! |
| Concatenation-assignment symbol Group of answer choices .. . ==. .= | .= |
| $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? | Rank A |
| You can use many if condition in one php script Group of answer choices True False | True |
| Multiplication-assignment symbol Group of answer choices * ==* ** *= | *= |
| $x=10; Echo $x++; What is the output? Group of answer choices 10 12 13 11 | 10 |
| Symbol for modulus Group of answer choices M % ^ $ | % |
| Escape Sequence for horizontal tab Group of answer choices \h \t \r \n | \t |
| Syntax for Switch Group of answer choices switch($category) $Cat($switch) swt($cat) $switch($category) | 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? | Invalid |
| 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); | do{statement}while(expr); |
| $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 | 30 |
| Associativity for Addition, subtraction, concatenation Group of answer choices Right Middle NA Left | Left |
| if(7 __ 4) { echo “true”;} Else { echo “false”;} What is missing code to make the statements true? Group of answer choices < > != = | < |
| Short open tag Group of answer choices <%...%> <%php…%> <?…?> <?php... ?> | <?…?> |
| You need a subscription before you use the PHP Group of answer choices True False | False |
| converts a given variable to a specific type. Group of answer choices typeset() settype() gettype() typeget() | settype() |
| Variable might contain a string, numbers, arrays and objects. Group of answer choices False True | True |
| Closing tag for PHP scripts Group of answer choices <? <= ?> => | ?> |
| Much of the PHP syntax were derive from C programming Language. Group of answer choices True False | 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() | gettype() |
| <?php Echo ‘Welcome to PHP’; ?> What is the output Group of answer choices Welcome to PHP Welcome to php ‘welcome to php’ “welcome to php” | Welcome to PHP |
| You can use a sever side scripting language in PHP Group of answer choices True False | False |
| Version of PHP that support Unicode Group of answer choices PHP 3 PHP 6 PHP 5 PHP 4 | PHP 6 |
| PHP can run only in Windows OS Group of answer choices True False | False |
| elseif is one of the conditional statements in php Group of answer choices True False | True |
| Symbol for greater than Group of answer choices < >= <= > | > |
| $x=15; Echo --$x; What is the output? Group of answer choices 15 13 14 16 | 15 |
| What do you call a condition inside of a condition? Group of answer choices Nested if If any Inside if If if | Nested if |
| Which of the following is not a conditional statement? Group of answer choices Elseif If Else For | For |
| How may looping statements in php? Group of answer choices 2 4 5 3 | 4 |
| New language features for PHP 6 Group of answer choices Multiple looping Single looping Foreach looping Double looping | Multiple looping |
| Who develops PHP? Group of answer choices Ramus Lerdof Ramus Lerdorf Rasmus Lerdorf Rasmus Lefdor | Rasmus Lerdorf |
| PHP require to use a web browser Group of answer choices False True | True |
| To display the string that starts with $ and to display the double quote as string use the escape character \ (backslash). Group of answer choices True False | True |
| Asp style tag Group of answer choices <%...%> <(…)> <?...?> </ …/> | <%...%> |
| Symbol for addition Group of answer choices ++ + =+ – | + |
| Symbol for multiplication Group of answer choices X * =* ** | * |
| $a=10; while($a>0){ echo $a--.” ”; } What is the output if $a is 5? Group of answer choices 1 2 3 4 5 5 4 3 2 1 4 3 2 1 1 2 3 4 | 5 4 3 2 1 |
| Decrement symbol Group of answer choices - ++ + -- | -- |
| $x=15; Echo $x--; What is the output? Group of answer choices 13 16 14 15 | 15 |
| $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? | July |
| $if=10; If($if==$if){} What is the output? Group of answer choices Invalid True Blank False | True |
| Operator for shift left, shift right (bitwise) Group of answer choices <<>> {} <> [] | <<>> |
| All php files must be save on htdocs folder Group of answer choices True False | True |
| In what year PHP 3.0 released Group of answer choices 2000 1998 1999 2001 | 1998 |
| PHP can create in code editors Group of answer choices False True | True |
| PHP is an native support for SQLite Group of answer choices False True | True |
| PHP 4.0 Dubbed with Group of answer choices Zend scripting engine Zed scripting page Zen scripting page Zell scripting engine | Zend scripting engine |
| PHP is a embedded language that is commonly embedded on Group of answer choices SQL CSS HTML JavaScript | HTML |
| 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 | Continue |
| Goto always need a label Group of answer choices False True | True |
| 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 | Operator associativity |
| Do is a looping stamen Group of answer choices False True | True |
| $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? | May |
| You can create multiple statements inside of an condition Group of answer choices True False | True |
| Extension name for php files Group of answer choices .p .ph .hp .php | .php |
| is the generic name assigned to any data sharing a common set of characteristics. Group of answer choices Variables Output Datatypes Array | Datatypes |
| PHP 5 vastly improved | Object Oriented capabilities |
| What is the default location of XAMPP? | C:\ |
| Variable might contain a string, numbers, arrays and objects. | T |
| symbol to use value in string | " " |
| Year that the developers joined Lerdorf | 1998 |
| PHP is an native support for SQLite | T? real statement" php 5" maybe true |
| Associativity for Bitwise AND, bitwise XOR, bitwise OR | left |
| Associativity for ternary operator | right |
| If($a == $b){} | invalid bcs needs to be lower case |
| Symbol for OR operatpr | || |
| Syntax for while statement | while(expr){statement} |
| $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? | Rank C |
| $a=10; while($a>0){ echo $a--.” ”; } What is the output? Group of answer choices 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 | 10 9 8 7 6 5 4 3 2 1 |
| Operator for Object instantiation Group of answer choices @ () start new | new |
| Presented ads character corresponding to that ASCII value Group of answer choices %as %ch %a %c | %c |
| Presented as a floating point number Group of answer choices %fn %p %fp %f | %f |
| PHP 5 vastly improved Group of answer choices Object Oriented capabilities Scripting Designing Coding | Object Oriented capabilities |
| PHP is based on Group of answer choices C# C Java Perl | C |
| Which of the following is not a looping statement? Group of answer choices Do while While Loop For | Loop |
| characteristic of operators that determines the order in which they evaluate the operands surrounding them. Group of answer choices Operator Purpose Operator associativity Operator character Operator precedence | Operator precedence |
| Associativity for object instantiation Group of answer choices Middle Right NA Left | 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? | Rank C |
| statement is placed within the code of a loop to cause the program to break out of the loop statement. Group of answer choices Break If Goto Continue | 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? | July |
| What is the url is use to open your created php files Group of answer choices mydrive google localhost yahoo | local host |
| Which of the following is not Windows OS Group of answer choices Vista 2000 Cheetah XP | cheetah |
| What is the default location of XAMPP? Group of answer choices F:\ E:\ D:\ C:\ | C |
| Symbol to use value in string | '' |
| PHP is an native support for SQLite Group of answer choices True False | T |
| Symbol used for multi-line comment | /* */ |
| PHP require to use a web browser Group of answer choices True False | f |
| Closing tag for PHP scripts Group of answer choices <= <? => ?> | ?> |
| PHP is a free of charge Group of answer choices False True | t |
| $val=”abc”.”def” valid or invalid? Group of answer choices Invalid Valid | T |
| <?php Echo ‘Welcome to PHP’; ?> What is the output | Welcome to PHP |
| In what year PHP 2.0 released | 1997 |
| Which of the following is not Mac OS | Giraffe |
| PHP 4.0 Dubbed with | Zend scripting engine |
Created by:
Itsrmr