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. Asynchronous Javascript And XML






2. Control structures that break exit






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






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






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






6. signed floating-point value






7. used to round numeric values.






8. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






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






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






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






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






13. A conditional or loop is a ________________.






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






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






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






17. To assign array element values to individual variables






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






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






20. _______ is a comparison operator






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






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






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






24. To counter htmlentities()






25. The syntax for connecting to a database






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






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






28. This fatal error arises from memory allocation problem.






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






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






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






32. Tag to end a php script






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






34. An array whose keys are numbers.






35. leading zero: 0100 or 0567






36. EXtensible Markup Language






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






38. To find how many substrings are in a string






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






40. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






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






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






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






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






45. function Function used to create a random number






46. Variable names can begin with __________






47. An array of variables passed in the URL






48. Document Type Definitions






49. Returns a character from a specified ASCII value






50. equivalence







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