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. Active Server Pages






2. To close a connection between a database






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






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






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






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






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






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






9. Uses two arguments: constant name and constant definition






10. Tag to begin a php script






11. Asynchronous Javascript And XML






12. _______ is a comparison operator






13. To determine the amount of elements in an array






14. Control structure that continue exit - they perform specific statements for a determined number of iterations.






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






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






17. Variable names cannot begin with _______






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






19. Returns a character from a specified ASCII value






20. Alias of rtrim()






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






22. Use ________ to have multiple quotations in one string






23. To create an array






24. All variables must begin with _________.






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






26. Converts a string of ASCII characters to hexadecimal values






27. The order of operations.






28. To check if a constant is already declared






29. Hyper Text Markup Language






30. To set up error reporting






31. a positive or negative number






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






33. To sort values of an array in reversed order






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






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






36. To get time data






37. The ouput of var_export((bool)"NULL");






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






39. function Function used to create a random number






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






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






42. An array whose keys are numbers.






43. To get over quotation marks while using arrays






44. Leading 0x: 0x13F or 0xA23






45. signed floating-point value






46. bitwise right shift






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






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






49. searches the subject for matches to a given pattern replaced with the given replacement text






50. a line of information that can be stored in a variable or used in a function or statement