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. Creates a pointer to a file with the declared mode (read - write -etc.).






2. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






3. Shorthand used to increment and decrement






4. Returns a character from a specified ASCII value






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






6. Define(NAME,value)






7. Operators used to operate and assign






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






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






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






11. function Function used to create a random number






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


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






14. To counter htmlentities()






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






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






17. To determine the amount of elements in an array






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






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






20. EXtensible Markup Language






21. This error refers to a variable with no value.






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






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






24. To reorganise the array randomly






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






26. addition






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






28. Hyper Text Markup Language






29. PHP has two conditional: if and ______.






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






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






32. This will show all error reporting.






33. bitwise AND






34. Function used to round up to the highest integer






35. To declare a constant






36. $_POST and $_GET are ________ variables.






37. signed floating-point value






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






39. To get time data






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






41. To close a connection between a database






42. Asynchronous Javascript And XML






43. To remove all HTML and PHP tags.






44. What You See Is What You Get






45. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






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






47. This error arises from misusing a function.






48. signed integer






49. Search Engine Optimization






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







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