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. any programing language where the script is parsed on the server






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






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






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






5. Function used to round down to the lowest integer






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






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






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






9. Used to convert certain HTML tags into their entity versions.






10. Standard Generalized Markup Language






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






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






13. Document Type Definitions






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






15. To sort the values while maintaining the correlation between each value and its key - in reversed order






16. Define(NAME,value)






17. A data structure that can hold a number of items of data of the same type eg. a list of names






18. $_SERVER is a ________ variable.






19. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






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


21. This fatal error arises from memory allocation problem.






22. does a certain action when called upon






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






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






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






26. container of both data and code






27. To create an array






28. Control structures that break exit






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






30. To merge arrays






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






32. Function used to round up to the highest integer






33. The concatenation operator?






34. Used to create a substring (referred to as a token) from a larger string






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






36. ____ or key is referred to for a value within an array.






37. Variable names cannot begin with _______






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






39. To get over quotation marks while using arrays






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






41. Variable names can begin with __________






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






43. An array whose keys are numbers.






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






45. Shorthand used to increment and decrement






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






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






48. container of ordered data elements






49. To assign array element values to individual variables






50. bitwise right shift