Tag: South Australia
-
Top 50 World GK Quizs Question and Answers 2023
Q 1. What is the capital of Iceland? A. Hafnarfjordur B. Reykjavik C. Selfoss D. Vik Show Answer Answer: B. Reykjavik Q 2. What is the national game of Bangladesh? A. Cricket B. Football C. Kabaddi D. Shooting Show Answer Answer: C . Kabaddi Q 3. In which year the First World War begun? A.…
-
Python Quizs Question and Answers – Basic Operators
Q 1. Which is the correct operator for power(xy)?A. X^yB. X**yC. X^^yD. None of the mentioned Show Answer Answer:-B. X**y Explanation Explanation:- In python, power operator is x**y i.e. 2**3=8. Q 2. Which one of these is floor division?A. /B. //C. %D. None of the mentioned Show Answer Answer:-B. // Explanation Explanation:- When both of…
-
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 Questions and Answers – Numeric Types
Q 1. What is the output of print 0.1 + 0.2 == 0.3?A. TrueB. FalseC. Machine dependentD. Error Show Answer Answer:-B. False Explanation Explanation:- Neither of 0.1, 0.2 and 0.3 can be represented accurately in binary. The round off errors from 0.1 and 0.2 accumulate and hence there is a difference of 5.5511e-17 between (0.1…
-
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…
-
PHP Quizs Question & Answers Basics of Object-Oriented PHP- 2
Q 1. Which one of the following functions is used to determine whether a class exists?A. exist()B. exist_class()C. class_exist()D. __exist() Show Answer Answer:-C. class_exist() Explanation The class_exist() function returns true or false according to whether the class exists within the currently executing script content. Q 2. Which one of the following functions is used to…
-
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…
-
International Quizs Question
Q 1. Which river flowing through the Londoan City, England? A. River Thames B. River Severn C. River Severn D. None of the above Show Answer Answer :-A. River Thames Q 2. Which one is the tallest tower in the world ? A. Canton Tower, China B. CN Tower, Canada C. Tokyo Skytree, Japan D.…
-
Python
Q 1. Who developed Python Programming Language?A. Guido van RossumB. Rasmus LerdorfC. Wick van RossumD. Niene Stom Show Answer Answer:-A. Guido van Rossum Explanation Python language is designed by a Dutch programmer Guido van Rossum in the Netherlands. Q 2. Which type of Programming does Python support?A. functional programmingB. object-oriented programmingC. structured programmingD. all of…
-
C Programming
Q 1. Who is the father of C language?A. Steve JobsB. Dennis RitchieC. James GoslingD. Rasmus Lerdorf Show Answer Answer:-B. Dennis Ritchie Explanation Dennis Ritchie is the father of C Programming Language. C programming language was developed in 1972 at American Telephone & Telegraph Bell Laboratories of USA. Q 2. Which of the following is…