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. The output of var_export((float)array(0));






2. addition






3. a type with two possible values: true and false






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






5. To declare a constant






6. To assign array element values to individual variables






7. Used to find the length of a string






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






9. This will show all error reporting except for notice errors.






10. allows you to split strings based on more complex rules






11. Control structures that break exit






12. Variable names cannot begin with _______






13. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






14. bitwise left shift






15. Operators used to operate and assign






16. EXtensible Markup Language






17. Used to display errors in a particular script - should be placed at top of script.


18. Tag to begin a php script






19. Leading 0x: 0x13F or 0xA23






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






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






22. Uses two arguments: constant name and constant definition






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






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






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






26. To iterate over the values of an array






27. container of ordered data elements






28. does a certain action when called upon






29. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






30. Define(NAME,value)






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






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






33. Alias of rtrim()






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






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






36. To get time data






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






38. A conditional or loop is a ________________.






39. used to round numeric values.






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






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






42. _______ is a comparison operator






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






44. The concatenation operator?






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






46. signed floating-point value






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






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






49. Search Engine Optimization






50. Hyper Text Transfer Protocol