Tag: 2026
-

Python Questions and Answers – Exception Handling – 3
Python Multiple Choice Questions & Answers (MCQs) focuses on “Exception Handling – 3”. Q 1. What happens if the file is not found in the following Python code?a=Falsewhile not a:try:f_n = input(“Enter file name”)i_f = open(f_n, ‘r’)except:print(“Input file not found”)A. Name errorB. Assertion errorC. Input output errorD. No error Show Answer Answer:-D. No error Explanation…
-

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…
-

Python Questions and Answers – Exception Handling – 2
Python Multiple Choice Questions & Answers (MCQs) focuses on “Exception Handling – 2”. Q 1. The following Python code will result in an error if the input value is entered as -5. assert False, ‘Spanish’A. TrueB. False Show Answer Answer:-A. True Explanation The code shown above results in an assertion error. The output of the…
-

Current Affairs Quiz January 2026
Monthly Roundup, Competitive Exams, General Knowledge, National and International News. Q 1.Which state has become the first in India to establish a national Artificial Intelligence (AI) research institution? A. DelhiB. HaryanaC. Uttar PradeshD. Gujarat Show Answer Answer:-D. Gujarat Explanation Gujarat Government led by Chief Minister (CM) Bhupendra Patel approved the Indian Artificial Intelligence Research Organization…
