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. Returns a string with backslashes in front of the specified characters
HTML
control structure
addcslashes()
$_SESSION[]
2. signed floating-point value
GET
array()
error_reporting (E_ALL & -E_NOTICE)
float
3. To refer to an item in an array
.=
nl2br()
$varname[key]
$_REQUEST
4. a storage location in the computer's memory that has a type & a name and a contents
error_reporting (E_ALL & -E_NOTICE)
null
htmlspecialchars()
variable
5. Variable names can begin with __________
predefined variable
underscores
Object
double quotes
6. says 'if' this then do this 'else' do this or 'while' this do this
statement
!= inequality
single quotes
client-side programing
7. Online applications and resources which are available to the general public with very few restrictions
open source
strtok()
HTML
predefined variable
8. collection of binary data
double quotes
string
nl2br()
count()
9. To word wrap after a certain amount of characters.
DTD
mysql
0
wordwrap()
10. equivalence
include() and require()
==
list()
error_reporting (E_ALL & -E_NOTICE)
11. Returns a character from a specified ASCII value
SEO
chr()
substr_count()
negative numbers
12. Used to convert all HTML tags into their entity versions.
Constant
HTTP
Parse error
htmlentities()
13. Leading 0x: 0x13F or 0xA23
Hex
SEO
switch
control structure
14. Use ______ when there are no variables in the string
PHP
==
fopen()
single quotes
15. To include files - _______ will give errors and _________ will terminate execution().
$var++ and $var
echo
general
include() and require()
16. Hyper Text Markup Language
HTML
predefined
drop
DTD
17. Hypertext Preprocessor - a server-side programing language used to create webpages
array
PHP
empty()
+
18. $_POST and $_GET are ________ variables.
if/elseif/else and switch statements
predefined
underscores
preg_split()
19. Alias of rtrim()
numbers
POST
chop()
<<
20. This error refers to a variable with no value.
function
octal
substr_count()
Notice
21. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.
$_REQUEST
getrandmax()
underscores
rsort()
22. Used to find the length of a string
abs()
asort()
true
strlen()
23. Use ________ to have multiple quotations in one string
GET
array()
addslashes()
the escape character ''
24. leading zero: 0100 or 0567
rand()
string
octal
arsort()
25. _____ is a logical operator
XOR
$_GET[]
echo
Warning
26. Control structures that break exit
$var++ and $var
function
if/elseif/else and switch statements
defined()
27. Shorthand used to increment and decrement
str_word_count()
$var++ and $var
SEO
^
28. The concatenation operator?
the period; .
bin2hex()
preg_split()
GET
29. To sort the values while maintaining the correlation between each value and its key - in reversed order
GET
arsort()
sql
true
30. To find how many substrings are in a string
substr_count()
array
asort()
boolean
31. Used to create a substring (referred to as a token) from a larger string
is_numeric()
underscores
strtok()
floor()
32. returns the number of matches found by a given search string under this format...
superglobal
string
preg_match()
1
33. standard notation
abs()
integer
decimal
not
34. a database which is best supported by PHP
boolean
Array
mysql
html_entity_decode()
35. a positive or negative number
bin2hex()
underscores
integer
$array[] = item
36. To determine the amount of elements in an array
count()
HTML
error_reporting (E_ALL)
the period; .
37. Active Server Pages
the escape character ''
integer
ASP
ceil()
38. Tag to begin a php script
double quotes
<?php
echo
str_word_count()
39. To delete a variable or an element of an array
fopen()
ceil()
unset()
$$
40. does a certain action when called upon
ceil()
function
GET
$var++ and $var
41. To sort by the keys while maintaining the correlation between the key and its value
the escape character ''
error_reporting (E_ALL & -E_NOTICE)
ksort()
list()
42. The concatenation assignment operator?
>>
$_SESSION[]
double quotes
.=
43. a line of information that can be stored in a variable or used in a function or statement
abs()
POST
sql
string
44. Used to convert certain HTML tags into their entity versions.
single quotes
str_word_count()
underscores
htmlspecialchars()
45. The syntax for connecting to a database
not
strip_tags()
$dbc = mysql_connect(hostname, username, password)
array()
46. Standard Generalized Markup Language
$_REQUEST
wordwrap()
SGML
loops
47. signed integer
float
int
array_merge()
WYSIWYG
48. Define(NAME,value)
Constant
mysql
sort()
$_REQUEST
49. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;
floor()
general
===
string
50. Variable names cannot begin with _______
&
numbers
predefined variable
the period; .
Sorry!:) No result found.
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