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 delete a variable or an element of an array






2. TRUE or FALSE






3. Tag to begin a php script






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






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






6. The concatenation assignment operator?






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






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






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






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






11. Function used to round up to the highest integer






12. To get over quotation marks while using arrays






13. Search Engine Optimization






14. identity






15. To declare a constant






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






17. Hyper Text Transfer Protocol






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






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






20. An array of variables passed in the URL






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






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


23. The four main error types are:Notice - Warning - ________ and Error.






24. This error arises from misusing a function.






25. The concatenation operator?






26. To find how many substrings are in a string






27. Uses two arguments: constant name and constant definition






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






29. Alias of rtrim()






30. bitwise XOR






31. Hyper Text Markup Language






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






33. Define(NAME,value)






34. a type with two possible values: true and false






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






36. To counter htmlentities()






37. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






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






39. Tag to end a php script






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






41. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






42. To get time data






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






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






45. Active Server Pages






46. standard notation






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






48. What You See Is What You Get






49. bitwise left shift






50. a positive or negative number







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