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. This will show all error reporting except for notice errors.






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






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






4. does a certain action when called upon






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






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






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






8. function Function used to create a random number






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






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






11. To set up error reporting






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






13. To determine the amount of elements in an array






14. The prefix for a dynamic variable - also known as a variable variable






15. To reorganise the array randomly






16. bitwise XOR






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






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






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






20. To merge arrays






21. $_POST and $_GET are ________ variables.






22. To remove all HTML and PHP tags.






23. To sort values of an array in reversed order






24. To counter htmlentities()






25. Used to convert certain HTML tags into their entity versions.






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






27. Hyper Text Transfer Protocol






28. To get over quotation marks while using arrays






29. TRUE or FALSE






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






31. To declare a constant






32. Variable names can begin with __________






33. used to round numeric values.






34. Alias of rtrim()






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






36. To assign array element values to individual variables






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






38. Use ________ to have multiple quotations in one string






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






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






41. This error arises from misusing a function.






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






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






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






45. Asynchronous Javascript And XML






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






47. Function used to round up to the highest integer






48. PHP has two conditional: if and ______.






49. Used to encrypt values - it is a one-way encryption method






50. _____ is a logical operator







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