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 user must support the language the script is written in






2. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






3. Hyper Text Markup Language






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






5. Variable names can begin with __________






6. searches the subject for matches to a given pattern replaced with the given replacement text






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






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






9. TRUE or FALSE






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






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






12. leading zero: 0100 or 0567






13. Document Type Definitions






14. To create an array






15. To counter htmlentities()






16. To merge arrays






17. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






18. To set up error reporting






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






20. $_POST and $_GET are ________ variables.






21. This fatal error arises from memory allocation problem.






22. The concatenation operator?






23. When used the value can be passed safely through the URL (GET).






24. To close a connection between a database






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


26. container of ordered data elements






27. any programing language where the script is parsed on the server






28. Operators used to operate and assign






29. The four main error types are:Notice - Warning - ________ and Error.






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






31. EXtensible Markup Language






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






33. To reorganise the array randomly






34. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






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






36. What You See Is What You Get






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






38. Use ________ to have multiple quotations in one string






39. To assign array element values to individual variables






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






41. Search Engine Optimization






42. Uses two arguments: constant name and constant definition






43. Control structures that break exit






44. To refer to an item in an array






45. equivalence






46. Asynchronous Javascript And XML






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






48. container of both data and code






49. The syntax for connecting to a database






50. Used to check if a variable has a valid numerical value; strings with numerical values pass.