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. An array whose keys are strings; also known as a hash.






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






3. The syntax for connecting to a database






4. bitwise XOR






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






6. a storage location in the computer's memory that has a type & a name and a contents






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






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






9. 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 __________.






10. TRUE or FALSE






11. Active Server Pages






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






13. Function used to round down to the lowest integer






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






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






16. The concatenation operator?






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






18. To get time data






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






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






21. Use ________ to have multiple quotations in one string






22. An array of variables passed in the URL






23. bitwise left shift






24. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






25. To iterate over the keys and values of an array






26. Tag to begin a php script






27. a database which is best supported by PHP






28. collection of binary data






29. A conditional or loop is a ________________.






30. Used to find the length of a string






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






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






33. This will show all error reporting.






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






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






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






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






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






39. To set up error reporting






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






41. Hyper Text Transfer Protocol






42. $_SERVER is a ________ variable.






43. identity






44. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






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


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






47. Asynchronous Javascript And XML






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






49. Document Type Definitions






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