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. _________ can be used in conditional statements to set precedence

2. To create an array

3. Active Server Pages

4. container of both data and code

5. To close a connection between a database

6. Hyper Text Markup Language

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

8. $_POST and $_GET are ________ variables.

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

10. Used to display errors in a particular script - should be placed at top of script.

11. To get over quotation marks while using arrays

12. To assign array element values to individual variables

13. To merge arrays

14. To determine the amount of elements in an array

15. bitwise left shift

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

17. Used to replace a substring with another string - it is not case-sensitive.

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

19. Converts a string of ASCII characters to hexadecimal values

20. Hyper Text Transfer Protocol

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

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

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

24. Document Type Definitions

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

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

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

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

29. The syntax for connecting to a database

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

31. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.

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

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

34. container of ordered data elements

35. standard notation

36. This error arises from misusing a function.

37. Operators used to operate and assign

38. The prefix for a dynamic variable - also known as a variable variable

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

40. Alias of rtrim()

41. Function used to round down to the lowest integer

42. To append elements to an array - this will assign item to the next available index; associative arrays get messy.

43. Control structures that break exit

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

45. identity

46. This fatal error arises from memory allocation problem.

47. used to round numeric values.

48. To set up error reporting

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

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