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 convert all HTML tags into their entity versions.






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






3. Used to replace a substring with another string - it is not case-sensitive.






4. This error arises from misusing a function.






5. Tag to end a php script






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






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






8. Document Type Definitions






9. To sort values of an array in reversed order






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






11. container of both data and code






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






13. To set up error reporting






14. Hyper Text Transfer Protocol






15. equivalence






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






17. container of ordered data elements






18. The syntax for connecting to a database






19. leading zero: 0100 or 0567






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






21. _____ is a logical operator






22. PHP has two conditional: if and ______.






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






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






25. signed floating-point value






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






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






28. To remove all HTML and PHP tags.






29. Variable names cannot begin with _______






30. TRUE or FALSE






31. To sort by the keys while maintaining the correlation between the key and its value






32. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






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






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






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






36. An array whose keys are numbers.






37. Variable names can begin with __________






38. used to round numeric values.






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






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






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






42. bitwise left shift






43. Use ______ when there are no variables in the string






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






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






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






47. To get time data






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






49. Search Engine Optimization






50. Function can you use to format a number with commas







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