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 replace a substring with another string - it is not case-sensitive.






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






3. To remove all HTML and PHP tags.






4. To set up error reporting






5. addition






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






7. either hasn't yet been set or is assigned NULL value






8. identity






9. Asynchronous Javascript And XML






10. Leading 0x: 0x13F or 0xA23






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






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






13. container of both data and code






14. a positive or negative number






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






16. bitwise AND






17. To find how many substrings are in a string






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






19. To sort values of an array in reversed order






20. To iterate over the values of an array






21. Control structures that break exit






22. Use ______ when a variable contains any amount of variables; in general.






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






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


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






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






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






28. Function used to round up to the highest integer






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






30. signed integer






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






32. This error arises from misusing a function.






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






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






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






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






37. $_SERVER is a ________ variable.






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






39. To check if a constant is already declared






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






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






42. An array of variables passed in the URL






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






44. Hyper Text Markup Language






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






46. To include files - _______ will give errors and _________ will terminate execution().






47. the most basic function in PHP used to output information to the page






48. signed floating-point value






49. Operators used to operate and assign






50. standard notation