Test your basic knowledge |

Php Programming Basics

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 the number of matches found by a given search string under this format...






2. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






3. Use ________ to have multiple quotations in one string






4. To declare a constant






5. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






6. Returns a string with backslashes in front of the specified characters






7. any programing language where the script is parsed on the server






8. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






9. To reset an array _______ the array() function to the array






10. This will not show error reporting - it will be turned off.






11. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






12. To find how many substrings are in a string






13. Creates a pointer to a file with the declared mode (read - write -etc.).






14. This will show all error reporting except for notice errors.






15. An array of variables passed in the URL






16. TRUE or FALSE






17. An array of variables passed with <input /> data






18. searches the subject for matches to a given pattern replaced with the given replacement text






19. To sort the values while maintaining the correlation between each value and its key






20. To sort the values while maintaining the correlation between each value and its key - in reversed order






21. The syntax for connecting to a database






22. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






23. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






24. The name of the #! used to designate the location of the PHP binary






25. addition






26. Control structure that continue exit - they perform specific statements for a determined number of iterations.






27. container of both data and code






28. Used to check if a variable has any value (including 0 or FALSE or an empty string).






29. To create an array






30. To iterate over the keys and values of an array






31. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






32. ___________ can be used with substr() to count backward






33. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






34. signed integer






35. Returns a character from a specified ASCII value






36. This error refers to a variable with no value.






37. To close a connection between a database






38. To determine the amount of elements in an array






39. To sort by the keys while maintaining the correlation between the key and its value






40. Leading 0x: 0x13F or 0xA23






41. The output of var_export((float)array());






42. EXtensible Markup Language






43. used to round numeric values.






44. All variables must begin with _________.






45. When used the value can be passed safely through the URL (GET).






46. To counter htmlentities()






47. Variable names can begin with __________






48. The prefix for a dynamic variable - also known as a variable variable






49. The array that stores variables specific to a user's visit






50. a positive or negative number







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests