Tag: Answer
-
PHP Quizs Question & Answers Advanced Object-Oriented
Q 1. Which magic method is used to implement overloading in PHP?A. __callB. __invokeC. __wakeupD. __unset Show Answer Answer:-A. __call Explanation When a class implements __call(), then an object of that class is called with a method that doesn’t exist, __call() is called instead. Q 2. The class from which the child class inherits is…
-
Knowledge of Ireland 50- Quizs Question Geography, History and Culture, Famous people from Ireland.
Q 1. In which county is the Giant’s Causeway located? Show Answer Answer:-Antrim Q 2. Which river runs through Dublin? Show Answer Answer:-Liffey Q 3. How many counties does Ireland have? Show Answer Answer:-32 Q 4. Paddy Maloney, Sean Keane, Matt Molloy and Derek Bell are all members of which famous Irish musical band? Show…
-
Current Affairs Quizs Question International
Q 1.Which institution released a report on ‘Contribution of terrestrial animal source food to healthy diets’? A. ICRISATB. NITI AayogC. ICAR D. FAO Show Answer Answer:- D. FAO Explanation The Food and Agriculture Organization (FAO) recently released a report titled “Contribution of terrestrial animal source food to healthy diets for improved nutrition and health outcomes”.…
-
Science and Technology GK Quizs Question
Q 1. How many planets are there in our solar system? A. 7 B. 8 C. 9 D.10 Show Answer Answer:-B. 8 Explanation There are 8 planets in our solar system. Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus and Neptune. Prior to 2006 Pluto was also considered a planet. The International Astronomical Union (IAU) formally…
-
PHP Quizs Question & Answers Arrays – 5
Q 1. What will be the output of the following PHP code? A. Array ( [0] => picture1.JPG [1] => Picture10.jpg [2] => picture2.jpg [3] => picture20.jpg )B. Array ( [0] => picture1.JPG [1] => picture2.jpg [2] => Picture10.jpg [3] => picture20.jpg )C. Array ( [0] => Picture10.jpg [1] => picture1.JPG [2] => picture2.jpg [3]…
-
PHP Quizs Question & Answers Basics – 3
Q 1. Who is the father of PHP?A. Rasmus LerdorfB. Willam MakepieceC. Drek KolkeviD. List Barely Show Answer Answer:-A. Rasmus Lerdorf Explanation PHP was originally created by Rasmus Lerdorf in 1994 Q 2. Which of the conditional statements is/are supported by PHP? i) if statements ii) if-else statements iii) if-elseif statements iv) switch statements A.…
-
PHP Coding Quizs Question & Answers Arrays – 4
Q 1. What will be the output of the following PHP code? A. Array ( [0] => Array ( [1] => Volvo [2] => BMW ) [1] => Array ( [1] => Toyota [2] => Honda ) [2] => Array ( [1] => Mercedes [2] => Opel ) ) B. Array ( [1] => Array…
-
PHP Quizs Question & Answers Arrays -1
1. Which function returns an array consisting of associative key/value pairs?A. count()B. array_count()C. array_count_values()D. count_values() Answer:-C. array_count_values() Explanation: The function array_count_values() will count all the values of an array. It will return an associative array, where the keys will be the original array’s values, and the values are the number of occurrences. 2. What will…
-
PHP Quizs Question & Answers – Basics 2
1. Which of the following PHP statements will output Hello World on the screen? i) echo (“Hello World”); ii) print (“Hello World”); iii) printf (“Hello World”); iv) sprintf (“Hello World”); A. i) and ii)B. i), ii) and iii)C. i), ii), iii) and iv)D. i), ii) and iv) Answer:-B. i), ii) and iii) Explanation: echo(), print()…
-
Irish Ireland Quizs Question and Answers
Q 1. Name the river that flows through Belfast? Show Answer Answer:-Lagan Q 2. What is the most northerly county in Ireland? Show Answer Answer:-Donegal Q 3. Where is the ‘lake isle of Innisfree’? Show Answer Answer:-On Lough Gill, Sligo Q 4. Which C is the river on which Galway stands? Show Answer Answer:-The Corrib…