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 assign array element values to individual variables






2. _______ is a comparison operator






3. The concatenation operator?






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






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






6. PHP has two conditional: if and ______.






7. Used to find the amount of words in a string.






8. $_SERVER is a ________ variable.






9. The concatenation assignment operator?






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






11. does a certain action when called upon






12. To iterate over the values of an array






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






14. The syntax for connecting to a database






15. To set up error reporting






16. $_POST and $_GET are ________ variables.






17. This fatal error arises from memory allocation problem.






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






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






20. To get over quotation marks while using arrays






21. An array of variables passed with <input /> data






22. standard notation






23. What You See Is What You Get






24. bitwise right shift






25. Alias of rtrim()






26. A conditional or loop is a ________________.






27. An array of variables passed in the URL






28. To reorganise the array randomly






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






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






31. To remove all HTML and PHP tags.






32. equivalence






33. Hyper Text Transfer Protocol






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






35. addition






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






37. Asynchronous Javascript And XML






38. TRUE or FALSE






39. To sort the values while maintaining the correlation between each value and its key - in reversed order






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






41. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






42. a database which is best supported by PHP






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






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






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






46. Leading 0x: 0x13F or 0xA23






47. ____ or key is referred to for a value within an array.






48. Tag to begin a php script






49. signed floating-point value






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






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