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. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






2. Standard Generalized Markup Language






3. The concatenation assignment operator?






4. To remove all HTML and PHP tags.






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






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






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






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






9. a positive or negative number






10. To declare a constant






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






12. Hyper Text Markup Language






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






14. Operators used to operate and assign






15. Used to check if a variable has a valid numerical value; strings with numerical values pass.






16. standard notation






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






18. signed integer






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






20. Asynchronous Javascript And XML






21. addition






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






23. does a certain action when called upon






24. To iterate over the values of an array






25. Returns a character from a specified ASCII value






26. container of ordered data elements






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






28. Function used to round down to the lowest integer






29. Leading 0x: 0x13F or 0xA23






30. To counter htmlentities()






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






32. collection of binary data






33. Function that contains the highest value that rand() can have randomly






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






35. An array of variables passed in the URL






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






37. Active Server Pages






38. container of both data and code






39. Returns a string with backslashes in front of the specified characters






40. To reorganise the array randomly






41. An array whose keys are numbers.






42. To sort values of an array without regard to the keys






43. The order of operations.






44. To merge arrays






45. To refer to an item in an array






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






47. To create an array






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






49. signed floating-point value






50. _____ is a logical operator