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. does a certain action when called upon






2. either hasn't yet been set or is assigned NULL value






3. To check if a constant is already declared






4. Document Type Definitions






5. Function used to round down to the lowest integer






6. Function used to round up to the highest integer






7. function Function used to create a random number






8. a language in which to make querys to a database with






9. bitwise right shift






10. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






11. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






12. Tag to end a php script






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






14. Uses two arguments: constant name and constant definition






15. Asynchronous Javascript And XML






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






17. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






18. _____ is a logical operator






19. a positive or negative number






20. bitwise left shift






21. $_POST and $_GET are ________ variables.






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






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






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






25. Function that contains the highest value that rand() can have randomly






26. allows you to split strings based on more complex rules






27. bitwise XOR






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






29. The order of operations.






30. The three types of loops in PHP are: for - while - ____.






31. To merge arrays






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






33. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






34. Returns a character from a specified ASCII value






35. Use ______ when a variable contains any amount of variables; in general.






36. To create an array






37. Variable names cannot begin with _______






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






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






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






41. TRUE or FALSE






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






43. print $_SERVER will _____ work if you use the print function on arrays.






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






45. PHP has two conditional: if and ______.






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






47. a type with two possible values: true and false






48. Converts a string of ASCII characters to hexadecimal values






49. a storage location in the computer's memory that has a type & a name and a contents






50. To set up error reporting







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