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. Returns a character from a specified ASCII value

2. bitwise XOR

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

4. To remove all HTML and PHP tags.

5. a database which is best supported by PHP

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

7. Standard Generalized Markup Language

8. bitwise right shift

9. Hyper Text Markup Language

10. Similar to mysql_fetch_array() - but cannot be accessed by integer offset

11. Shorthand used to increment and decrement

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

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

14. To get over quotation marks while using arrays

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

16. This fatal error arises from memory allocation problem.

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

18. Leading 0x: 0x13F or 0xA23

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

20. a positive or negative number

21. 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.

22. container of both data and code

23. Alias of rtrim()

24. Search Engine Optimization

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

26. To merge arrays

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

28. To assign keys to the values in an array

29. Tag to begin a php script

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

31. Converts a string of ASCII characters to hexadecimal values

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

33. A conditional or loop is a ________________.

34. To reset an array _______ the array() function to the array

35. Tag to end a php script

36. does a certain action when called upon

37. Used to convert certain HTML tags into their entity versions.

38. To sort the values while maintaining the correlation between each value and its key - in reversed order

39. PHP has two conditional: if and ______.

40. Control structures that break exit

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

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

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

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

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

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

47. signed floating-point value

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

49. Operators used to operate and assign

50. Used to check if a variable has a valid numerical value; strings with numerical values pass.