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. the most basic function in PHP used to output information to the page






2. bitwise AND






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






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






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






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






7. Hyper Text Transfer Protocol






8. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






9. $_POST and $_GET are ________ variables.






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






11. Active Server Pages






12. What You See Is What You Get






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






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






15. a positive or negative number






16. This will show all error reporting.






17. To iterate over the values of an array






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






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






20. Variable names cannot begin with _______






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






22. Control structures that break exit






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






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






25. Uses two arguments: constant name and constant definition






26. To get time data






27. To close a connection between a database






28. _____ is a logical operator






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






30. equivalence






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






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






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






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






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






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






37. TRUE or FALSE






38. The order of operations.






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






40. bitwise XOR






41. The output of var_export((float)array(0));






42. function Function used to create a random number






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






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






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






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






47. Online applications and resources which are available to the general public with very few restrictions






48. To determine the amount of elements in an array






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






50. To refer to an item in an array







Sorry!:) No result found.

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