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. Search Engine Optimization
preg_replace()
array
SEO
GET
2. a language in which to make querys to a database with
array()
sql
negative numbers
array()
3. Used to convert all HTML tags into their entity versions.
ksort()
htmlentities()
open source
loops
4. Standard Generalized Markup Language
ceil()
!= inequality
SEO
SGML
5. A data structure that can hold a number of items of data of the same type eg. a list of names
Notice
GET
abs()
array
6. Used to encrypt values - it is a one-way encryption method
crypt()
define()
superglobal
1
7. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__
SEO
Magic Constant
fopen()
$varname[key]
8. Asynchronous Javascript And XML
precedence
preg_split()
AJAX
str_word_count()
9. a storage location in the computer's memory that has a type & a name and a contents
float
error_reporting (0)
list()
variable
10. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update
drop
variable
$_POST[]
foreach loop
11. ____ or key is referred to for a value within an array.
index
associative array
fopen()
asort()
12. The concatenation operator?
AJAX
the period; .
client-side programing
foreach loop
13. Returns a character from a specified ASCII value
Shebang
defined()
chr()
substr_count()
14. addition
strlen()
chop()
+
mysql_close($dbc)
15. bitwise AND
WYSIWYG
open source
&
mysql_fetch_array()
16. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;
WYSIWYG
general
1
error_reporting (0)
17. a positive or negative number
include() and require()
asort()
integer
list()
18. To assign array element values to individual variables
XOR
empty()
sort()
list()
19. To close a connection between a database
0
$$
mysql_close($dbc)
preg_split()
20. container of ordered data elements
Array
sort()
open source
the escape character ''
21. Function used to find the absolute value of a number or numeric variable
predefined
abs()
function error_reporting()
shuffle()
22. bitwise XOR
mysql
numbers
^
function
23. The array that stores variables specific to a user's visit
$_SESSION[]
general
mysql_fetch_array()
addcslashes()
24. To sort values of an array in reversed order
Constant
the period; .
rsort()
strlen()
25. TRUE or FALSE
strlen()
single quotes
boolean
foreach loop
26. Use ______ when there are no variables in the string
single quotes
client-side programing
$_SESSION[]
Warning
27. Use ______ when a variable contains any amount of variables; in general.
double quotes
int
===
Warning
28. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.
POST
empty()
if/elseif/else and switch statements
decimal
29. any programing language where the user must support the language the script is written in
GET
client-side programing
null
substr_count()
30. _________ can be used in conditional statements to set precedence
parentheses
integer
double quotes
strip_tags()
31. The output of var_export((float)array());
0
function error_reporting()
associative array
isset()
32. To determine the amount of elements in an array
^
count()
foreach
single quotes
33. Uses two arguments: constant name and constant definition
$$
the escape character ''
number_format()
define()
34. Define(NAME,value)
+
Parse error
Constant
$_GET[]
35. Variable names can begin with __________
isset()
null
underscores
!= inequality
36. To find how many substrings are in a string
substr_count()
error_reporting (0)
boolean
int
37. Returns a string with backslashes in front of predefined characters
shuffle()
?>
addslashes()
+
38. Hyper Text Transfer Protocol
is_numeric()
list()
HTTP
$varname[key]
39. container of both data and code
Object
list()
SGML
^
40. To get over quotation marks while using arrays
mysql_fetch_object()
bin2hex()
1
curly braces
41. $_POST and $_GET are ________ variables.
float
predefined
htmlspecialchars()
define()
42. Tag to begin a php script
?>
<?php
SEO
Notice
43. leading zero: 0100 or 0567
crypt()
shuffle()
octal
count()
44. To declare a constant
define()
is_numeric()
$_SESSION[]
addslashes()
45. collection of binary data
round() Function
string
for ($i = 0; $i < count($array); $i++) {statement(s);}
urlencode()
46. signed integer
mysql_fetch_object()
AJAX
!= inequality
int
47. Alias of rtrim()
Hex
chop()
$dbc = mysql_connect(hostname, username, password)
foreach
48. searches the subject for matches to a given pattern replaced with the given replacement text
preg_replace()
chr()
preg_split()
boolean
49. An array of variables passed with <input /> data
Error
$_POST[]
the escape character ''
curly braces
50. To reorganise the array randomly
shuffle()
strtok()
Notice
DTD
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