MCQ Buddy
Search here...
Home MCQ Feed Add Question Programming Portal English Portal Login
  1. Home
  2. Engineering
  3. Python Programming
  4. Question

M

Mr. Dubey • 52.77K Points
Coach

Q. What is the output of the following program :
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)

(A) 0 1 2 0
(B) 0 1 2
(C) Error
(D) None of the above
  • Correct Answer - Option(B)
  • Views: 781
  • Filed under category Python Programming
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs

Q. How many switch points are there in crossbar switch network that connects 9 processors to 6 memory modules?

Q. Consider the 2×2 matrix {{-1,-2},{-3,-4}}. What is the sum of elements of the maximum sum rectangle?

Q. Choose from the following that are Decision Tree nodes?

Q. Cryptography can be divided into ______ types.

Q. In order to fetch the address of the variable we write preceding _________ sign before variable name.

Q. The procedure to add bits to the last block is termed as _________________

Q. A company is developing an advance version of their current software available in the market, what model approach would they prefer ?

Q. Which of the following is the result of a select statement?

Q. tags contain battery and transmit signals autonomously

Q. A graphical or text depiction of the relationship between different groups of content on a website is a:


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger