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. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






2. To refer to an item in an array






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






4. Document Type Definitions






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






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






7. The output of var_export((float)array());






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






9. leading zero: 0100 or 0567






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






11. Control structures that break exit






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






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






14. signed integer






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






16. To get time data






17. To sort values of an array in reversed order






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






19. All variables must begin with _________.






20. An array whose keys are numbers.






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






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






23. To iterate over the keys and values of an array






24. To assign keys to the values in an array






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






26. To set up error reporting






27. Leading 0x: 0x13F or 0xA23






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






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






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






31. Hyper Text Transfer Protocol






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






33. bitwise XOR






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






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






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






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






38. To check if a constant is already declared






39. a database which is best supported by PHP






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






41. What You See Is What You Get






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






43. To counter htmlentities()






44. Function used to round up to the highest integer






45. Hyper Text Markup Language






46. print $_SERVER will _____ work if you use the print function on arrays.






47. Variable names cannot begin with _______






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






49. An array of variables passed in the URL






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