Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
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

App dev Mod 1&2

QuestionAnswer
$val=”abc”.”def” valid or invalid? Valid In languages like PHP, the . operator is used for string concatenation.
Script tag not <scrpt> not </script> </scr>
Which of the following is not part of Web Architecture? USB connection
PHP means Personal Home Page
PHP can run only in Windows OS False PHP is cross-platform and can run on Windows, Linux, macOS, and other operating systems.
Variables are like a Container Variables store data, so they act like containers that hold values.
All php scripts must enclosed with <??>
First character of variable can be ‘_’ or a letter. True In PHP, a variable must start with a letter or an underscore (_), followed by letters, numbers, or underscores.
HTML is one the requirements to use PHP True
is a function also use for outputting strings. Print
Who develops PHP? Rasmus Lerdorf
Which of the following not a internet browser? Windows Media
PHP is based on C PHP was originally developed with syntax and structure heavily influenced by the C programming language.
Symbol to use value in string ‘’
New language features for PHP 6 Foreach looping
PHP can put anywhere in the code True
One of the Core developers of php 4.0 Andi Gutmans
All php files must be save on htdocs folder True
$num = 10; Valid or invalid? Valid
Year that the developers joined Lerdorf 1998
How many types of comment php have? 3
In what year PHP 2.0 released 1997
_name is a valid variable True _name is a valid variable in PHP because a variable can start with an underscore (_) or a letter.
PHP is a free of charge True PHP is open-source software, so it is free of charge to use.
In PHP 5 how many percent on all Apache module 54 PHP 5 was reported to support around 54% of Apache modules.
How many domain PHP installed on May 22, 2000 3.6 million
PHP can run only in Linux OS False
PHP can use in Linux True
<?php Echo ‘Welcome to PHP’; ?> What is the output Welcome to PHP
In what year PHP 1.0 released 1995/1996
Asp style tag <%...%> ASP (Active Server Pages) style tags use:
Variables in PHP is not explicitly declared True
Are used as a container for the values that can be used and manipulate PHP scripts Variable
PHP 4.0 Dubbed with Zend scripting engine
Standard tag <?php…?>
In PHP 3.0 ________ users were using PHP to enhance their Web pages 50,000
Open tag for PHP scripts <?
Presented as a binary number %b
Which of the following is not a web server? MyServ
returns the type of the variable. Possible return values are integer, double, boolean, string, array, object, resource, unknown types. gettype()
Which of the following is not Windows OS Cheetah Cheetah was the internal code name for Mac OS X 10.0, the first major release of Apple's desktop operating system, not a Windows version.
Presented as a signed decimal number %d
Try/catch exception handling introduce in what version of PHP PHP5
PHP can create in code editors True
In what year PHP 5 released 2004
PHP contains More libraries and thousands of functions True
Much of the PHP syntax were derive from C programming Language. True
PHP key categories are practicality, power, possibility, and _____. Price
Which of the following is not a code editor? Mspaint
recursive acronym for PHP Hypertext Preprocessor
PHP is an native support for SQLite True
a server-side scripting language that runs its application on a Web server. PHP
Oracle is example of database that PHP can use True
Version of PHP that support Unicode PHP 6
$age is a valid variable True
You need a subscription before you use the PHP False
Symbol used for multi-line comment /**/
What is the url is use to open your created php files localhost
Comments can be put anywhere in the code True
Short open tag <?…?>
allow for multiple items of the same type to be aggregated under a single representative entity. (Array and Objects) Compound datatypes
Presented as a floating point number %f
How many domains installed in PHP 5 12 million
language construct that use to output one or more string. Echo
Variable might contain a string, numbers, arrays and objects. Group of answer choices False True True
What is OS? Operating System
In what year PHP 3.0 released 1998
variable can only contain ________characters and underscore (a-z,A-Z,0-9,_). alpha-numeric
PHP makes the most popular scripting language with morethan one million user base by Netcraff
What is the default location of XAMPP? C:\
Closing tag for PHP scripts ?>
PHP is a loosely type language (no explicitly create, typecast, or destroy a variable) True
MODULE 2 S
Associativity for Expression subgrouping NA
Symbol for OR operatpr ||
Symbol for subtraction
Syntax for for statement for(expr1;expr2;expr3){statement}
if(expression) { statement… } else { statement } How many condition/s 2
Division-assignment symbol /=
Operator for assignment operators =
Multiplication-assignment symbol *=
$v=70; if($v<=70) { echo “hooray”; } else { Echo “hello”; } What is the output? hooray
Concatenation-assignment symbol .=
You can create multiple statements inside of an condition True
Another code for condition Switch
Do is a looping statament False
Operator for shift left, shift right (bitwise) <<>>
Syntax for do… while statement do{statement}while(expr);
$u=30; do{ echo $y++; }while($u<31); What is the output? 30
Syntax for while statement while(expr){statement}
What do you call a condition inside of a condition? Nested if
Which of the following is not a conditional statement? For
$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? June
There will be an error if there is no break inside of the switch case False
Syntax for if statement If(expression){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=1000? Rank A
$x=4; $x++; Echo $x+2 What is the output? 7
You can use many if condition in one php script True
$u=30; do{ echo $y++; }while($u<31); What is the output if $y=33? 33
Symbol for greater than or equal to >=
You can only use string inside of the case statement False [1, 2, 4]
Operator for Object instantiation new
Operator for Ternary operator ?:
$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 (invalid dapat eh)
Symbol for addition +
statement is placed within the code of a loop to cause the program to break out of the loop statement. Break
$x=10; Echo $x++; What is the output? 10
Associativity for assignment operators Right
Addition-assignment symbol +=
elseif is one of the conditional statements in php True
Increment symbol ++
$x=10; Echo ++$x; What is the output? 11
Escape Sequence for horizontal tab \t
Associativity for Object instantiation NA
if(7 __ 4) { echo “true”;} Else { echo “false”;} What is missing code to make the statements true? >
Ternary format ($a == 12) ? 5 : 1
characteristic of operators that determines the order in which they evaluate the operands surrounding them. Operator precedence
$a=10; while($a>0){ echo $a--.” ”; } What is the output if $a is 5? 5 4 3 2 1
$x=0; for($i=1;$i<5;$i++){$x+=$i;} echo $x; What is the outout? i=1 & x=0, 1<5 2 01=1 i= 2 & x= 1, 2<5 3 12=3 i= 3 & x= 3, 3<5 4 3+3=6 i= 4 & x= 6, 4<5 5 6+4 =10 10
How may looping statements in php? 3 while do while for
Symbol for greater than >
$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 one? Invalid
statement is used to jump to other section of the program to support labels. Goto
Symbol for modulus %
Associativity for Bitwise AND, bitwise XOR, bitwise OR Left
You can only use 50 cases for the switch False
Operator for Expression subgrouping ()
$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
$x=0; for($i=1;$i<5;$i++){$x+=$i;} echo $x; What is the output if $x=2 12
statement causes execution of the current loop iteration to end and commence at the beginning of the next iteration. Continue
Symbol for less than or equal to <=
Associativity for Division, multiplication, modulus Left
Associativity for ternary operator Right
$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
symbol that specifies a particular action in an expression. Operator
There is always default inside of the switch False
Operator for index enclosure []
Associativity for Addition, subtraction, concatenation 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=97? Rank A
Which of the following is not a looping statement? Loop
Symbol for NOT !
$x=15; Echo --$x; What is the output? 14
Operator for Bitwise AND, bitwise XOR, bitwise OR & ^ |
What is the output if the value of $v is 100? hello
characteristic of an operator specifies how operations of the same precedence are evaluated as they are executed. Operator associativity
Complete the syntax If(expression){ __________; } Statement
Decrement symbol --
Assignment symbol =
$x=15; Echo $x--; What is the output? 15
Symbol for not equal !=
$x=0; for($i=1;$i<5;$i++){$i+=$i;} echo $x; What is the output? 0
Symbol for multiplication *
Symbol for AND operator &&
Symbol for equal to ==
break statement is placed within the code of a loop to cause the program to break out of the loop statement. True
Associativity for Boolean AND, Boolean OR Left
Created by: jxxnixx
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards