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. Function used to round down to the lowest integer






2. An array whose keys are numbers.






3. bitwise AND






4. The ouput of var_export((bool)"NULL");






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






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






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






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






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






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






11. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






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






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






14. A conditional or loop is a ________________.






15. An array of variables passed in the URL






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






17. Alias of rtrim()






18. Shorthand used to increment and decrement






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






20. standard notation






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






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






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






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






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






26. Search Engine Optimization






27. bitwise XOR






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






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






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






31. PHP has two conditional: if and ______.






32. Asynchronous Javascript And XML






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






34. Hypertext Preprocessor - a server-side programing language used to create webpages






35. container of both data and code






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






37. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






38. identity






39. Operators used to operate and assign






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






41. Uses two arguments: constant name and constant definition






42. Standard Generalized Markup Language






43. TRUE or FALSE






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






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






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






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






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






49. Used to find the length of a string






50. _____ is a logical operator