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 • 100.69K Points
Coach

Q. What is the output of the following code?
def foo(k):
k[0] = 1
q = [0]
foo(q)
print(q)

  • (A) [0].
  • (B) [1].
  • (C) [1, 0].
  • (D) [0, 1].
  • Correct Answer - Option(B)
  • Views: 145
  • 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.

Related MCQs

Q. A parent process calling system call will be suspended until children processes terminate.

Q. What are the characteristics of process migr

Q. Choose the incorrect statement with respect to Non-Functional Requirement(NFR).

Q. Which of the following is true concerning a procedure?

Q. How many ways are there to arrange 7 chocolate biscuits and 12 cheesecake biscuits into a row of 19 biscuits?

Q. A _________ is a decision support tool that uses a tree-like graph or model of decisions and their possible consequences, including chance event outco

Q. Which is the function of RBI?

Q. The working memory of the problem solver is like its _________________

Q. ___________is a method of incremental conceptual clustering.

Q. One multiplexer can take the place of


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