Tag: Knowledge
-
Python Questions and Answers – Sets – 3
Python Multiple Choice Questions & Answers (MCQs) focuses on “Sets – 3”. Q 1. Which of the following functions will return the symmetric difference between two sets, x and y?A. x | yB. x ^ yC. x & yD. x – y Show Answer Answer:-B. x ^ y Explanation The function x ^ y returns…
-
Current Affairs Quiz – April 2025
Q 1.Where was the WHO Second Global Conference on Air Pollution and Health 2025 organized? A. Geneva, SwitzerlandB. Cartagena, ColombiaC. Paris, FranceD. New Delhi, India Show Answer Answer:-B. Cartagena, Colombia Explanation The Second World Health Organization (WHO) Global Conference on Air Pollution and Health was held in Cartagena, Colombia. It was co-organized by WHO, Colombia,…
-
PHP Questions & Answers – PHP Filter
PHP Multiple Choice Questions & Answers (MCQs) focuses on “PHP Filter”. Q 1. Which of the following is/are an external data? i) Cookiesii) Input data from a formiii) Server Variablesiv) Web services dataA. Only ii)B. ii) and iii)C. Only iii)D. i), ii), iii) and iv) Show Answer Answer:-D. i), ii), iii) and iv) Explanation The…
-
PHP Questions & Answers – Exception Handling
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Exception Handling”. Q 1. Which version of PHP was added with Exception handling?A. PHP 4B. PHP 5C. PHP 5.3D. PHP 6 Show Answer Answer:-B. PHP 5 Explanation Exception handling was added to PHP with the version 5 release, and further enhanced with version 5.3. Q 2. How…
-
Python Questions and Answers – Sets – 2
Python Multiple Choice Questions & Answers (MCQs) focuses on “Sets – 2”. Q 1. Which of these about a frozenset is not true?A. Mutable data typeB. Allows duplicate valuesC. Data type with unordered valuesD. Immutable data type Show Answer Answer:-A. Mutable data type Explanation A frozenset is an immutable data type. Q 2. What is…
-
Python Multiple Choice Questions – Sets
Python Multiple Choice Questions & Answers (MCQs) focuses on “Sets”. Q1. Which of these about a set is not true?A. Immutable data typeB. Does not allow duplicate valuesC. Data type with unordered valuesD. Mutable data type Show Answer Answer:-A. Immutable data type Explanation A set is a mutable data type with non-duplicate, unordered values, providing…
-
PHP Questions & Answers – Error Handling
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Error Handling”. Q 1. How many error levels are available in PHP?A. 14B. 15C. 16D. 17 Show Answer Answer:-C. 16 Explanation Whenever the PHP engine encounters any problem that prevents a script from running properly it generates an error message. There are sixteen error levels and…
-
PHP Questions & Answers – Advanced Object-Oriented PHP
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Advanced Object-Oriented PHP”. Q 1. Which of the following advanced OOP features is/are not supported by PHP? i) Method overloadingii) Multiple Inheritanceiii) Namespacesiv) Object CloningA. i)B. ii)C. i) and ii)D. iii) and iv) Show Answer Answer:-C. i) and ii) Explanation The advanced OOP features are: Object…
-
Python Questions and Answers – Tuples-3
Python Multiple Choice Questions & Answers (MCQs) focuses on “Tuples – 3”. Q 1. Is the following Python code valid? >>> a,b,c=1,2,3>>> a,b,cA. Yes, [1,2,3] is printedB. No, invalid syntaxC. Yes, (1,2,3) is printedD. 1 is printed Show Answer Answer:-C. Yes, (1,2,3) is printed Explanation A tuple needn’t be enclosed in parenthesis. Q 2. What…
-
C++ Programming Questions and Answers – Design of Class Hierarchies
online C++ Multiple Choice Questions focuses on “Design of Class Hierarchies”. One shall practice these questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be…