Quiz Python: #gotchas

17 quiz su #gotchas, con una spiegazione per ogni risposta.

5 Conversione di tipo Medio Scopri dove int(), float(), str() e round() riservano sorprese. Python · Basi di Python #casting#gotchas 10 domande · ~6 min Da iniziare Inizia
5 Copie e riferimenti Difficile Scopri quando due nomi condividono la stessa lista e quando hai davvero una copia. Python · Liste e tuple #mutability#gotchas#interview 10 domande · ~8 min Da iniziare Inizia
2 Argomenti predefiniti e keyword Medio Usa valori predefiniti e argomenti keyword, ed evita la trappola dei default mutabili. Python · Funzioni #arguments#gotchas 10 domande · ~6 min Da iniziare Inizia
4 Scope e global Difficile Nomi locali e globali, nonlocal, closure e la trappola di UnboundLocalError. Python · Funzioni #scope#closures#gotchas 10 domande · ~8 min Da iniziare Inizia
5 Trova il bug Difficile Individua le classiche insidie di Python dietro un codice che gira ma dà la risposta sbagliata. Python · Errori e debug #debugging#gotchas#interview 10 domande · ~8 min Da iniziare Inizia
3 Tricky Python Questions Difficile Real Python gotchas that catch even experienced developers in interviews. Python · Python Interview Questions #gotchas#interview 10 domande · ~8 min Da iniziare Inizia
2 Sorting Gotchas Medio Learn why [10, 1, 5].sort() surprises people and how to sort numbers, strings and objects correctly. JavaScript · Arrays & Objects #arrays#sorting#gotchas 10 domande · ~6 min Da iniziare Inizia
2 Tricky JavaScript Questions Difficile The JavaScript gotchas that trip up even experienced developers in interviews. JavaScript · JavaScript Interview Questions #gotchas#interview 10 domande · ~8 min Da iniziare Inizia
4 Autoboxing & Wrapper Classes Difficile Catch the Integer cache, null unboxing and other autoboxing traps before they reach production. Java · Strings, Arrays & Wrappers #wrappers#gotchas 10 domande · ~8 min Da iniziare Inizia
4 Iterators & ConcurrentModificationException Difficile Remove elements while looping without ConcurrentModificationException, skipped items or surprises. Java · Java Collections #collections#gotchas 10 domande · ~8 min Da iniziare Inizia
3 Tricky Java Questions Difficile Real Java gotchas from interviews, each one a short program that does not do what it seems to. Java · Java Interview Questions #gotchas#interview 10 domande · ~8 min Da iniziare Inizia
4 Type Casting & Integer Promotion Medio See how C converts between types, from explicit casts to the hidden promotions in every expression. C · C Basics #casting#gotchas 10 domande · ~6 min Da iniziare Inizia
2 Tricky C Questions Difficile Real C gotchas from interviews, where the obvious answer is wrong. C · C Interview Questions #gotchas#interview 10 domande · ~8 min Da iniziare Inizia
4 Join Pitfalls Difficile Catch the join mistakes that silently duplicate rows, lose rows or inflate totals. SQL · SQL Joins #joins#gotchas 10 domande · ~8 min Da iniziare Inizia
2 SQL Output Prediction Medio Read short SQL queries and predict their exact output, including the classic interview traps. SQL · SQL Interview Questions #output-prediction#gotchas 10 domande · ~6 min Da iniziare Inizia
3 Tricky NULL Questions Difficile Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting. SQL · SQL Interview Questions #null#gotchas 10 domande · ~8 min Da iniziare Inizia
3 Tricky CSS Questions Difficile Real CSS gotchas about stacking contexts, margins, percentages and sticky positioning. HTML & CSS · HTML & CSS Interview Questions #gotchas#css#stacking-context 10 domande · ~8 min Da iniziare Inizia

Altri tag: