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. for x in l]

  • (A) [1, 1, 1, 1, 1]
  • (B) [1, 0, 1, 0, 1]
  • (C) [1, 0, 0, 0, 0]
  • (D) [0, 1, 0, 1, 0]
  • Correct Answer - Option(B)
  • Views: 417
  • Filed under category Problem Solving and Python Programming
Share

Explanation by: Mr. Dubey
in the code shown above, each of the numbers of the list, that is, 1, 2, 3, 4 and 5 are and-ed with 1 and the result is printed in the form of a list. hence the output is [1, 0, 1, 0, 1].

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. threads being block altogether and being executed in the sets of 32 threads called a

Q. Conventional cryptography is also known as or symmetric-key encryption.

Q. For the model, the security boundary may be defined for the vendor to include the software framework and middleware layer.

Q. In a system 5 peole are currently using VI editor, then no. of currosonding rocesses will be

Q. IPSec operates in..... different modes

Q. In which step automation framework is identified as an "ideal world" scenario.

Q. The field determines the lifetime of IPv6 datagram

Q. Which directory contain device special files?

Q. The number of binding of a node to other actors of the graph in the graph representation of a network is called as .

Q. Which of the following is not a SQL Server INFORMATION_SCHEMA view?


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