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

AppDev_SA2

QuestionAnswer
is used to retain the values calls to the same function - local variable - function variable - global variable - static variable static variable
keyword used to declare a function - use_function - fun - function - func function
same as the include function except it includes the file only once - include_one - include_once one_include - once_include include_once
Make a string's first character uppercase - first - ucfirst - ucletter - upperfirst ucfirst
Performs the same way as the include function - require - required - priority - include_once require
is same as the print_r function except that it prints additional information about the size and type of the values it discovers - var_dump() - dump() - dumpv() - dump_var() var_dump()
sorts by a function - fsort() - sfsort() - function_sort() - usort() usort()
The example of syntax for declaring constants - define('value'); - define('Name'); - define ('NAME','value'); - define ('value','value); define ('NAME','value');
converts string to lowercase - strtolower -lower - tolower - strlower strtolower
Format character for Numeric representation of the day of the week - s - z - m - w w
find the position of the first occurrence of a substring in a given - pos_str -strpos - str_pos - posstr strpos
most of the developers used include functions for their ______ and footer. -back page - title - front page - header header
the point of print_r() and var_dump() functions are to help you visualize what's going on with compound data structures like arrays -true -false True
sorts by key - key_sort() - krsort() - key_sort() - ksort() ksort()
format character for textual representation of a day, three letters (Mon, Tue, Wed, etc) - F - d - M -D D
PHP Array does need to declare how many elements that the array variable have. - true - false False
What is the result of the code? <?php $word = "James Gosling"; echo strtolower($word); ?> - james gosling - jamesgosling - james - gosling james gosling
what is the result of the code? <?php $word = "Java Programming"; echo strpos($word, "java"); ?> - 0 - 1 - blank - 2 blank -bcs hinahanap yung "java" sa word var, since "Java" yung og, false sya so blank output and not error or num
what is the result of the code? <?php $word = "James Gosling"; echo strtoupper($word); ?> - JAMESGOSLING - JAMES GOSLING - JAMES - GOSLING JAMES GOSLING
used to aggregate a series of similar items together, arranging and dereferencing them in some specific way - items - index - series - array array
Syntax for include function - include_function("filename.inc"); - includes("filename.php"); - include_function("filename.php"); - include("filename.inc"); include("filename.inc");
each member of the array index references a corresponding value and can be a simple numerical reference to the value's position in the series, or it could have some direct correlation to the value - true -false true
return the value of the length of a string - string_len - string - strlen - lenstr strlen
a group of PHP statements that performs specific tasks. Functions are -Syntax - Functions - Keyword - Operations Functions
Returns the next lowest integer by rounding the value downwards - floor() - low() - down() - bottom() floor()
join array elements to form a string - combine - join - implode - form implode
what is the value of variable b? <?php function com($a, $b){ echo $a+$b; } $x = 5; $y = 10; com($x,$y); ?> - 10 - 15 - 5 - 0 10
which of the following is the correct declaaration of array -$item_array -$array_item - $item[] - $[]item $item[]
you can seperate your PHP file and embed it to your html by using PHP include functions -true - false true
reverse a given string - revstr - strrev - str_rev - rev_str strrev
used to generate random integers - random_int() - rand() - ran() - random() rand()
return the highest value - maximum() - max() - top() - highest() max()
this takes an argument of any type and prints it out, which includes printing all its parts recursively - r_print() - print_r() - print() - printr() print_r()
split a string by string - change - explode - split - divide explode
converts string to upper - toupper - strtoupper - upper - strupper strtoupper
what is the result of the code? <?php $word = " Programming is Great"; echo strlen($word); ?> - 19 - 20 -21 -22 21 - include sa count ang spaces
with each loop, a foreach statement moves to the next element in an array - true - false true
what is the result of the code? <?php function color(){ echo "red"; } colors(); ?> - error - blank - red - color error - color() and colors() diff function
are designed to allow you to reuse the same code in different locations - keyword - functions - operations - syntax Functions
Format character for a full textual representation of a month, such as January or March - F - M - W - R F
Includes and evaluates the specified file - includes - evaluate - include - evaluates include
destroys the specified variable - delete - destroy - remove - unset unset
what is the variable value of a? <?php function com($a,$b){ echo $a+$b; } $x = 5; $y = 10; com($x,$y); ?> - 10 - 5 - 15 - 0 5
returns a part of a given string - stringsub - strsub - sub_string - substr substr
what is the result of the code <?php $word = "Hello there"; echo strlen($word); ?> - 11 - 12 - 10 -13 11
print_r() and var_fump() functions are commonly used for debbuging. The point of these functions is to help - true - falsee true
Array can be used as ordinary array same as in C and C++ arrays. - true - false true
Array index in PHP can also be called as Array Keys
Strip HTML and PHP tags from a string strip_tags
Sorts by value; keeps the same key asort()
Format character for a two digit representation of a year (05, 04, 25, 26, etc) y
You may write the file with an extension name of ____ rather than .php to serve as a fragment of your program code .inc
is one that declared outside a function and is available to all parts of the programs Global Variable
Sorts by value in reverse order; keeps the same key arsort()
used to format a local time or date date
what is the result of the code? <?php function com($a,$b){ echo $a+$b; } $x = 5; $y = 10; com($x, $y); ?> 15
Return the smallest value min()
format character for the Day of the month, 2 digits with leading zeros (01, 02, 12, etc) d
is a statement used to iterate or loop through the element in an array - foreach() - for - do while - switch foreach()
Stripped white spaces or other characters from the beginning and end of a string - strip - strtoupper - trim - split trim
Returns the next highest integer by rounding the value upward - floor() - upper() - forward() - ciel() ciel()
is declared inside a function and is only available within the function in which it is declared - global var - static var - constant var - local var local variable
What is the result of the code? <?php $word = "Java Programming"; echo strpos($word, "Pro"); ?> - 10 - error - 5 - blank 5
Created by: Jaiii
 

 



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