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. says 'if' this then do this 'else' do this or 'while' this do this






2. The concatenation operator?






3. To refer to an item in an array






4. Define(NAME,value)






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






6. Leading 0x: 0x13F or 0xA23






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






8. bitwise right shift






9. Variable names cannot begin with _______






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






11. signed integer






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






13. does a certain action when called upon






14. To get over quotation marks while using arrays






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






16. To check if a constant is already declared






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






18. collection of binary data






19. Standard Generalized Markup Language






20. function Function used to create a random number






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






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






23. The output of var_export((float)array());






24. Converts a string of ASCII characters to hexadecimal values






25. To sort values of an array in reversed order






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






27. The concatenation assignment operator?






28. standard notation






29. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






30. To declare a constant






31. _____ is a logical operator






32. This will show all error reporting.






33. Returns a character from a specified ASCII value






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






35. A conditional or loop is a ________________.






36. Used to find the length of a string






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






38. An array whose keys are numbers.






39. To close a connection between a database






40. The syntax for connecting to a database






41. To set up error reporting






42. Operators used to operate and assign






43. Uses two arguments: constant name and constant definition






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






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






46. The three types of loops in PHP are: for - while - ____.






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






48. bitwise AND






49. To determine the amount of elements in an array






50. Function used to round down to the lowest integer







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests