PHP MCQ Quiz Hub

Current affairs mcq php set 3

Choose a topic to test your knowledge and improve your PHP skills

1. As people gets older, the ability of applying or maintain attention




2. The brain ____ as people gets older.




3. There is __________ in working memory as people gets older.




4. _______ is the sort directly applied on an axis using the sort dialog button.




5. Which of the following is not a feature of Tableau?




6. How many basic steps involved in creating any Tableau data analysis report?




7. Which of the following is not a type of calculation in Tableau?




8. _______ is used to extend the normal data views with some additional features.




9. PHP stands for_________




10. What is the syntax of PHP code ?




11. What is the concatenation operator in PHP?




12. vWhat is the correct way of declaring PHP variables?




13. PHP is the correct way of declaring PHP variables?




14. PHP is __________ scripting language.




15. Which function is used to sort array in ascending order?




16. There are three different kind of arrays:




17. Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use?




18. Two main structures of branching are____________




19. Which of the conditional statements is/are supported by PHP?




20. do-while loop is called as________




21. In a switch-case statement, default can be written__________




22. Basic syntax for calling a function is




23. Which function will return true if a variable is an array or false otherwise?




24. Which of the following PHP function is used to build a function that accepts any number of arguments?




25. Which build-in function will add a value to the end of the array




26. which notation is used to access variables of an object?




27. Which notation should be used to refer to a method in the context of a class rather than an object you use?




28. Which method is invoked just before an object is garbage collected?




29. which one of the following property scopes is not supported by PHP?




30. which function is used to check if class is exists or not?




31. Which keyword is used to refer to properties or methods within the class itself?




32. When you use the $_GET variable to collect data, the data is visible to ___________




33. When you use the $_POST variable to collect data, the data is visible to ____________




34. Which one of the following should not be used while sending passwords or other sensitive information?




35. Which method has larger limit on the amount of data that can be passed to web server?




36. If we use_______ as value for target attribute in form tag, then the response will display in current page only.




37. Which one of following should not be used while sending sensitive information?




38. To validate email address, which flag is passes to filter_val() function?




39. How many function PHP offers for searching and modifying string using PCRE?




40. which of the following is correct about preg_match() function?




41. PHP sessions are created using the _______ function.




42. When you want to store user data in a session use the ________array.




43. Session allow you to




44. In PHP cookies are set by using




45. The attack which involves the insertion of malicious code into a page frequented byy other users is knows as.




46. To remove all global session variables, use




47. To destroy the session, we use




48. Which of the following database is supported by php from beginning




49. Which of the following statement is used to create a table.




50. which of the following statement initialized mysqli class?