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 round down to the lowest integer






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






4. addition






5. EXtensible Markup Language






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






7. To find how many substrings are in a string






8. Tag to begin a php script






9. This fatal error arises from memory allocation problem.






10. bitwise right shift






11. What You See Is What You Get






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






13. Alias of rtrim()






14. To sort values of an array in reversed order






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






16. To assign keys to the values in an array






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






18. To reorganise the array randomly






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






20. container of ordered data elements






21. collection of binary data






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






23. Operators used to operate and assign






24. An array whose keys are numbers.






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






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






27. To check if a constant is already declared






28. either hasn't yet been set or is assigned NULL value






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






30. Hyper Text Markup Language






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






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






33. _______ is a comparison operator






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






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






36. Search Engine Optimization






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






38. A conditional or loop is a ________________.






39. To iterate over the values of an array






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


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






42. $_POST and $_GET are ________ variables.






43. Used to encrypt values - it is a one-way encryption method






44. Variable names cannot begin with _______






45. _____ is a logical operator






46. To set up error reporting






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






48. a positive or negative number






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






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