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. All variables must begin with _________.






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






3. To create an array






4. does a certain action when called upon






5. Define(NAME,value)






6. TRUE or FALSE






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






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






9. To assign keys to the values in an array






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






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






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






13. equivalence






14. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






15. Function used to find the absolute value of a number or numeric variable






16. The prefix for a dynamic variable - also known as a variable variable






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






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






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






20. To merge arrays






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






22. ___________ can be used with substr() to count backward






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






24. The syntax for connecting to a database






25. To determine the amount of elements in an array






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






27. Asynchronous Javascript And XML






28. Uses two arguments: constant name and constant definition






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






30. Function used to round down to the lowest integer






31. EXtensible Markup Language






32. Shorthand used to increment and decrement






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






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






35. To assign array element values to individual variables






36. An array whose keys are numbers.






37. To get over quotation marks while using arrays






38. Hyper Text Transfer Protocol






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






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






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


42. bitwise left shift






43. To reorganise the array randomly






44. a database which is best supported by PHP






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






46. Used to find the length of a string






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






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






49. To iterate over the values of an array






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







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