Quizzes de Python: #gotchas

17 quizzes sobre #gotchas, com explicação para cada resposta.

5 Conversão de tipos Médio Descubra onde int(), float(), str() e round() pegam as pessoas de surpresa. Python · Fundamentos de Python #casting#gotchas 10 perguntas · ~6 min Não iniciado Começar
5 Cópia versus referência Difícil Descubra quando dois nomes compartilham a mesma lista e quando você realmente tem uma cópia. Python · Listas e tuplas #mutability#gotchas#interview 10 perguntas · ~8 min Não iniciado Começar
2 Argumentos padrão e nomeados Médio Use valores padrão e argumentos nomeados, e evite a armadilha do padrão mutável. Python · Funções #arguments#gotchas 10 perguntas · ~6 min Não iniciado Começar
4 Escopo e global Difícil Nomes locais e globais, nonlocal, closures e a armadilha do UnboundLocalError. Python · Funções #scope#closures#gotchas 10 perguntas · ~8 min Não iniciado Começar
5 Encontre o bug Difícil Identifique as pegadinhas clássicas do Python por trás de um código que roda mas dá a resposta errada. Python · Erros e depuração #debugging#gotchas#interview 10 perguntas · ~8 min Não iniciado Começar
3 Tricky Python Questions Difícil Real Python gotchas that catch even experienced developers in interviews. Python · Python Interview Questions #gotchas#interview 10 perguntas · ~8 min Não iniciado Começar
2 Sorting Gotchas Médio Learn why [10, 1, 5].sort() surprises people and how to sort numbers, strings and objects correctly. JavaScript · Arrays & Objects #arrays#sorting#gotchas 10 perguntas · ~6 min Não iniciado Começar
2 Tricky JavaScript Questions Difícil The JavaScript gotchas that trip up even experienced developers in interviews. JavaScript · JavaScript Interview Questions #gotchas#interview 10 perguntas · ~8 min Não iniciado Começar
4 Autoboxing & Wrapper Classes Difícil Catch the Integer cache, null unboxing and other autoboxing traps before they reach production. Java · Strings, Arrays & Wrappers #wrappers#gotchas 10 perguntas · ~8 min Não iniciado Começar
4 Iterators & ConcurrentModificationException Difícil Remove elements while looping without ConcurrentModificationException, skipped items or surprises. Java · Java Collections #collections#gotchas 10 perguntas · ~8 min Não iniciado Começar
3 Tricky Java Questions Difícil 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 perguntas · ~8 min Não iniciado Começar
4 Type Casting & Integer Promotion Médio See how C converts between types, from explicit casts to the hidden promotions in every expression. C · C Basics #casting#gotchas 10 perguntas · ~6 min Não iniciado Começar
2 Tricky C Questions Difícil Real C gotchas from interviews, where the obvious answer is wrong. C · C Interview Questions #gotchas#interview 10 perguntas · ~8 min Não iniciado Começar
4 Join Pitfalls Difícil Catch the join mistakes that silently duplicate rows, lose rows or inflate totals. SQL · SQL Joins #joins#gotchas 10 perguntas · ~8 min Não iniciado Começar
2 SQL Output Prediction Médio Read short SQL queries and predict their exact output, including the classic interview traps. SQL · SQL Interview Questions #output-prediction#gotchas 10 perguntas · ~6 min Não iniciado Começar
3 Tricky NULL Questions Difícil Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting. SQL · SQL Interview Questions #null#gotchas 10 perguntas · ~8 min Não iniciado Começar
3 Tricky CSS Questions Difícil Real CSS gotchas about stacking contexts, margins, percentages and sticky positioning. HTML & CSS · HTML & CSS Interview Questions #gotchas#css#stacking-context 10 perguntas · ~8 min Não iniciado Começar

Outras tags: