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


2. equivalence






3. Document Type Definitions






4. To merge arrays






5. bitwise AND






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






7. This will show all error reporting.






8. Tag to begin a php script






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






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






11. To remove all HTML and PHP tags.






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






13. Active Server Pages






14. The syntax for connecting to a database






15. To iterate over the values of an array






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






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






18. Alias of rtrim()






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






20. The order of operations.






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






22. Tag to end a php script






23. _______ is a comparison operator






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






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






26. $_POST and $_GET are ________ variables.






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






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






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






30. does a certain action when called upon






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






32. Control structures that break exit






33. This error arises from misusing a function.






34. To assign array element values to individual variables






35. Hyper Text Transfer Protocol






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






37. Standard Generalized Markup Language






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






39. _____ is a logical operator






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






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






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






43. a positive or negative number






44. Use ________ to have multiple quotations in one string






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






46. Function used to round down to the lowest integer






47. bitwise XOR






48. This fatal error arises from memory allocation problem.






49. collection of binary data






50. What You See Is What You Get