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 sort values of an array in reversed order






2. Used to find the length of a string






3. container of both data and code






4. Function used to round down to the lowest integer






5. Variable names can begin with __________






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






7. identity






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






9. EXtensible Markup Language






10. To determine the amount of elements in an array






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






12. This will show all error reporting.






13. To get time data






14. An array whose keys are numbers.






15. Use ________ to have multiple quotations in one string






16. To counter htmlentities()






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






18. Alias of rtrim()






19. Hyper Text Transfer Protocol






20. container of ordered data elements






21. To create an array






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






23. Control structures that break exit






24. Tag to begin a php script






25. Operators used to operate and assign






26. To close a connection between a database






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






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






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






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






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






32. Leading 0x: 0x13F or 0xA23






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






34. Function used to round up to the highest integer






35. The ouput of var_export((bool)"NULL");






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






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






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


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






40. Define(NAME,value)






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






42. To get over quotation marks while using arrays






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






44. A conditional or loop is a ________________.






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






46. signed floating-point value






47. function Function used to create a random number






48. To assign array element values to individual variables






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






50. Converts a string of ASCII characters to hexadecimal values