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" }); }