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

M

Mr. Dubey • 100.69K Points
Coach

Q. (1,2) print(total)

  • (A) error
  • (B) 7
  • (C) 8
  • (D) 15
  • Correct Answer - Option(B)
  • Views: 509
  • Filed under category Problem Solving and Python Programming
Share

Explanation by: Mr. Dubey
in the code shown above, the variable ‘x’ has been declared as a global variable under both the functions f1 and f2.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. In proving √5 as irrational, we begin with assumption √5 is rational in which type of proof?

Q. In the principle of mathematical induction, which of the following steps is mandatory?

Q. R is a relation on N given by N = {(x, y): 4x + 3y = 20}. Which of the following belongs to R?

Q. What is the expansion of QBE?

Q. ___________ leads to optimum use of resources.

Q. Management and Measurement, It will come under

Q. Let P: This is a great website, Q: You should not come back here. Then ‘This is a great website and you should come back here.’ is best re

Q. Once the BUS is granted to a device

Q. Find the number of factors of the product 58 * 75 * 23 which are perfect squares.

Q. requirements that are specifying the technologies that are needed to handle the Green IT initiative.


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

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
  • UC Quiz
  • 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
  • Get the source code

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger