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. EXtensible Markup Language






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






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






4. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






5. _____ is a logical operator






6. Converts a string of ASCII characters to hexadecimal values






7. Control structure that continue exit - they perform specific statements for a determined number of iterations.






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






9. All variables must begin with _________.






10. Used to find the length of a string






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






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






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






14. bitwise AND






15. allows you to split strings based on more complex rules






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






17. Hyper Text Markup Language






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






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






20. Active Server Pages






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






22. To sort values of an array in reversed order






23. Hyper Text Transfer Protocol






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






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. a database which is best supported by PHP






27. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






28. An array whose keys are numbers.






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






30. bitwise XOR






31. Use ______ when a variable contains any amount of variables; in general.






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






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






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






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






36. Tag to end a php script






37. To create an array






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






39. Search Engine Optimization






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






41. $_POST and $_GET are ________ variables.






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






43. The concatenation assignment operator?






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






45. The syntax for connecting to a database






46. Variable names can begin with __________






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






48. container of both data and code






49. To declare a constant






50. To set up error reporting







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