แบบทดสอบการดีบัก
แบบทดสอบการดีบัก Python
คำแนะนำ: เลือกคำตอบที่ดีที่สุดสำหรับแต่ละคำถามแล้วคลิก ส่งแบบทดสอบ.
";
}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"
});
}
หน้า:
1 2 3 4 5 6 7 8 9 10