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. bitwise AND






2. This error arises from misusing a function.






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






4. An array whose keys are numbers.






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






6. container of both data and code






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






8. equivalence






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






10. _____ is a logical operator






11. The concatenation operator?






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






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






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






15. container of ordered data elements






16. Search Engine Optimization






17. TRUE or FALSE






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






19. To create an array






20. An array of variables passed with <input /> data






21. To merge arrays






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






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






24. Define(NAME,value)






25. used to round numeric values.






26. The array that stores variables specific to a user's visit






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






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






29. Returns a character from a specified ASCII value






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






31. To counter htmlentities()






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






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






34. Standard Generalized Markup Language






35. identity






36. signed integer






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






38. EXtensible Markup Language






39. To get over quotation marks while using arrays






40. The syntax for connecting to a database






41. bitwise left shift






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






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






44. To assign keys to the values in an array






45. function Function used to create a random number






46. An array whose keys are strings; also known as a hash.






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






48. Hyper Text Markup Language






49. Hyper Text Transfer Protocol






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