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. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






2. To include files - _______ will give errors and _________ will terminate execution().






3. TRUE or FALSE






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






5. The order of operations.






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






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






8. To iterate over the keys and values of an array






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






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






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






12. _____ is a logical operator






13. Asynchronous Javascript And XML






14. To create an array






15. The concatenation operator?






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






17. The syntax for connecting to a database






18. This error arises from misusing a function.






19. Document Type Definitions






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






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






22. signed integer






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






24. Active Server Pages






25. Used to find the amount of words in a string.






26. a positive or negative number






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






28. any programing language where the script is parsed on the server






29. Used to find the length of a string






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






31. container of ordered data elements






32. used to round numeric values.






33. Variable names cannot begin with _______






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






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






36. This fatal error arises from memory allocation problem.






37. bitwise right shift






38. To merge arrays






39. To sort by the keys while maintaining the correlation between the key and its value






40. bitwise AND






41. To sort values of an array in reversed order






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






43. Returns a character from a specified ASCII value






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






45. Returns a string with backslashes in front of predefined characters






46. Tag to end a php script






47. To reorganise the array randomly






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






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






50. identity






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests