E કમ્પ્યુટર સાક્ષરતા ક્વિઝ અને ગેમ્સ

ડિબગીંગ ક્વિઝ

પાયથોન ડીબગીંગ ક્વિઝ

સૂચનાઓ: દરેક પ્રશ્ન માટે શ્રેષ્ઠ જવાબ પસંદ કરો અને ક્લિક કરો ક્વિઝ સબમિટ કરો.

1. ડીબગીંગ શું છે




2. કયું કાર્ય ડીબગીંગ માટે માહિતી દર્શાવે છે




3. ખોટી પાયથોન સિન્ટેક્સને કારણે કઈ ભૂલ થાય છે




4. કયું ટૂલ તમને કોડને થોભાવવા અને ચલોનું નિરીક્ષણ કરવા દે છે




5. જ્યારે ચલ વ્યાખ્યાયિત કરવામાં આવ્યું ન હોય ત્યારે કઈ ભૂલ થાય છે




6. શૂન્ય વડે ભાગાકાર કરતી વખતે કઈ ભૂલ થાય છે




7. આ કોડ શું છાપે છે

x = 5
print(x)



8. બ્રેકપોઇન્ટ્સ શા માટે ઉપયોગી છે




9. લોજિક એરર શું છે




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