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 refer to an element in a multidimensional array list the indices in order of _____ to more precise;






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






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






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






5. equivalence






6. This error arises from misusing a function.






7. collection of binary data






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






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






10. Tag to begin a php script






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






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






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






14. Search Engine Optimization






15. Used to find the length of a string






16. addition






17. To refer to an item in an array






18. To get time data






19. Returns a character from a specified ASCII value






20. A conditional or loop is a ________________.






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






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






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






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






25. Function used to round down to the lowest integer






26. To close a connection between a database






27. Function used to round up to the highest integer






28. Variable names can begin with __________






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






30. standard notation






31. function Function used to create a random number






32. used to round numeric values.






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






34. The concatenation operator?






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






36. An array whose keys are numbers.






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






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






39. bitwise XOR






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






41. The order of operations.






42. signed integer






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






44. Tag to end a php script






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






46. All variables must begin with _________.






47. To word wrap after a certain amount of characters.






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






49. To iterate over the values of an array






50. identity