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. Active Server Pages






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






3. To reorganise the array randomly






4. Standard Generalized Markup Language






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






6. The three types of loops in PHP are: for - while - ____.






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






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






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






10. bitwise XOR






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






12. signed floating-point value






13. A conditional or loop is a ________________.






14. a positive or negative number






15. Variable names cannot begin with _______






16. $_SERVER is a ________ variable.






17. To get time data






18. _________ can be used in conditional statements to set precedence






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






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






21. Operators used to operate and assign






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






23. _______ is a comparison operator






24. Asynchronous Javascript And XML






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






26. TRUE or FALSE






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






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






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






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






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






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






33. Control structures that break exit






34. either hasn't yet been set or is assigned NULL value






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






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






37. This fatal error arises from memory allocation problem.






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






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






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






41. Uses two arguments: constant name and constant definition






42. This error arises from misusing a function.






43. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






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






45. Search Engine Optimization






46. To merge arrays






47. Tag to end a php script






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






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






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests