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. Tag to end a php script






2. Alias of rtrim()






3. The syntax for connecting to a database






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






5. Variable names can begin with __________






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






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






8. PHP has two conditional: if and ______.






9. Active Server Pages






10. Document Type Definitions






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






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


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






14. $_POST Data sent using POST found is sent to _______






15. Hyper Text Markup Language






16. Standard Generalized Markup Language






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






18. TRUE or FALSE






19. ____ or key is referred to for a value within an array.






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






21. An array whose keys are numbers.






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






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






24. _______ is a comparison operator






25. To declare a constant






26. All variables must begin with _________.






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






28. $_SERVER is a ________ variable.






29. To sort values of an array in reversed order






30. Operators used to operate and assign






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






32. The concatenation assignment operator?






33. a positive or negative number






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






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






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






37. Asynchronous Javascript And XML






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






39. Used to check if a variable has any value (including 0 or FALSE or an empty string).






40. Hyper Text Transfer Protocol






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






42. To set up error reporting






43. This will show all error reporting.






44. To refer to an item in an array






45. This error arises from misusing a function.






46. To assign keys to the values in an array






47. EXtensible Markup Language






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






49. What You See Is What You Get






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







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