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. This fatal error arises from memory allocation problem.






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






3. The concatenation operator?






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






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






6. bitwise left shift






7. ____ or key is referred to for a value within an array.






8. bitwise right shift






9. bitwise XOR






10. A conditional or loop is a ________________.






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






12. Variable names can begin with __________






13. When used the value can be passed safely through the URL (GET).






14. Returns a character from a specified ASCII value






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


16. Use ______ when there are no variables in the string






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






18. equivalence






19. Leading 0x: 0x13F or 0xA23






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






21. container of ordered data elements






22. The syntax for connecting to a database






23. a language in which to make querys to a database with






24. leading zero: 0100 or 0567






25. print $_SERVER will _____ work if you use the print function on arrays.






26. says 'if' this then do this 'else' do this or 'while' this do this






27. Active Server Pages






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






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






30. To sort values of an array in reversed order






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






32. To merge arrays






33. Converts a string of ASCII characters to hexadecimal values






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






35. signed floating-point value






36. To find how many substrings are in a string






37. Hyper Text Transfer Protocol






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






39. To counter htmlentities()






40. To assign array element values to individual variables






41. _____ is a logical operator






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






43. Shorthand used to increment and decrement






44. The four main error types are:Notice - Warning - ________ and Error.






45. container of both data and code






46. An array of variables passed with <input /> data






47. Function used to round up to the highest integer






48. function Function used to create a random number






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






50. Use ______ for search engines or catalogued pages or pages that would be bookmarked.