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 sort by the keys while maintaining the correlation between the key and its value






2. Uses two arguments: constant name and constant definition






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






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






5. Hyper Text Transfer Protocol






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. allows you to split strings based on more complex rules






8. Control structures that break exit






9. Operators used to operate and assign






10. Search Engine Optimization






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






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






13. searches the subject for matches to a given pattern replaced with the given replacement text






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






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






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






17. To sort values of an array in reversed order






18. Active Server Pages






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






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






21. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






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






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






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






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






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






27. Used to find the length of a string






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






29. leading zero: 0100 or 0567






30. addition






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






32. The concatenation assignment operator?






33. function Function used to create a random number






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






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






36. To word wrap after a certain amount of characters.






37. EXtensible Markup Language






38. To close a connection between a database






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






40. Alias of rtrim()






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






42. signed floating-point value






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






44. An array whose keys are numbers.






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






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






47. To remove all HTML and PHP tags.






48. Variable names cannot begin with _______






49. bitwise XOR






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