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. This will show all error reporting except for notice errors.






2. The output of var_export((float)array(0));






3. Tag to begin a php script






4. Variable names can begin with __________






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






6. PHP has two conditional: if and ______.






7. _______ is a comparison operator






8. $_POST and $_GET are ________ variables.






9. Online applications and resources which are available to the general public with very few restrictions






10. Active Server Pages






11. To assign array element values to individual variables






12. To set up error reporting






13. To remove all HTML and PHP tags.






14. The four main error types are:Notice - Warning - ________ and Error.






15. equivalence






16. Hyper Text Transfer Protocol






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






18. This will show all error reporting.






19. Use ______ when there are no variables in the string






20. Use ________ to have multiple quotations in one string






21. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






23. used to round numeric values.






24. Function can you use to format a number with commas






25. To iterate over the values of an array






26. Shorthand used to increment and decrement






27. Function used to find the absolute value of a number or numeric variable






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






29. An array whose keys are numbers.






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






31. Define(NAME,value)






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






33. To include files - _______ will give errors and _________ will terminate execution().






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






35. 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 __________.






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






37. addition






38. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


39. $_POST Data sent using POST found is sent to _______






40. To sort values of an array in reversed order






41. To determine the amount of elements in an array






42. Used to convert all HTML tags into their entity versions.






43. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






44. Leading 0x: 0x13F or 0xA23






45. any programing language where the user must support the language the script is written in






46. Converts a string of ASCII characters to hexadecimal values






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






48. This fatal error arises from memory allocation problem.






49. To sort values of an array without regard to the keys






50. signed floating-point value






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