E 컴퓨터 활용 능력 퀴즈 및 게임

디버깅 퀴즈

Python 디버깅 퀴즈

지침: 각 질문에 대한 가장 좋은 답변을 선택하고 클릭하세요. 퀴즈 제출.

1. 디버깅이란 무엇인가




2. Which function displays information for debugging?




3. Which error occurs because of incorrect Python syntax?




4. Which tool lets you pause code and inspect variables?




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