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. Function used to round up to the highest integer






2. a database which is best supported by PHP






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






4. _____ is a logical operator






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






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






7. addition






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






9. This will show all error reporting.






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






11. To reorganise the array randomly






12. All variables must begin with _________.






13. An array of variables passed with <input /> data






14. used to round numeric values.






15. a storage location in the computer's memory that has a type & a name and a contents






16. container of both data and code






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






18. To declare a constant






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






20. Converts a string of ASCII characters to hexadecimal values






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






22. To sort values of an array in reversed order






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






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






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






26. says 'if' this then do this 'else' do this or 'while' this do this






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






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






29. Variable names can begin with __________






30. To assign array element values to individual variables






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






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






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






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






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






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






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






38. Function used to round down to the lowest integer






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






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






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






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






43. collection of binary data






44. Online applications and resources which are available to the general public with very few restrictions






45. Search Engine Optimization






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






47. Returns a string with backslashes in front of predefined characters






48. The order of operations.






49. bitwise right shift






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







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