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 delete a variable or an element of an array






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






3. any programing language where the user must support the language the script is written in






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






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


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






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






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






9. This will show all error reporting.






10. The three types of loops in PHP are: for - while - ____.






11. To sort values of an array in reversed order






12. Leading 0x: 0x13F or 0xA23






13. To close a connection between a database






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






15. standard notation






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






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






18. To declare a constant






19. Alias of rtrim()






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






21. Operators used to operate and assign






22. bitwise left shift






23. To create an array






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






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






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






27. Function used to round down to the lowest integer






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






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






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






31. To find how many substrings are in a string






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






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






34. $_SERVER is a ________ variable.






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






36. collection of binary data






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






38. Search Engine Optimization






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






40. used to round numeric values.






41. Tag to begin a php script






42. To counter htmlentities()






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






44. EXtensible Markup Language






45. The order of operations.






46. This error refers to a variable with no value.






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






48. $_POST and $_GET are ________ variables.






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






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