Tag: India

  • PHP Quizs Question & Answers Basics of Oriented-1

    Q 1. Which one of the following property scopes is not supported by PHP?A. friendlyB. finalC. publicD. static Show Answer Answer:-A. friendly Explanation PHP supports five class property scopes: public, private, protected, final and static. Q 2. Which one of the following can be used to instantiate an object in PHP assuming class name to…

  • 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 Coding Quizs Question and Answers Arrays – 2

    1. What will be the output of the following PHP code? A. Array ( [0] => LA [1] => Paris [2] => Paris )B.Array ( [0] => NYC [1] => LA [2] => Paris)C. Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris )D. Array ( [0] => LA [1]…

  • 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()…

  • ‘General Knowledge Quizs Question Top’

    Q 1.Distance between the Sun and the Earth Show Answer Answer:-6 million km Q 2.Salar Jung Museum located in Show Answer Answer:-Hyderabad Q 3. Indira Gandhi National centre for arts is in Show Answer Answer:-New Delhi Q 4. Mizoram’s capital Show Answer  Answer:-Aizawl Q 5. Indian T20 Women’s team captain 2016 Show Answer Answer:- Mithali Raj…

  • ‘General Knowledge Quizs Question India’

    Q 1.The scientist who got Nobel prize on malaria is ? Show Answer Answer:-Answer:- Sir Ronald Ross Q 2. Elisa is the test for AIDS but it is caused by virus ? Show Answer Answer:-HIV Q 3. Tooth enamel is made up of ? Show Answer Answer:-calcium phospha Q 4. Birju maharaj composed a song for…

  • Current Affairs Quiz – April, 2023 India

    Q 1.‘Lynx-U2 System’ is an indigenously developed naval gun fire control system, manufactured by which institution? A. HALB. DRDOC. BELD. BHEL Show Answer Answer:-C. BEL Explanation Lynx-U2 System is an indigenously developed naval gun fire control system. The Union Defence Ministry recently signed a contract with BEL for the procurement of 13 of these systems…

You cannot copy content of this page