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. Use ________ to have multiple quotations in one string






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






3. Active Server Pages






4. A conditional or loop is a ________________.






5. What You See Is What You Get






6. container of ordered data elements






7. To close a connection between a database






8. The output of var_export((float)array());






9. Variable names cannot begin with _______






10. An array whose keys are numbers.






11. identity






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






13. To assign array element values to individual variables






14. addition






15. a positive or negative number






16. Operators used to operate and assign






17. All variables must begin with _________.






18. used to round numeric values.






19. container of both data and code






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






21. leading zero: 0100 or 0567






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


23. To determine the amount of elements in an array






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






25. To get time data






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






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






28. To assign keys to the values in an array






29. To refer to an item in an array






30. To set up error reporting






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






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






33. a database which is best supported by PHP






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






35. The concatenation operator?






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






37. Used to check if a variable has any value (including 0 or FALSE or an empty string).






38. $_POST and $_GET are ________ variables.






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






40. Function used to round up to the highest integer






41. Leading 0x: 0x13F or 0xA23






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






43. To merge arrays






44. function Function used to create a random number






45. collection of binary data






46. The concatenation assignment operator?






47. Tag to begin a php script






48. Standard Generalized Markup Language






49. bitwise AND






50. This fatal error arises from memory allocation problem.