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. To reorganise the array randomly






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






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






4. Search Engine Optimization






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






6. Standard Generalized Markup Language






7. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






8. used to round numeric values.






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






10. To sort by the keys while maintaining the correlation between the key and its value






11. a positive or negative number






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






13. To declare a constant






14. To merge arrays






15. Converts a string of ASCII characters to hexadecimal values






16. To find how many substrings are in a string






17. signed floating-point value






18. To check if a constant is already declared






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






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






21. Control structures that break exit






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






23. addition






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






25. To assign keys to the values in an array






26. A data structure that can hold a number of items of data of the same type eg. a list of names






27. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






28. Tag to end a php script






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






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






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






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






33. Alias of rtrim()






34. Document Type Definitions






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






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






37. This will show all error reporting.






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






39. The order of operations.






40. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






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






42. equivalence






43. _________ can be used in conditional statements to set precedence






44. Function used to round up to the highest integer






45. Used to convert all HTML tags into their entity versions.






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






47. Shorthand used to increment and decrement






48. The concatenation operator?






49. $_POST and $_GET are ________ variables.






50. TRUE or FALSE






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