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. bitwise right shift






2. To merge arrays






3. A conditional or loop is a ________________.






4. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






5. This error arises from misusing a function.






6. Hyper Text Transfer Protocol






7. Hyper Text Markup Language






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






9. Active Server Pages






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






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






12. To sort values of an array in reversed order






13. Tag to end a php script






14. Asynchronous Javascript And XML






15. To get time data






16. Converts a string of ASCII characters to hexadecimal values






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






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






19. Define(NAME,value)






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






21. bitwise left shift






22. used to round numeric values.






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






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






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






26. Leading 0x: 0x13F or 0xA23






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






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






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






30. leading zero: 0100 or 0567






31. The concatenation assignment operator?






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






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






34. signed floating-point value






35. bitwise XOR






36. a positive or negative number






37. This will show all error reporting.






38. container of ordered data elements






39. To refer to an item in an array






40. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






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






42. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






45. collection of binary data






46. EXtensible Markup Language






47. Operators used to operate and assign






48. To create an array






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






50. bitwise AND