Multiple Choice Easy

Qprint("Hello") এর Output কী হবে?

ID: #25295 Python প্রোগ্রামিংয়ের মৌলিক বিষয় 19 views
Question Info
#25295Q ID
EasyDifficulty
Python প্রোগ্রামিংয়ের মৌলিক বিষয়Topic

Select All That Apply

Tick every correct option, then press Check Answer.

  • A Hello ✔ ✖
  • B "Hello" ✔ ✖
  • C Error ✔ ✖
  • D print ✔ ✖
Correct Answer

Explanation

বিস্তারিত ব্যাখ্যা:

Python-এ print() ফাংশন স্ক্রিনে আউটপুট প্রদর্শনের জন্য ব্যবহৃত হয়। যখন print("Hello") লেখা হয়, তখন "Hello" স্ট্রিংটির মান স্ক্রিনে প্রদর্শিত হয়।

উদাহরণ:

print("Hello")

Output:

Hello

এখানে "Hello" এর মধ্যে থাকা ডাবল কোটেশন (" ") স্ট্রিং নির্দেশ করার জন্য ব্যবহৃত হয়েছে। আউটপুট প্রদর্শনের সময় কোটেশন চিহ্ন দেখানো হয় না; শুধুমাত্র স্ট্রিংয়ের ভেতরের লেখা প্রদর্শিত হয়।

তাই আউটপুট হবে Hello, "Hello" নয়। এছাড়া এই কোডে কোনো Syntax Error নেই, তাই Error হওয়ারও কোনো সম্ভাবনা নেই।

সুতরাং print("Hello") এর Output হবে Hello।

মনে রাখুন: print() ফাংশন স্ট্রিংয়ের মান প্রদর্শন করে, কিন্তু কোটেশন চিহ্ন (" " বা ' ') আউটপুটে দেখায় না।
Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - দ্বাদশ শ্রেণী (Class 12) - WBCHSE where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.