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. collection of binary data






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






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






4. To merge arrays






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






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






7. standard notation






8. Tag to end a php script






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






10. TRUE or FALSE






11. What You See Is What You Get






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






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






14. Uses two arguments: constant name and constant definition






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






16. EXtensible Markup Language






17. To determine the amount of elements in an array






18. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






19. a type with two possible values: true and false






20. The concatenation assignment operator?






21. a line of information that can be stored in a variable or used in a function or statement






22. This fatal error arises from memory allocation problem.






23. This error arises from misusing a function.






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






25. identity






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






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






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






29. To get time data






30. Returns a character from a specified ASCII value






31. Search Engine Optimization






32. An array of variables passed in the URL






33. Alias of rtrim()






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






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






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






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






38. leading zero: 0100 or 0567






39. Operators used to operate and assign






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






41. a positive or negative number






42. To assign array element values to individual variables






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






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






45. _______ is a comparison operator






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






47. The order of operations.






48. function Function used to create a random number






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






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






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