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. leading zero: 0100 or 0567






2. $_SERVER is a ________ variable.






3. This error arises from misusing a function.






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






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






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






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






8. All variables must begin with _________.






9. To reorganise the array randomly






10. a storage location in the computer's memory that has a type & a name and a contents






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






12. does a certain action when called upon






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






14. PHP has two conditional: if and ______.






15. $_POST and $_GET are ________ variables.






16. To find how many substrings are in a string






17. function Function used to create a random number






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






19. To close a connection between a database






20. Search Engine Optimization






21. _______ is a comparison operator






22. Document Type Definitions






23. addition






24. An array of variables passed in the URL






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






26. _____ is a logical operator






27. To check if a constant is already declared






28. Used to find the length of a string






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






30. This will show all error reporting.






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






32. To create an array






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






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






35. Tag to end a php script






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






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






38. To sort values of an array without regard to the keys






39. Hyper Text Transfer Protocol






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






41. Function used to round down to the lowest integer






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






43. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






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






45. To assign keys to the values in an array






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






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






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






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






50. bitwise AND







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