Test your basic knowledge |

Php Programming Basics

Subject : it-skills
  • 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. collection of binary data

2. To close a connection between a database

3. bitwise AND

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

5. This will not show error reporting - it will be turned off.

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

7. To assign array element values to individual variables

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

9. Tag to begin a php script

10. ___________ can be used with substr() to count backward

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

12. _____ is a logical operator

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

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

15. Leading 0x: 0x13F or 0xA23

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

17. a positive or negative number

18. Operators used to operate and assign

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

20. Define(NAME,value)

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

22. To refer to an item in an array

23. a database which is best supported by PHP

24. $_POST Data sent using POST found is sent to _______

25. Use ________ to have multiple quotations in one string

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

27. The order of operations.

28. leading zero: 0100 or 0567

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

30. A conditional or loop is a ________________.

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

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

33. EXtensible Markup Language

34. Converts a string of ASCII characters to hexadecimal values

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

36. container of both data and code

37. To set up error reporting

38. What You See Is What You Get

39. Function used to round down to the lowest integer

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

41. The concatenation assignment operator?

42. standard notation

43. To iterate over the values of an array

44. Uses two arguments: constant name and constant definition

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

46. a type with two possible values: true and false

47. signed floating-point value

48. PHP has two conditional: if and ______.

49. This will show all error reporting.

50. To declare a constant