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

CCS0043 - FA4

Module 4

QuestionAnswer
Split a string by string Group of answer choices Unset Implode Explode Destroy Explode
Format a number with grouped thousand Group of answer choices Number format Format digit Set digit Number set Number format
$x = rand(5,10);echo $x; What is the minimum value of the output? Group of answer choices 0 Error 10 5 5
You can separate your PHP file and embed it to your html by using PHP include functions. Group of answer choices False True True
$val=643322.7834 echo number_format($val,3,’.’,’,’); what is the output? Group of answer choices 643,322.783 643,322.7834 643322.78 643322.7834 643,322.783
Syntax to stripped white spaces or other characters from the beginning and end of a string. Group of answer choices string strip(string $str [, string $charlist ]) string get(string $str [, string $charlist ]) string trim(string $str [, string $charli string trim(string $str [, string $charlist ])
format character for day of the month, 2 digits with leading zeros Group of answer choices Da DA d D d
Format character for lowercase Ante meridiem and Post meridiem Group of answer choices A a p P a
$val=356342.783 echo number_format($val,2,’.’,’’); what is the output? Group of answer choices 356,342.783 356342.78 356342.783 356,342.78 356342.78
Return the highest value Group of answer choices big() top() max() high() max()
$x = max(5.3, 5 , 6, 3);echo $x; What is the output? Group of answer choices 6 5 5.3 3 6
String number_format( float $number, int _____; ) Group of answer choices $points $dec_points $decimals $thousands_sep $decimals
Syntax for a number format Group of answer choices set_digit number_set number_format format_digit number_format
returns the next lowest integer by rounding the value downwards Group of answer choices floor() round() bottom() down() floor()
Format character for day of the month without leading zeros Group of answer choices z d j m j
Syntax to converts the first character of each word in a string to uppercase Group of answer choices string wordsuc(string $str) string cwords(string $str) string ucwords(string $str) string uwords(string $str) string ucwords(string $str)
Syntax for require once Group of answer choices require_once(filename.php); filename(“require_once”); require_once(“filename.inc”); require_once(filename.inc); require_once(“filename.inc”);
Syntax for implode Group of answer choices int implode ( string $glue , array $pieces ) string implode ( array $pieces ) int implode ( int $glue , array $pieces ) string implode ( array $pieces ) string implode ( string $glue , array $pieces ) string string implode ( string $glue , array $pieces ) string implode ( array $pieces )
strip HTML and PHP tags from a string. Group of answer choices strip_tags() tags_search() tags_get() find_tags() strip_tags()
syntax for random Group of answer choices int ran(void) int random(void) int rand(void) int rndm(void) int rand(void)
$x = ceil(10.01);echo $x; What is the output? Group of answer choices 10 Blank 11 Error 11
Performs the same way as the include function. Generate a fatal error message if file not found stopping the script at that point. Group of answer choices require include require_once include_once require
Syntax for require Group of answer choices require(“filename.inc”); require(filename.php); filename(“require”); require(filename.inc); require(“filename.inc”);
Syntax to make a string’s first character uppercase Group of answer choices string upperfs(string $str) string firstcu(string $str) string fsupper(string $str) string ucfirst(string $str) string ucfirst(string $str)
Return the smallest value Group of answer choices small() low() tiny() min() min()
return the value length of a string Group of answer choices lenstr strlen lengthstring stringlen strlen
Including files can use to write their database connection and so on. Group of answer choices False True True
converts the first character of each word in a string to uppercase Group of answer choices uwords() cwords() wordsuc() ucwords() ucwords()
Syntax for floor Group of answer choices floor() flor() fl() flr() floor()
syntax for position of a string Group of answer choices int strops (string $haystack , mixed $needle [, int $offset = 0 ]) a. int posstr (string $haystack , mixed $needle [, int $offset = 0 ]) int stringpos (string $haystack , mixed $needle [, i int strops (string $haystack , mixed $needle [, int $offset = 0 ]) a. int posstr (string $haystack , mixed $needle [, int $offset = 0 ])
Includes and evaluates the specified file. Generate a warning on failure message if file not found. Group of answer choices require_once include include_once require include
$x = ceil(5.2);echo $x; What is the output? Group of answer choices Blank Error 5 6 6
$x = min(10, 5 , 3, 20);echo $x; What is the output? Group of answer choices 5 10 20 3 3
Same as include function except it includes the file only once. Group of answer choices include require_once require include_once include_once
used to format a local time and date Group of answer choices date() time() time_date() date_time() date()
Format character for a two digit representation of a year Group of answer choices y Y C R y
$x = max(10, 5 , 3, 20);echo $x; What is the output? Group of answer choices 20 10 3 5 20
Format character for English ordinal suffix for the day of the month, 2 characters Group of answer choices E S C D S
Syntax for explode Group of answer choices array explode ( string $delimiter , string $string [, string $limit ] ) array explode ( int $delimiter , string $string [, int $limit ] ) array explode ( string $delimiter , string $string [, int $limit ] ) array explode ( string $delimiter , string $string [, int $limit ] )
$x = floor(5.2);echo $x; What is the output? Group of answer choices Error 5 Blank 6 5
Syntax of define Group of answer choices define(‘value’); define(‘value,’NAME’’); define(‘name’); define(‘NAME’,’value’); define(‘NAME’,’value’);
Format character for whether it’s a leap year Group of answer choices Y L l y L
returns part of a given string Group of answer choices substr strsub strpart partstr substr
Number format can include thousand separator Group of answer choices True False True
can only be assigned a scalar value, like a string or a number. Group of answer choices Contrast Constant Define Construct Constant
Format character for a full textual representation of the day of the week Group of answer choices d l w t l
There will be a warning text if the include file not found Group of answer choices True False True
Syntax for minimum value Group of answer choices mixed low(mixed $value) mixed min(mixed $value) mixed tiny(mixed $value) mixed small(mixed $value) mixed min(mixed $value)
used to generate random integers Group of answer choices ran() rndm() random() rand() rand()
A constant’s value cannot be changed. Group of answer choices False True True
Format character for a textual representation of the day, three letters Group of answer choices DAY D day d D
Format character for numeric representation of a month, with leading zeroes Group of answer choices m r n f m
Format character for a short textual representation of a month, three letters Group of answer choices N Y M R M
In some scripts, a file might be included more than once, causing function redefinitions, variable reassignments, and other possible problems. Group of answer choices True False True
reverse a given string Group of answer choices strrev revstr stringrev revstring strrev
syntax for length of a string Group of answer choices int stringlen (string $string) int strlen (string $string) int lengthstring (string $string) int lenstr (string $string) int strlen (string $string)
syntax to transform a string to lower case Group of answer choices string strtolower (string $str) string stringtolow (string $str) string lowerstr (string $str) string strlow (string $str) string strtolower (string $str)
Syntax for include once Group of answer choices Include_once(“filename.inc”); filename(“include_once”); Include_once(filename.php); Include_once(filename.inc); Include_once(“filename.inc”);
Syntax to strip HTML and PHP tags from a string. Group of answer choices string strip_tags(string $str [, string $allowable_tags ]) string tags_search(string $str[, string $allowable_tags ]) string find_tags(string $str[, string $allowable_tags ]) st string strip_tags(string $str [, string $allowable_tags ])
Format character for number of days in the given month Group of answer choices n t d m t
$x = min(7, 4.7 , 4.25 , 5);echo $x; What is the output? Group of answer choices 7 5 4.25 4.7 4.25
define(‘Max_n’,10); What is the name of the define function? Group of answer choices Max_n 10 Define Max Max_n
Make a string’s first character uppercase Group of answer choices firstcu() ucfirst() fsupper() upperfs() ucfirst()
Syntax to get a part of a given string Group of answer choices string strpart ( string $string , int $start [, int $length ] ) string substr ( string $string , int $start [, int $length ] ) string partstr ( string $string , int $start [, int $length ] string substr ( string $string , int $start [, int $length ] )
stripped white spaces or other characters from the beginning and end of a string. Group of answer choices get() set() trim() strip() trim()
In including files You may write the file with an extension name of ______ rather than .php to serve as a fragment of your program code. Group of answer choices .ind .icl .icd .inc .inc
syntax for reverse a string Group of answer choices string stringrev (string $string) string revstr (string $string) string revstring (string $string) string strrev (string $string) string strrev (string $string)
$x = floor(7.2);echo $x+1; What is the output? Group of answer choices Blank 9 8 Error 8
Format character for numeric representation of the day of the week Group of answer choices r d w n w
Format character for a full textual representation of the month, such as January or March Group of answer choices T J F M F
Format character for the day of the year (starting from 0) Group of answer choices y x d z z
Most of the developers used include functions for their Group of answer choices Titles Body Footer Content Footer
Syntax for ceil Group of answer choices float ceil (float $value) ceil float ($value) $ceil ($float) $value (ceil) float ceil (float $value)
Syntax that used to format a local time and date Group of answer choices string date(string $format [, int $timestamp = time() ]) string time string $format [, int $timestamp = time() ]) () string time_date(string $format [, int $timestamp = time() ]) string date(string $format [, int $timestamp = time() ])
Syntax for maximum value Group of answer choices mixed big(mixed $value) mixed high(mixed $value) mixed top(mixed $value) mixed max(mixed $value) mixed max(mixed $value)
used to declare constants Group of answer choices set function define derive define
Number format can show or hide the decimal places Group of answer choices False True True
Syntax to string white spaces or other characters from the beginning of a string Group of answer choices string btrim(string $str [, string $charlist ]) string strim(string $str [, string $charlist ]) string ctrim(string $str [, string $charlist ]) s string ltrim ( string $str [, string $charlist ] )
Syntax for unset Group of answer choices mixed unset (mixed unset) void unset (void $var) void unset ( mixed $var [, mixed $...] ) mixed unset (void $var) void unset ( mixed $var [, mixed $...] )
destroys the specified variable Group of answer choices unset explode implode destroy unset
strip white spaces or other characters form the end of a string. Group of answer choices strim() rtrim() ctrim() btrim() rtrim()
 

 



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