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. All variables must begin with _________.






2. Variable names can begin with __________






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






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






5. The syntax for connecting to a database






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






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






8. Tag to end a php script






9. An array whose keys are numbers.






10. What You See Is What You Get






11. signed integer






12. Control structures that break exit






13. Function used to round up to the highest integer






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






15. The output of var_export((float)array(0));






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






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






18. Alias of rtrim()






19. To set up error reporting






20. This will show all error reporting except for notice errors.






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






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






23. leading zero: 0100 or 0567






24. addition






25. Function used to round down to the lowest integer






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






27. a database which is best supported by PHP






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






29. The name of the #! used to designate the location of the PHP binary






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






31. To get time data






32. The concatenation assignment operator?






33. equivalence






34. allows you to split strings based on more complex rules






35. Define(NAME,value)






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






37. Variable names cannot begin with _______






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






39. standard notation






40. To create an array






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






42. The concatenation operator?






43. _______ is a comparison operator






44. An array of variables passed in the URL






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






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






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






48. bitwise right shift






49. Used to find the length of a string






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