E কম্পিউটার সাক্ষরতা সংক্রান্ত কুইজ এবং গেম

ডিবাগিং কুইজ

পাইথন ডিবাগিং কুইজ

নির্দেশাবলী: প্রতিটি প্রশ্নের জন্য সেরা উত্তর নির্বাচন করুন এবং ক্লিক করুন কুইজ জমা দিন.

1. ডিবাগিং কি




2. কোন ফাংশন ডিবাগিংয়ের জন্য তথ্য প্রদর্শন করে




3. ভুল পাইথন সিনট্যাক্সের কারণে কোন ত্রুটি ঘটে?




4. কোন সরঞ্জামটি আপনাকে কোড বিরতি দিতে এবং ভেরিয়েবলগুলি পরিদর্শন করতে দেয়?




5. What error happens when a variable has not been defined?




6. Which error occurs when dividing by zero?




7. What does this code print?

x = 5
print(x)



8. Why are breakpoints useful?




9. What is a logic error?




10. What is the first step when debugging?




"; }else{ output+="
"+question.toUpperCase()+" ✘ Incorrect (Correct Answer: "+answers[question].toUpperCase()+")
"; } }else{ output+="
"+question.toUpperCase()+" Not Answered
"; } } let percentage=(score/10)*100; output+="
"; output+="

Score: "+score+" / 10

"; output+="

Percentage: "+percentage+"%

"; if(percentage>=90){ output+="

Outstanding! 🏆

"; } else if(percentage>=70){ output+="

Good Job! 👍

"; } else{ output+="

Keep Practicing! 📚

"; } document.getElementById("results").style.display="block"; document.getElementById("results").innerHTML=output; window.scrollTo({ top:document.body.scrollHeight, behavior:"smooth" }); }