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. _____ is a logical operator

2. a database which is best supported by PHP

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

4. Used to find the length of a string

5. What You See Is What You Get

6. container of ordered data elements

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

8. equivalence

9. Asynchronous Javascript And XML

10. Converts a string of ASCII characters to hexadecimal values

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

12. bitwise XOR

13. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.

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

15. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.

16. To get over quotation marks while using arrays

17. leading zero: 0100 or 0567

18. Tag to begin a php script

19. Alias of rtrim()

20. container of both data and code

21. Control structures that break exit

22. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED

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

24. The syntax for connecting to a database

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

26. To close a connection between a database

27. Hyper Text Transfer Protocol

28. An array of variables passed in the URL

29. Returns a string with backslashes in front of the specified characters

30. To create an array

31. To word wrap after a certain amount of characters.

32. To set up error reporting

33. To remove all HTML and PHP tags.

34. a positive or negative number

35. To assign array element values to individual variables

36. Operators used to operate and assign

37. The order of operations.

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

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

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

41. bitwise AND

42. used to round numeric values.

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

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

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

46. This will show all error reporting.

47. identity

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

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

50. Active Server Pages