click below
click below
Normal Size Small Size show me how
CCS0043
FA2
| Question | Answer |
|---|---|
| Who develops PHP? Group of answer choices Rasmus Lerdorf Rasmus Lefdor Ramus Lerdof Ramus Lerdorf | Rasmus Lerdorf |
| One of the Core developers of php 4.0 Group of answer choices Andi Gusman Andi Gutmans Andi Guman Andi Gunman | Andi Gutmans |
| In what year PHP 5 released Group of answer choices 2004 2003 2001 2002 | 2004 |
| PHP key categories are practicality, power, possibility, and _____. Group of answer choices Price Accessibility Usefulness Flexible | Price |
| Closing tag for PHP scripts Group of answer choices => ?> <= <? | ?> |
| Are used as a container for the values that can be used and manipulate PHP scripts Group of answer choices Letters Symbols Variable Numbers | Variable |
| Comments can be put anywhere in the code Group of answer choices True False | True |
| Which of the following is not a web server? Group of answer choices Nginx IIS7 Apache MyServ | MyServ |
| PHP can run only in Mac OS Group of answer choices Ture False | False |
| To display the string that starts with $ and to display the double quote as string use the escape character \ (backslash). Group of answer choices False True | True |
| returns the type of the variable. Possible return values are integer, double, boolean, string, array, object, resource, unknown types. Group of answer choices gettype() typeget() settype() typeset() | gettype() |
| is a function also use for outputting strings. Group of answer choices Send Output Print Out | |
| Which of the following is not a code editor? Group of answer choices Mspaint Netbeans Dreamweaver Notepad++ | Mspaint |
| Variables in PHP must begin with Group of answer choices @ # $ ! | $ |
| Which of the following is not Mac OS Group of answer choices Cheetah Giraffe Jaguar Puma | Giraffe |
| $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 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 9 8 7 6 5 4 3 2 1 | 5 4 3 2 1 |
| if(7 __ 4) { echo “true”;} Else { echo “false”;} What is missing code to make the statements true? Group of answer choices < != = > | > |
| Operator for Expression subgrouping Group of answer choices / @ () [] | () |
| symbol that specifies a particular action in an expression. Group of answer choices Operator Associativity Purpose Precedence | Operator |
| $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=1000? Group of answer choices Rank A Error Rank B Rank C | Rank A |
| statement is used to jump to other section of the program to support labels. Group of answer choices If Goto Continue Break | Goto |
| $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 2? Group of answer choices June May Invalid July | June |
| Symbol for less than or equal to Group of answer choices >= > < <= | <= |
| Escape Sequence for horizontal tab Group of answer choices \h \t \r \n | \t |
| $x=0; for($i=1;$i<5;$i++){$x+=$i;} echo $x; What is the outout? Group of answer choices 10 15 9 12 | 10 ??? |
| Symbol for NOT Group of answer choices $ ! # @ | ! |
| Operator for Boolean AND, Boolean OR Group of answer choices &^| &&|| ?: ,, | &&|| |
| Symbol for AND operator Group of answer choices %% && $$ || | && |
| Complete the syntax If(expression){ __________; } Group of answer choices Value Expression Statement Condition | Statement |
| Symbol for division Group of answer choices / ? =/ \ | / |
| PHP can run only in Windows OS Group of answer choices False True | False |
| PHP can create in code editors Group of answer choices False True | True |
| allow for multiple items of the same type to be aggregated under a single representative entity. (Array and Objects) Group of answer choices Scalar datatypes Single datatypes Modular datatypes Compound datatypes | Compound datatypes |
| PHP 4.0 Dubbed with Group of answer choices Zen scripting page Zell scripting engine Zed scripting page Zend scripting engine | Zend scripting engine |
| Which of the following is not part of Web Architecture? Group of answer choices Internet USB connection Database Page Request | USB connection |
| Variable might contain a string, numbers, arrays and objects. Group of answer choices False True | True |
| Symbol use for Perl style single line comment Group of answer choices ^ # $ @ | # |
| Setting the identifier for a variable must follow some rules. Group of answer choices False True | True |
| PHP can use in Linux Group of answer choices False True | True |
| What is the url is use to open your created php files Group of answer choices google yahoo localhost mydrive | localhost |
| There will be an error if there is no break inside of the switch case Group of answer choices True False | False |
| $v=70; if($v<=70) { echo “hooray”; } else { Echo “hello”; } What is the output if the value of $v is 100? Group of answer choices blank hooray invalid hello | hello |
| You can create multiple statements inside of an condition Group of answer choices False True | True |
| Symbol for addition Group of answer choices =+ ++ + – | + |
| How may looping statements in php? Group of answer choices 5 3 4 2 | 3 |
| Syntax for if statement Group of answer choices (expression)if{statement…} Expression…if(statement) Statement…if(expression) If(expression){statement..} | If(expression){statement..} |
| if(expression) { statement… } else { statement } How many condition/s Group of answer choices 4 3 2 1 | 2 ??? |
| Ternary format Group of answer choices (5 == f):: ($a == 12) ? 5 : 1 ($a == 10)?5 (10 == $a):?1 | ($a == 12) ? 5 : 1 |
| 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 |
| You can only use 50 cases for the switch Group of answer choices False True | False |
| $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? Group of answer choices Rank C Error Rank B Rank A | Rank C |
| PHP can put anywhere in the code Group of answer choices True False | True |
| Presented as a signed decimal number Group of answer choices %d %dn %nd %n | %d |
| $ inside “ and “ are interpreted as variables thus it will display the value rather than the string that starts with $. Group of answer choices False True | True |
| Which of the following not a internet browser? Group of answer choices Internet Explorer Safari Windows Media Opera | Windows Media |
| PHP require to use a web browser Group of answer choices False True | True |
| is the generic name assigned to any data sharing a common set of characteristics. Group of answer choices Datatypes Output Array Variables | Datatypes |
| In PHP 5 how many percent on all Apache module Group of answer choices 34 64 45 54 | 54 |
| All php files must be save on htdocs folder Group of answer choices True False | True |
| Version of PHP that support Unicode Group of answer choices PHP 6 PHP 3 PHP 5 PHP 4 | PHP 6 |
| Variables are like a Group of answer choices Container Operator Value Symbol | Container |
| Syntax for for statement Group of answer choices for{expr1,expr2}(statement) for(statement){expr} for(expr1;expr2;expr3){statement} for(expr1){statement}expr2 | for(expr1;expr2;expr3){statement} ??? |
| Which of the following is not a looping statement? Group of answer choices For While Loop Do while | Loop |
| Symbol for subtraction Group of answer choices -= – – + | - |
| Operator for assignment operators Group of answer choices = + > – | = |
| If($a == $b){} Group of answer choices Invalid Valid | Valid |
| $x=0; for($i=1;$i<5;$i++){$i+=$i;} echo $x; What is the output? Group of answer choices 12 10 0 5 | 0 ??? |
| Associativity for Addition, subtraction, concatenation Group of answer choices Middle Left Right NA | Left ??? |
| $a=10; while($a>0){ echo $a--.” ”; } What is the output if $a is 5? Group of answer choices 4 3 2 1 1 2 3 4 5 1 2 3 4 5 4 3 2 1 | 10 9 8 7 6 5 4 3 2 1 |
| statement causes execution of the current loop iteration to end and commence at the beginning of the next iteration. Group of answer choices If Continue Break Goto | Continue |
| Open tag for PHP scripts Group of answer choices <? <= => ?> | <? |
| Try/catch exception handling introduce in what version of PHP Group of answer choices PHP2 PHP5 PHP4 PHP3 | PHP5 |
| In what year PHP 2.0 released Group of answer choices 2000 1998 1999 1997 | 1997 |
| New language features for PHP 6 Group of answer choices Double looping Single looping Multiple looping Foreach looping | Foreach looping |
| Statement terminator Group of answer choices ; < ‘ “ | ; |
| Presented ads character corresponding to that ASCII value Group of answer choices %ch %as %c %a | %c |
| PHP is an native support for SQLite Group of answer choices True False | True |
| You need a web browser to open php files Group of answer choices False True | True |
| What is OS? Group of answer choices Operation System Out System Outgoing System Operating System | Operating System |
| Symbol for single line comment Group of answer choices << // >> ,, | // |
| Oracle is example of database that PHP can use Group of answer choices True False | True |
| Symbol for greater than or equal to Group of answer choices >= <= > < | >= |
| $x=4; $x++; Echo $x+2 What is the output? Group of answer choices 6 8 9 7 | 7 |
| $u=30; do{ echo $y++; }while($u<31); What is the output? Group of answer choices 31 32 30 33 | 30 ??? |
| Symbol for less than Group of answer choices <= < > >= | < |
| Symbol for identical to Group of answer choices != = == === | === |
| $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? Group of answer choices Invalid July June May | July (invalid dapat eh) |
| Symbol for modulus Group of answer choices % $ M ^ | % |
| statement is placed within the code of a loop to cause the program to break out of the loop statement. Group of answer choices Goto If Break Continue | Break ??? |
| Goto always need a label Group of answer choices False True | True |
| PHP can run only in Linux OS Group of answer choices True False | False |
| Short open tag Group of answer choices <%php…%> <%...%> <?…?> <?php... ?> | <?…?> |
| Much of the PHP syntax were derive from C programming Language. Group of answer choices True False | True |
| Symbol used for multi-line comment Group of answer choices /::/ /**/ /??/ /””/ | /**/ |
| Standard tag Group of answer choices <%...%> <%php…%> <?... ?> <?php…?> | <?php…?> |
| PHP is a loosely type language (no explicitly create, typecast, or destroy a variable) Group of answer choices False True | True |
| PHP contains More libraries and thousands of functions Group of answer choices True False | True |
| $num = 10; Valid or invalid? Group of answer choices Valid Invalid | Valid |
| PHP 5 vastly improved Group of answer choices Scripting Designing Coding Object Oriented capabilities | Object Oriented capabilities |
| Extension name for php files Group of answer choices .ph .hp .p .php | .php |
| PHP created 1994/1995 t know how many visitors were reading his online resume based on Group of answer choices HTML page JavaScript page PERL/CGI script CSS page | PERL/CGI script |
| Symbol for greater than Group of answer choices > >= <= < | > |
| characteristic of an operator specifies how operations of the same precedence are evaluated as they are executed. Group of answer choices Operator Purpose Operator character Operator associativity Operator precedence | Operator associativity |
| Associativity for assignment operators Group of answer choices Left Middle Right NA | Right |
| There is always default inside of the switch Group of answer choices True False | False |
| You can only use string inside of the case statement Group of answer choices False True | False |
| Associativity for Bitwise AND, bitwise XOR, bitwise OR Group of answer choices Middle Left NA Right | Left |
| Symbol for OR operatpr Group of answer choices $$ %% && || | || |
| Script tag Group of answer choices </script> </sct> </scr> <scrpt> | </script> |
| How many domain PHP installed on May 22, 2000 Group of answer choices 1.6 million 2.6 million 3.6 million 4.6 million | 3.6 million |
| Year that the developers joined Lerdorf Group of answer choices 1998 1999 2000 2001 | 1998 |
| language construct that use to output one or more string. Group of answer choices Echo Out Output Send | Echo |
| Software used to run PHP Scripts Group of answer choices Mspaint XAMPP Netbeans Notepad++ | XAMPP |
| Operator for shift left, shift right (bitwise) Group of answer choices <<>> <> {} [] | <<>> |
| Increment symbol Group of answer choices + -- - ++ | ++ |
| Syntax for Switch Group of answer choices $Cat($switch) swt($cat) $switch($category) switch($category) | switch($category) ??? |
| Operator for Object instantiation Group of answer choices start new @ () | new |
| Operator for Ternary operator | ?: |
| Associativity for Object instantiation Group of answer choices Middle Right Left NA | NA |
| Symbol for equal to Group of answer choices != = == === | == |
| Division-assignment symbol Group of answer choices /= ==/ // / | / |
| You need a subscription before you use the PHP Group of answer choices True False | False |
| PHP means Group of answer choices Personal High Packets Personal Home Page Personal High Page Personal Home Packets | Personal Home Page |
| First character of variable can be ‘_’ or a letter. Group of answer choices True False | True |
| Variables are not case sensitive Group of answer choices True False | False |
| $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=70? | Rank C |
| Syntax for do… while statement Group of answer choices while{statement}do(expr) while(do)expr{statement} do(expr)while{statement} do{statement}while(expr); | do{statement}while(expr); |
| Operator for index enclosure Group of answer choices ++ [] << () | [] |
| Syntax for while statement Group of answer choices expr(while){statement} (expr)while{statement} while(expr){statement} while(statement){expr} | while(expr){statement} |
| Term used to combine two or more different strings Group of answer choices Combine Concatenate Plus Concreate | Concatenate |
| Which of the following is not Linux OS Group of answer choices Vista Suse Ubuntu Debian | Vista |
| PHP is a free of charge Group of answer choices True False | True |
| In what year PHP 3.0 released Group of answer choices 1998 2000 1999 2001 | 1998 |
| How many domains installed in PHP 5 Group of answer choices 10 million 12 million 19 million 15 million | 19 million |
| What is the default location of XAMPP? Group of answer choices E:\ F:\ D:\ C:\ | C:\ |
| Another code for condition Group of answer choices Set Get Switch Pick | Switch ??? |
| $v=70; if($v<=70) { echo “hooray”; } else { Echo “hello”; } What is the output? Group of answer choices invalid blank hooray hello | hooray |
| $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 15 10 | |
| $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? Group of answer choices June May July Invalid | May |
| $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? Group of answer choices July May Invalid Jun | July |
| What do you call a condition inside of a condition? Group of answer choices Inside if Nested if If if If any | Nested if |
| PHP is based on Group of answer choices Perl Java C# C | C |
| PHP version that has an Enterprise development Group of answer choices PHP 4.0 PHP 2.0 PHP 1.0 PHP 3.0 | PHP 4.0 |
| recursive acronym for PHP Group of answer choices Hightext Processor Hyperline Preprocessor Highlight Processor Hypertext Preprocessor | Hypertext Preprocessor |
| Asp style tag Group of answer choices <(…)> <%...%> <?...?> </ …/> | <%...%> |
| Symbol for not equal Group of answer choices = == != === | != |
| $x=15; Echo --$x; What is the output? Group of answer choices 14 15 13 16 | 14 |
| _name is a valid variable Group of answer choices True False | False |
| <?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 |
| Presented as a binary number Group of answer choices %b %n %y %bn | %b |
| Concatenation-assignment symbol Group of answer choices .. .= . ==. | .= |
| Multiplication-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=85? Group of answer choices Error Rank C Rank B Rank A | Rank C |
| Associativity for ternary operator Group of answer choices Left Middle NA Right | Right |
| characteristic of operators that determines the order in which they evaluate the operands surrounding them. Group of answer choices Operator character Operator precedence Operator Purpose Operator associativity | Operator precedence |
| Addition-assignment symbol Group of answer choices ==+ += + ++ | += |
| variable can only contain ________characters and underscore (a-z,A-Z,0-9,_). Group of answer choices alpha-numeric special characters letters numeric | alpha-numeric |
| $x=10; Echo $x++; What is the output? | 10 |
| $x=10; Echo ++$x; What is the output? | 11 |
| Operator for Bitwise AND, bitwise XOR, bitwise OR Group of answer choices & ^ | ?: &&|| ,, | & ^ | |
| You can use many if condition in one php script Group of answer choices False True | True |
| Associativity for Boolean AND, Boolean OR Group of answer choices NA Left Right Middle | Left |