1. Home
  2. Trending MCQs

Popular this month

The MCQs learners are opening and practising the most. Updated continuously from real visits.

He did not mean ____ his temper again.

  1. to loss his temper again
  2. to loosen his temper again
  3. to lose his temper again Correct answer
  4. to loose his temper again

133 views this month

MCQSEXAM Read explanation

Why did the Prophet send envoys and letters to Byzantium, Persia, Egypt and Abyssinia mainly after the Treaty of Hudaybiyyah?

  1. The rulers had demanded written letters from the Muslims as part of the treaty terms that they signed
  2. The truce removed the immediate threat from Quraysh and made safe diplomatic outreach possible Correct answer
  3. The Qur'an commanded the writing of letters to rulers only in the sixth year
  4. The Prophet needed their prior permission before he could perform umrah the following year

105 views this month

MCQSEXAM Read explanation

Why does the copy-and-swap assignment operator provide the strong exception guarantee?

  1. Swapping uses move assignment, which the standard requires to be noexcept
  2. The old state is replaced only after the copy has been fully constructed Correct answer
  3. The copy constructor cannot throw once the source object has been locked
  4. It avoids allocating memory, so no allocation failure can occur at all

55 views this month

MCQSEXAM Read explanation

StratifiedKFold is used with n_splits=5 on data where one class has only three members. What does scikit-learn do?

  1. It merges the smallest class into the largest one before splitting
  2. It warns, producing folds where that class is absent from some splits Correct answer
  3. It raises a ValueError, since each class needs at least n_splits rows
  4. It reduces n_splits automatically to the size of the smallest class

50 views this month

MCQSEXAM Read explanation

A private subnet needs outbound internet access for software updates but must not accept inbound connections. What is required?

  1. A NAT gateway inside the private subnet with an elastic IP attached to it
  2. A VPC endpoint for the internet that proxies every outbound HTTPS request
  3. A NAT gateway in a public subnet, plus a route in the private route table Correct answer
  4. An internet gateway attached to the private subnet's own route table

42 views this month

MCQSEXAM Read explanation