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. signed floating-point value






2. used to round numeric values.






3. An array whose keys are numbers.






4. To close a connection between a database






5. standard notation






6. To refer to an item in an array






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






8. Returns a character from a specified ASCII value






9. PHP has two conditional: if and ______.






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






11. a line of information that can be stored in a variable or used in a function or statement






12. Define(NAME,value)






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






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






15. Function used to round down to the lowest integer






16. What You See Is What You Get






17. To counter htmlentities()






18. To assign keys to the values in an array






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






20. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






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






22. To delete a variable or an element of an array






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






24. To remove all HTML and PHP tags.






25. To determine the amount of elements in an array






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






27. bitwise right shift






28. Shorthand used to increment and decrement






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






30. Standard Generalized Markup Language






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






32. Uses two arguments: constant name and constant definition






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






34. collection of binary data






35. Returns a string with backslashes in front of predefined characters






36. _________ can be used in conditional statements to set precedence






37. To find how many substrings are in a string






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






39. This fatal error arises from memory allocation problem.






40. the most basic function in PHP used to output information to the page






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






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






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






44. signed integer






45. EXtensible Markup Language






46. To get time data






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






48. Used to encrypt values - it is a one-way encryption method






49. Tag to begin a php script






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