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. The ouput of var_export((bool)"NULL");






2. collection of binary data






3. To sort values of an array in reversed order






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






5. To close a connection between a database






6. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






7. Used to find the length of a string






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






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






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






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






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






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






14. Returns a character from a specified ASCII value






15. Operators used to operate and assign






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






17. This fatal error arises from memory allocation problem.






18. $_SERVER is a ________ variable.






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






20. Hyper Text Markup Language






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






22. _______ is a comparison operator






23. bitwise AND






24. Active Server Pages






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






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






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






28. PHP has two conditional: if and ______.






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






30. signed floating-point value






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






32. To determine the amount of elements in an array






33. Hyper Text Transfer Protocol






34. Tag to begin a php script






35. leading zero: 0100 or 0567






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






37. Define(NAME,value)






38. container of ordered data elements






39. Function used to round down to the lowest integer






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






41. To get time data






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






43. a database which is best supported by PHP






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






45. To create an array






46. signed integer






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






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






49. Use ________ to have multiple quotations in one string






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