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. Function used to round up to the highest integer






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






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






4. This error arises from misusing a function.






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






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






7. equivalence






8. Hyper Text Markup Language






9. All variables must begin with _________.






10. a database which is best supported by PHP






11. bitwise right shift






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






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






14. leading zero: 0100 or 0567






15. bitwise left shift






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






17. Function used to round down to the lowest integer






18. Variable names cannot begin with _______






19. Shorthand used to increment and decrement






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






21. Use ________ to have multiple quotations in one string






22. To declare a constant






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






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






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


26. To sort values of an array in reversed order






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






28. $_POST and $_GET are ________ variables.






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






30. To sort the values while maintaining the correlation between each value and its key - in reversed order






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






32. To iterate over the values of an array






33. To determine the amount of elements in an array






34. Standard Generalized Markup Language






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






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






37. The concatenation operator?






38. returns the number of matches found by a given search string under this format...






39. Leading 0x: 0x13F or 0xA23






40. Use ______ when there are no variables in the string






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






42. To assign array element values to individual variables






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






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






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






46. Operators used to operate and assign






47. Creates a pointer to a file with the declared mode (read - write -etc.).






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






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






50. does a certain action when called upon







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