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. To merge arrays






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






3. signed integer






4. To declare a constant






5. Hyper Text Transfer Protocol






6. An array of variables passed in the URL






7. Search Engine Optimization






8. allows you to split strings based on more complex rules






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






10. Returns a string with backslashes in front of the specified characters






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






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






13. Variable names cannot begin with _______






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






15. Control structures that break exit






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






17. All variables must begin with _________.






18. used to round numeric values.






19. This fatal error arises from memory allocation problem.






20. To create an array






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






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






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






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






25. The ouput of var_export((bool)"NULL");






26. does a certain action when called upon






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






28. Standard Generalized Markup Language






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






30. The concatenation operator?






31. standard notation






32. To assign array element values to individual variables






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






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


35. To set up error reporting






36. a database which is best supported by PHP






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






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






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






40. equivalence






41. collection of binary data






42. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






43. Use ________ to have multiple quotations in one string






44. The syntax for connecting to a database






45. To refer to an item in an array






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






47. function Function used to create a random number






48. _______ is a comparison operator






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






50. The concatenation assignment operator?