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 seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






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






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






4. An array of variables passed in the URL






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






6. EXtensible Markup Language






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






8. Returns a character from a specified ASCII value






9. bitwise left shift






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






11. This error arises from misusing a function.






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






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






14. signed integer






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






16. _______ is a comparison operator






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






18. collection of binary data






19. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






20. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






21. What You See Is What You Get






22. An array whose keys are numbers.






23. searches the subject for matches to a given pattern replaced with the given replacement text






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






25. container of ordered data elements






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






27. This fatal error arises from memory allocation problem.






28. bitwise AND






29. Alias of rtrim()






30. Control structures that break exit






31. TRUE or FALSE






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






33. The concatenation assignment operator?






34. A conditional or loop is a ________________.






35. To declare a constant






36. All variables must begin with _________.






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






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






39. The concatenation operator?






40. a positive or negative number






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






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






43. Leading 0x: 0x13F or 0xA23






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






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






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






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






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






49. Converts a string of ASCII characters to hexadecimal values






50. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead