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. returns the number of matches found by a given search string under this format...






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






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






4. When used the value can be passed safely through the URL (GET).






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






6. To counter htmlentities()






7. An array of variables passed in the URL






8. $_SERVER is a ________ variable.






9. To merge arrays






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






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






12. bitwise XOR






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






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






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






16. To create an array






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






18. _______ is a comparison operator






19. standard notation






20. a database which is best supported by PHP






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






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






23. signed floating-point value






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






25. Returns a character from a specified ASCII value






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






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






28. To remove all HTML and PHP tags.






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






30. Uses two arguments: constant name and constant definition






31. To assign array element values to individual variables






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






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


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






35. To close a connection between a database






36. Search Engine Optimization






37. bitwise right shift






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






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






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






41. Tag to begin a php script






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






43. bitwise AND






44. The syntax for connecting to a database






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






46. container of ordered data elements






47. To sort values of an array in reversed order






48. Function used to round down to the lowest integer






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






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







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