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 word wrap after a certain amount of characters.






2. An array of variables passed in the URL






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






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






5. To refer to an item in an array






6. The concatenation assignment operator?






7. Asynchronous Javascript And XML






8. Use ________ to have multiple quotations in one string






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






10. The concatenation operator?






11. To iterate over the values of an array






12. This error arises from misusing a function.






13. Tag to end a php script






14. ___________ can be used with substr() to count backward






15. Alias of rtrim()






16. bitwise XOR






17. Operators used to operate and assign






18. signed integer






19. To sort values of an array in reversed order






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






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






22. Control structures that break exit






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






24. a positive or negative number






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






26. Leading 0x: 0x13F or 0xA23






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






28. Variable names can begin with __________






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






30. Shorthand used to increment and decrement






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






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






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






34. Converts a string of ASCII characters to hexadecimal values






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






36. Active Server Pages






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






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






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






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






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






42. Define(NAME,value)






43. Function used to round up to the highest integer






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






45. To get time data






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






47. PHP has two conditional: if and ______.






48. To check if a constant is already declared






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






50. To create an array