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. To assign keys to the values in an array






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






3. Used to create a substring (referred to as a token) from a larger string






4. bitwise right shift






5. To determine the amount of elements in an array






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






7. Used to check if a variable has a valid numerical value; strings with numerical values pass.






8. Function used to round up to the highest integer






9. collection of binary data






10. returns the number of matches found by a given search string under this format...






11. $_POST and $_GET are ________ variables.






12. 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


13. The concatenation assignment operator?






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






15. The order of operations.






16. says 'if' this then do this 'else' do this or 'while' this do this






17. Used to replace a substring with another string - it is not case-sensitive.






18. To sort values of an array in reversed order






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






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






21. To merge arrays






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






23. container of ordered data elements






24. bitwise AND






25. Search Engine Optimization






26. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






27. A data structure that can hold a number of items of data of the same type eg. a list of names






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






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






30. signed integer






31. bitwise XOR






32. Asynchronous Javascript And XML






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






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






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






36. TRUE or FALSE






37. container of both data and code






38. Define(NAME,value)






39. To refer to an item in an array






40. Used to convert certain HTML tags into their entity versions.






41. Document Type Definitions






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






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






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






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






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






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






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






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






50. To get time data