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. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






2. Function used to round up to the highest integer






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






4. a database which is best supported by PHP






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






6. $_POST Data sent using POST found is sent to _______






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






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






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






10. To merge arrays






11. To get time data






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






13. To determine the amount of elements in an array






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






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






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






17. equivalence






18. 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 __________.






19. signed integer






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






21. $_POST and $_GET are ________ variables.






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






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






24. The concatenation assignment operator?






25. Hyper Text Transfer Protocol






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






27. Shorthand used to increment and decrement






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






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






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






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






32. identity






33. An array whose keys are numbers.






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






35. To sort values of an array without regard to the keys






36. An array of variables passed with <input /> data






37. To remove all HTML and PHP tags.






38. bitwise left shift






39. Control structures that break exit






40. Returns a character from a specified ASCII value






41. Hyper Text Markup Language






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






43. To reorganise the array randomly






44. Operators used to operate and assign






45. TRUE or FALSE






46. EXtensible Markup Language






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






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






49. Uses two arguments: constant name and constant definition






50. To counter htmlentities()