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

Q. What will be displayed by print(ord(‘b’) – ord(‘a’))?

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

Explanation by: Mr. Dubey
ascii value of b is one more than a. hence the output of this code is 98-97, which is equal to 1.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. Which of the following uses multiple hard disk platters mounted on a single central shift?

Q. The I/O devices form the of the tree structure.

Q. The expression expr -9 % 2 evaluates to:

Q. Which of the following is responsible for quality objective?

Q. Objects diagram is used to model the ________ structure

Q. As compared to the secondary memory, the primary memory of a computer is

Q. UART stands for

Q. Which of the following commands is used to update access and modification times of a file?

Q. >>>print(indexOfMax)

Q. The following infinite cash flow series has a rate of return of 10%. Determine the unknown value of X.


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Public Bookmarks
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • Collections
  • Grandmaa's Tales
  • 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