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 assign keys to the values in an array






2. To close a connection between a database






3. To get over quotation marks while using arrays






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






5. To declare a constant






6. container of both data and code






7. says 'if' this then do this 'else' do this or 'while' this do this






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






9. Alias of rtrim()






10. What You See Is What You Get






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






12. bitwise right shift






13. container of ordered data elements






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






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






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






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






18. standard notation






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






20. Leading 0x: 0x13F or 0xA23






21. a type with two possible values: true and false






22. The output of var_export((float)array());






23. All variables must begin with _________.






24. equivalence






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






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






27. returns the number of matches found by a given search string under this format...






28. Use ________ to have multiple quotations in one string






29. The order of operations.






30. To create an array






31. signed floating-point value






32. signed integer






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






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






35. Converts a string of ASCII characters to hexadecimal values






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






37. the most basic function in PHP used to output information to the page






38. Variable names can begin with __________






39. TRUE or FALSE






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






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






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






43. Used to check if a variable has any value (including 0 or FALSE or an empty string).






44. does a certain action when called upon






45. A conditional or loop is a ________________.






46. Hyper Text Transfer Protocol






47. Variable names cannot begin with _______






48. collection of binary data






49. An array of variables passed in the URL






50. identity