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 sort values of an array in reversed order






2. What You See Is What You Get






3. PHP has two conditional: if and ______.






4. Function used to round up to the highest integer






5. Function used to round down to the lowest integer






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






7. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


8. Hyper Text Markup Language






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






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






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






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






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






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






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






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






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






18. Document Type Definitions






19. bitwise left shift






20. Tag to end a php script






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






22. The order of operations.






23. To determine the amount of elements in an array






24. EXtensible Markup Language






25. To merge arrays






26. TRUE or FALSE






27. a database which is best supported by PHP






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






29. To counter htmlentities()






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






31. either hasn't yet been set or is assigned NULL value






32. container of both data and code






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






34. Uses two arguments: constant name and constant definition






35. Hypertext Preprocessor - a server-side programing language used to create webpages






36. Control structures that break exit






37. collection of binary data






38. Variable names can begin with __________






39. container of ordered data elements






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






41. To find how many substrings are in a string






42. Use ________ to have multiple quotations in one string






43. An array of variables passed in the URL






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






45. bitwise XOR






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






47. To create an array






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






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






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






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