Multiple Choice Easy

QPython-এর Keyword কোনটি?

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

Select All That Apply

Tick every correct option, then press Check Answer.

  • A marks ✔ ✖
  • B student ✔ ✖
  • C if ✔ ✖
  • D total ✔ ✖
Correct Answer

Explanation

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

if Python-এর একটি Reserved Keyword। Keyword হলো এমন কিছু বিশেষ শব্দ, যেগুলোর নির্দিষ্ট অর্থ Python ভাষার মধ্যে পূর্বনির্ধারিত থাকে। এই শব্দগুলো Python-এর Syntax-এর অংশ হিসেবে ব্যবহৃত হয় এবং এগুলোকে Variable Name, Function Name বা Identifier হিসেবে ব্যবহার করা যায় না।

if Keyword মূলত সিদ্ধান্ত গ্রহণ (Decision Making) বা শর্ত যাচাই করার জন্য ব্যবহৃত হয়। কোনো নির্দিষ্ট শর্ত সত্য (True) হলে সংশ্লিষ্ট কোড ব্লক Execute করার জন্য if ব্যবহার করা হয়।

উদাহরণ:

marks = 80

if marks >= 40:
    print("Pass")

এখানে if Keyword ব্যবহার করে পরীক্ষা করা হয়েছে যে marks এর মান 40 বা তার বেশি কিনা। শর্ত সত্য হওয়ায় Pass প্রদর্শিত হবে।

অন্যদিকে marks, student এবং total সাধারণ Identifier বা Variable Name হিসেবে ব্যবহার করা যেতে পারে। এগুলো Python-এর Reserved Keyword নয়।

তাই প্রদত্ত অপশনগুলোর মধ্যে if একমাত্র Python Keyword।

মনে রাখুন: Python-এর Keyword-গুলোর বিশেষ অর্থ রয়েছে এবং সেগুলোকে Variable Name হিসেবে ব্যবহার করা যায় না। if Python-এর একটি গুরুত্বপূর্ণ Reserved Keyword।
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.