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. This will show all error reporting except for notice errors.






2. The concatenation operator?






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






4. used to round numeric values.






5. Uses two arguments: constant name and constant definition






6. This will show all error reporting.






7. Asynchronous Javascript And XML






8. All variables must begin with _________.






9. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






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






11. To get time data






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






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






14. The order of operations.






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






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






17. Function used to round down to the lowest integer






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






19. identity






20. bitwise left shift






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






22. standard notation






23. a line of information that can be stored in a variable or used in a function or statement






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






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






26. Alias of rtrim()






27. To check if a constant is already declared






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






29. This error arises from misusing a function.






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






31. a positive or negative number






32. bitwise XOR






33. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






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






35. Tag to begin a php script






36. The syntax for connecting to a database






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






38. Variable names can begin with __________






39. To declare a constant






40. To counter htmlentities()






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






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






43. Function used to round up to the highest integer






44. Hyper Text Markup Language






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






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






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






48. This fatal error arises from memory allocation problem.






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






50. Operators used to operate and assign