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. leading zero: 0100 or 0567






2. To create an array






3. The order of operations.






4. An array of variables passed in the URL






5. The name of the #! used to designate the location of the PHP binary






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






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






8. Document Type Definitions






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






10. The syntax for connecting to a database






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






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






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






14. The concatenation assignment operator?






15. standard notation






16. allows you to split strings based on more complex rules






17. Returns a character from a specified ASCII value






18. This error arises from misusing a function.






19. function Function used to create a random number






20. To refer to an item in an array






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






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






23. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






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






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






26. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






28. Function used to round up to the highest integer






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






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






31. equivalence






32. To get time data






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






34. To determine the amount of elements in an array






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






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






37. To assign array element values to individual variables






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






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






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






41. Used to create a substring (referred to as a token) from a larger string






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






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






44. To counter htmlentities()






45. a positive or negative number






46. To set up error reporting






47. Online applications and resources which are available to the general public with very few restrictions






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






49. bitwise left shift






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







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