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. any programing language where the user must support the language the script is written in






2. To sort values of an array in reversed order






3. container of both data and code






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






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






6. bitwise XOR






7. Tag to end a php script






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






9. To close a connection between a database






10. bitwise right shift






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






12. leading zero: 0100 or 0567






13. This will show all error reporting except for notice errors.






14. The order of operations.






15. Returns a string with backslashes in front of predefined characters






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






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






18. What You See Is What You Get






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






20. The syntax for connecting to a database






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






22. Converts a string of ASCII characters to hexadecimal values






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






24. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






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






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






27. Operators used to operate and assign






28. To counter htmlentities()






29. This fatal error arises from memory allocation problem.






30. EXtensible Markup Language






31. To refer to an item in an array






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






33. allows you to split strings based on more complex rules






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






35. a positive or negative number






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






37. _________ can be used in conditional statements to set precedence






38. Document Type Definitions






39. To check if a constant is already declared






40. Active Server Pages






41. bitwise left shift






42. Asynchronous Javascript And XML






43. To delete a variable or an element of an array






44. Use ________ to have multiple quotations in one string






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






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






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






48. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






50. To assign array element values to individual variables







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