Tag: dailyprompt-1921
-
Python Quizs Question and Answers Precedence and Associativity – 1
Q 1. The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.A. TrueB. False Show Answer Answer:-A. True Explanation Explanation:- Although the presence of parenthesis does affect the order of precedence, in the case shown above, it is not making a difference. The result of both of these expressions is 1.333333333. Hence the statement…
-
Python Quizs Question and Answers – Variable Names
Q 1. Is Python case sensitive when dealing with identifiers?A. machine dependentB. noC. yesD. none of the mentioned Show Answer Answer:-C. yes Explanation Explanation:- Case is always significant while dealing with identifiers in python. Q 2. What is the maximum possible length of an identifier?A. 31 charactersB. 63 charactersC. 79 charactersD. none of the mentioned…
-
Python Quizs Question and Answers – Core Data Types
Q 1. Which of these in not a core data type?A. ListsB. DictionaryC. TuplesD. Class Show Answer Answer:-D. Class Explanation Explanation:- Class is a user defined data type. Q 2. Given a function that does not return any value, What value is thrown by default when executed in shell.A. intB. boolC. voidD. None Show Answer…
-
Knowledge of Ireland 50- Question Answer 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 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 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…
-
International Current Affairs 2023
Q 1.Which country recently ratified the country’s entry into the Regional Comprehensive Economic Partnership (RCEP)? A. Philippines B. Sri Lanka C.USA D. India Show Answer Answer:-A. Philippines Explanation The Regional Comprehensive Economic Partnership (RCEP) is a free trade agreement between 15 countries in the Asia-Pacific region. The Philippines Senate recently ratified the country’s entry into…
