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. Alias of rtrim()






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






3. To assign keys to the values in an array






4. function Function used to create a random number






5. Returns a character from a specified ASCII value






6. Document Type Definitions






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






8. signed floating-point value






9. bitwise left shift






10. collection of binary data






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


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






13. Shorthand used to increment and decrement






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






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






16. container of ordered data elements






17. container of both data and code






18. The concatenation assignment operator?






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






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






21. To merge arrays






22. Leading 0x: 0x13F or 0xA23






23. To iterate over the values of an array






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






25. Active Server Pages






26. standard notation






27. The concatenation operator?






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






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






30. To get over quotation marks while using arrays






31. Hyper Text Markup Language






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






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






34. Used to find the amount of words in a string.






35. The order of operations.






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






37. used to round numeric values.






38. ___________ can be used with substr() to count backward






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






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






41. All variables must begin with _________.






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






43. PHP has two conditional: if and ______.






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






45. To remove all HTML and PHP tags.






46. does a certain action when called upon






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






48. An array whose keys are strings; also known as a hash.






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






50. Variable names cannot begin with _______