Quiz Python: #exceptions

5 quiz su #exceptions, con una spiegazione per ogni risposta.

2 Errori comuni Facile Associa gli errori Python di tutti i giorni, come TypeError, NameError e KeyError, al codice che li provoca. Python · Errori e debug #exceptions#debugging 10 domande · ~5 min Da iniziare Inizia
3 try / except / finally Medio Prevedi come vengono eseguiti insieme try, except, else e finally, anche con return e cicli. Python · Errori e debug #exceptions#control-flow 10 domande · ~6 min Da iniziare Inizia
4 Sollevare eccezioni Medio Solleva eccezioni built-in e personalizzate, rilanciale e concatenale con from. Python · Errori e debug #exceptions#custom-exceptions 10 domande · ~6 min Da iniziare Inizia
1 Checked vs Unchecked Exceptions Medio Know which Java exceptions the compiler forces you to handle and which ones it lets through. Java · Exceptions & Modern Java #exceptions#checked-exceptions 10 domande · ~6 min Da iniziare Inizia
2 try, catch & finally Medio Trace exactly what runs, and in which order, when Java code throws, catches and cleans up. Java · Exceptions & Modern Java #exceptions#finally 10 domande · ~6 min Da iniziare Inizia

Altri tag: