Python-Quiz: Python Interview Questions for Freshers

This Python quiz collects the questions freshers hear most in their first technical interview. It checks mutable vs immutable types, lists vs tuples, is vs ==, *args and **kwargs, and a few everyday list operations.

Leicht 10 Fragen ~5 Minuten Bestanden ab 80% Python 3.12

Modus wählen

Du spielst als Gast: Melde dich an, damit XP und Serie gespeichert werden.

Beispielfrage

Frage 1 von 10

Which of these built-in types is immutable?

Lösung zeigen

D. tuple A tuple can't be changed after it is created. Lists, dicts and sets can all be changed in place, for example with append, d[key] = value or add.

Darum geht es in diesem Quiz

  • Mutable vs immutable types
  • Lists vs tuples
  • is vs ==
  • *args, **kwargs and docstrings
  • if __name__ == "__main__": and dynamic typing

Häufige Fragen

Brauche ich ein Konto?

Nein. Jeder kann spielen. Mit Anmeldung werden XP, Serie, Abzeichen und Verlauf gespeichert.

Welche Python-Version?

Python 3.12. Jede Frage zur Ausgabe wurde geprüft, indem der Code ausgeführt wurde.

Kann ich es wiederholen?

Ja. Dein Bestwert bleibt erhalten, und Fragen und Antworten werden jedes Mal neu gemischt.