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. container of both data and code






3. used to round numeric values.






4. Used to find the length of a string






5. To refer to an item in an array






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






7. To get over quotation marks while using arrays






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






9. Alias of rtrim()






10. $_SERVER is a ________ variable.






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






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






13. To close a connection between a database






14. To sort values of an array in reversed order






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






16. A conditional or loop is a ________________.






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






18. identity






19. PHP has two conditional: if and ______.






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






21. The concatenation assignment operator?






22. leading zero: 0100 or 0567






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






24. To assign array element values to individual variables






25. Use ________ to have multiple quotations in one string






26. bitwise XOR






27. bitwise left shift






28. Function used to round up to the highest integer






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






30. This error arises from misusing a function.






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


32. An array of variables passed in the URL






33. bitwise AND






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






35. TRUE or FALSE






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






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






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






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






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






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






42. To counter htmlentities()






43. An array whose keys are strings; also known as a hash.






44. addition






45. Converts a string of ASCII characters to hexadecimal values






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






47. Define(NAME,value)






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






49. Active Server Pages






50. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests