SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Php Programming Basics
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. The output of var_export((float)array());
0
DTD
mysql_fetch_array()
array()
2. To remove all HTML and PHP tags.
addslashes()
strip_tags()
array
include() and require()
3. any programing language where the script is parsed on the server
for ($i = 0; $i < count($array); $i++) {statement(s);}
1
==
server-side programing
4. Tag to begin a php script
bin2hex()
define()
<?php
defined()
5. To refer to an item in an array
array()
$varname[key]
the dollar sign $
drop
6. Shorthand used to increment and decrement
unset()
precedence
$var++ and $var
XML
7. Use ________ to have multiple quotations in one string
+= or -= or *= or /=
Magic Constant
POST
the escape character ''
8. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update
index
define()
drop
XML
9. Creates a pointer to a file with the declared mode (read - write -etc.).
sort()
chr()
Parse error
fopen()
10. A conditional or loop is a ________________.
$_POST[]
<<
nl2br()
control structure
11. a positive or negative number
for ($i = 0; $i < count($array); $i++) {statement(s);}
SGML
integer
string
12. signed floating-point value
addslashes()
underscores
getrandmax()
float
13. To determine the amount of elements in an array
string
boolean
count()
$array[] = item
14. Similar to mysql_fetch_array() - but cannot be accessed by integer offset
indexed array
mysql_fetch_object()
the escape character ''
^
15. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED
associative array
E_STRICT
single quotes
XML
16. The ouput of var_export((bool)"NULL");
include() and require()
mysql_close($dbc)
true
preg_split()
17. container of both data and code
addslashes()
Object
Magic Constant
$_POST[]
18. Operators used to operate and assign
define()
drop
curly braces
+= or -= or *= or /=
19. either hasn't yet been set or is assigned NULL value
!= inequality
null
$$
foreach loop
20. An array whose keys are strings; also known as a hash.
defined()
associative array
HTTP
crypt()
21. To delete a variable or an element of an array
addcslashes()
count()
unset()
mysql
22. TRUE or FALSE
boolean
is_numeric()
chr()
wordwrap()
23. To sort values of an array without regard to the keys
Object
!= inequality
sort()
sql
24. a storage location in the computer's memory that has a type & a name and a contents
variable
precedence
predefined variable
addcslashes()
25. container of ordered data elements
Array
the period; .
$_GET[]
sql
26. To sort by the keys while maintaining the correlation between the key and its value
ksort()
boolean
the escape character ''
HTML
27. Function used to round up to the highest integer
ceil()
general
the escape character ''
Hex
28. Tag to end a php script
chop()
open source
?>
fopen()
29. This will show all error reporting except for notice errors.
error_reporting (E_ALL & -E_NOTICE)
array
substr_count()
preg_split()
30. To create an array
list()
.=
>>
array()
31. To get time data
AJAX
drop
date()
string
32. a language in which to make querys to a database with
sql
echo
shuffle()
array()
33. bitwise XOR
preg_replace()
parentheses
Array
^
34. To close a connection between a database
defined()
mysql_fetch_array()
mysql_close($dbc)
ASP
35. What You See Is What You Get
WYSIWYG
^
parentheses
shuffle()
36. Used to replace a substring with another string - it is not case-sensitive.
floor()
reassign
arsort()
str_ireplace()
37. bitwise AND
Notice
numbers
foreach
&
38. Define(NAME,value)
unset()
round() Function
Constant
str_word_count()
39. Use ______ for search engines or catalogued pages or pages that would be bookmarked.
loops
is_numeric()
GET
<<
40. Asynchronous Javascript And XML
defined()
$_SESSION[]
AJAX
parentheses
41. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.
Parse error
&
$_REQUEST
getrandmax()
42. To sort values of an array in reversed order
rsort()
float
open source
underscores
43. ____ or key is referred to for a value within an array.
integer
index
PHP
array
44. All variables must begin with _________.
^
$_POST[]
the dollar sign $
crypt()
45. Function used to round down to the lowest integer
error_reporting (E_ALL & -E_NOTICE)
numbers
integer
floor()
46. Returns a string with backslashes in front of the specified characters
Object
$array[] = item
addcslashes()
HTTP
47. Returns a character from a specified ASCII value
chr()
array
SGML
substr_count()
48. To reset an array _______ the array() function to the array
Constant
error_reporting (E_ALL & -E_NOTICE)
precedence
reassign
49. Returns a string with backslashes in front of predefined characters
Parse error
chr()
addslashes()
int
50. Variable names can begin with __________
ini_set ('display_errors', 1)
superglobal
strip_tags()
underscores
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests