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






2. _____ is a logical operator






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






4. To find how many substrings are in a string






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






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






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






8. the most basic function in PHP used to output information to the page






9. a database which is best supported by PHP






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






11. bitwise AND






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






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






14. To sort values of an array in reversed order






15. Leading 0x: 0x13F or 0xA23






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






17. This error arises from misusing a function.






18. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






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






20. bitwise XOR






21. To create an array






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






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


24. Shorthand used to increment and decrement






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






26. collection of binary data






27. $_POST Data sent using POST found is sent to _______






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






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






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






31. To get time data






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






33. leading zero: 0100 or 0567






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






35. Function used to round down to the lowest integer






36. A conditional or loop is a ________________.






37. To get over quotation marks while using arrays






38. Operators used to operate and assign






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






40. To set up error reporting






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






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






43. To iterate over the values of an array






44. Document Type Definitions






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






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






47. To reorganise the array randomly






48. bitwise right shift






49. This fatal error arises from memory allocation problem.






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