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. Used to find the amount of words in a string.






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






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






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






5. Used to encrypt values - it is a one-way encryption method






6. The syntax for connecting to a database






7. Search Engine Optimization






8. signed floating-point value






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






10. To merge arrays






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






12. identity






13. To declare a constant






14. does a certain action when called upon






15. Used to convert all HTML tags into their entity versions.






16. To close a connection between a database






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






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






19. To get time data






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






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






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






23. The array that stores variables specific to a user's visit






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






25. To find how many substrings are in a string






26. standard notation






27. To counter htmlentities()






28. When used the value can be passed safely through the URL (GET).






29. a positive or negative number






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






31. Alias of rtrim()






32. bitwise right shift






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






34. A conditional or loop is a ________________.






35. Control structures that break exit






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






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






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






39. This will show all error reporting.






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






41. Variable names cannot begin with _______






42. Hyper Text Transfer Protocol






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






44. A data structure that can hold a number of items of data of the same type eg. a list of names






45. Hyper Text Markup Language






46. To remove all HTML and PHP tags.






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






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






49. print $_SERVER will _____ work if you use the print function on arrays.






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







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