Tag: MCQ

  • Important Events & History Canadian Multiple Choice Question

    Important Events & History Canadian Multiple Choice Question

    Q 1. In what year did Canadian Confederation take place? A. 1776 B. 1812 C. 1867 D. 1982 Show Answer Answer:-C. 1867 Q 2. Which four provinces first joined Confederation in 1867? A. Ontario, Quebec, New Brunswick, Nova Scotia B. Ontario, Quebec, PEI, Manitoba C. BC, Alberta, Saskatchewan, Manitoba D. Newfoundland, Labrador, Yukon, Nunavut Show…

  • Government & Politics Questions Canadian Multiple Choice Questions

    Government & Politics Questions Canadian Multiple Choice Questions

    Q 1.What type of government does Canada have? A. Republic B. Constitutional Monarchy C. Absolute Monarchy D. Dictatorship Show Answer Answer:-B. Constitutional Monarchy Q 2. Who is the current Head of State in Canada? A. The Prime Minister B. The King C. The Governor General D. The Chief Justice Show Answer Answer:-B. The King Q…

  • Geography & Water Bodies Questions Canadian Multiple Choice Questions.

    Geography & Water Bodies Questions Canadian Multiple Choice Questions.

    Q 1. What is the capital city of Canada? A. Toronto B. Vancouver C. Ottawa D. Montreal Show Answer Answer:-C. Ottawa Q 2. Which is the largest province in Canada by land area? A. Ontario B. Quebec C. British Columbia D. Alberta Show Answer Answer:-B. Quebec Q 3. Which Canadian territory is the largest by…

  • C++ Programming Questions and Answers – Exception Handling – 2

    C++ Programming Questions and Answers – Exception Handling – 2

    C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Exception Handling – 2”. Q 1. Where should we place catch block of the derived class in a try-catch block?A. Before the catch block of Base classB. After the catch block of Base classC. Anywhere in the sequence of catch blocksD. After all the catch…

  • Python Decorators MCQ Quiz Best Question 2026

    Python Decorators MCQ Quiz Best Question 2026

    Part 1: Basics and Syntax Q 1. What is a decorator in Python? A. A way to delete functions B. A function that takes another function and extends its behavior without explicitly modifying it C. A tool used to compile Python code into C++ D. A class method used for garbage collection Show Answer Answer:-B.…

  • C++ Programming Questions and Answers – Exceptions That Are Not Errors

    C++ Programming Questions and Answers – Exceptions That Are Not Errors

    C++ MCQs (multiple choice questions) focuses on “Exceptions That Are Not Errors”. One shall practice these MCQs 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…

  • Python Multiple Choice Questions – Argument Parsing

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Argument Parsing”. Q 1. What is the type of each element in sys.argv?A. setB. listC. tupleD. string Show Answer Answer:-D. string Explanation It is a list of strings. Q 2. What is the length of sys.argv?A. number of argumentsB. number of arguments + 1C. number of…

  • Python Questions and Answers – Argument Parsing 2

    Python Questions and Answers – Argument Parsing 2

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Argument Parsing”. Q 1. What will be the output of the following Python code? def foo(k):k = [1]q = [0]foo(q)print(q)A. [0]B. [1]C. [1, 0]D. [0, 1] Show Answer Answer:-A. [0] Explanation A new list object is created in the function and the reference is lost. This…

  • Python Multiple Choice Questions – Function

    Python Multiple Choice Questions – Function

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Function”. Q 1. Which of the following is the use of function in python?A. you can’t also create your own functions B. Functions don’t provide better modularity for your applicationC. Functions are reusable pieces of programsD. All of the mentioned Show Answer Answer:-C. Functions are reusable…

  • Python Questions and Answers – Global vs Local Variables – 2

    Python Questions and Answers – Global vs Local Variables – 2

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Global vs Local Variables – 2”. Q 1. Which of the following data structures is returned by the functions globals() and locals()?A. listB. setC. dictionaryD. tuple Show Answer Answer:-C. dictionary Explanation Both the functions, that is, globals() and locals() return value of the data structure dictionary.…