← Back to videos

Mock interview with Anna for a Junior Python Developer position

Interview timeline Click any block to jump

Interview breakdown

Interviewer verdict
Needs more practice Level: Beginner (pre-Junior)

The candidate did not pass yet, reflecting her mid-course stage: several core concepts were conflated (compiler, interpreter, and IDE; PEP 8 style guide vs linters; SQL vs NoSQL; Git, Git Bash, and GitHub; indentation rules vs scopes). At the same time, the interviewer praised her standout resume, confident and engaging communication style, and clear everyday analogies.

Candidate: Anna
Target role: Junior Python Developer

SPbU linguistics & phonetics graduate and former language teacher · currently on sprint 10 of a Python developer program, early in her learning journey

Answers accuracy 13 total
54% score
Theory
4/13 correct · 54%
Live coding
0/0 correct · 0%
Practical task
No live coding
Topics covered Click a topic to filter questions

Candidate strengths

  • + Confident, poised communication without freezing up even when challenged on unfamiliar theory
  • + Well-crafted, distinctive resume that stood out positively at the entry level
  • + Relatable analogies for code readability (Codewars one-liners vs verbose code) and everyday algorithms
  • + Hands-on familiarity with developer workflows including branches, commits, code review, and HTTP methods

Areas to improve

  • → Clarify execution fundamentals: programming language specification vs compiler, interpreter, and IDE
  • → Separate conventions/principles (PEP 8, DRY, REST) from concrete tools and extensions (linters, Pylance, Django)
  • → Review Python 3 indentation rules (TabError on mixed tabs/spaces, indented blocks vs lexical scopes) and why classes exist
  • → Solidify ecosystem fundamentals: SQL vs NoSQL databases, API vs REST, and Git vs Bash shell vs GitHub

Questions in this interview

13 / 13
01 ▶ 06:58
What are a compiler and an interpreter, and which one is Python?
Theory Python internals, bytecode & runtime
?
Candidate's answer

Conflated the concepts, describing a compiler as what the computer sees, calling Python a compiler, and identifying the IDE as the interpreter.

Key takeaway

Python is a language specification, not a translator; its reference runtime CPython compiles source code into bytecode and interprets that bytecode on a virtual machine.

Open moment on YouTube ↗
#01
02 ▶ 08:35
What is an IDE, and can you write working Python code outside of one?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Using VS Code as an example, explained that an IDE provides editing, local execution, terminal access, and error diagnostics, though code itself can be written anywhere.

Key takeaway

An IDE wraps a text editor around external tools — invoking the Python interpreter, language server, linters, and debugger in one workspace.

Open moment on YouTube ↗
#02
03 ▶ 10:25
What are PEP 8, Pylance, and DRY — are they programs, standards, or engineering principles?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Correctly explained uniform code formatting and Don't Repeat Yourself, but called PEP 8 an installable program, confusing the style document with linters and VS Code's Pylance extension.

Key takeaway

PEP 8 is a style-guide document, DRY is a software design principle, and tools like Pylance, Flake8, or Ruff are programs that analyze code and enforce rules.

Open moment on YouTube ↗
#03
04 ▶ 14:08
Why does code readability matter, and why isn't a clever one-liner ideal?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Explained that teammates must understand your code and gave a great Codewars example showing that overly clever one-liners hurt readability just as much as sprawling boilerplate.

Key takeaway

Production Python optimizes for human comprehension and low cognitive load rather than golfing logic into dense one-liners.

Open moment on YouTube ↗
#04
05 ▶ 15:45
What role does indentation play in Python, can spaces and tabs be mixed, and does 2-space indentation work?
Theory Control flow, loops & syntactic sugar
?
Candidate's answer

Noted that indentation defines code structure, but misnamed indented blocks 'scopes' and wrongly claimed that mixing tabs and spaces works while 2-space indents inside a class fail.

Key takeaway

Python 3 raises TabError on mixed tabs and spaces, allows any consistent space count per block, and does not create new variable scopes for if/for/with blocks.

Open moment on YouTube ↗
#05
06 ▶ 21:55
Why use classes and OOP in Python if plain functions can already be reused across modules?
Theory OOP, classes & dunder methods
?
Candidate's answer

Correctly identified Python's strong dynamic typing, listed the 4 OOP pillars, and gave an Animals subclassing example, but drifted into Django decorators when asked why a module of functions isn't enough.

Key takeaway

Classes encapsulate per-instance state alongside behavior and enable polymorphic interfaces, while decorators are a core Python language feature rather than a Django-specific tool.

Open moment on YouTube ↗
#06
07 ▶ 27:05
Why use a web framework like Django, what Python web alternatives exist, and can you build a web service without one?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Clearly explained how Django avoids reinventing web plumbing from scratch and named Flask and FastAPI when prompted for web tools, after initially grouping libraries like pandas and matplotlib with frameworks.

Key takeaway

Web frameworks (Django, FastAPI, Flask) invert control by managing the HTTP request lifecycle and routing, whereas libraries like pandas are simply called by your code.

Open moment on YouTube ↗
#07
08 ▶ 31:35
Is SQL a general-purpose programming language or a query language, and how are relational tables organized?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Initially called SQL a programming language, then promptly corrected herself: SQL is a declarative query language for working with relational tables linked via one-to-many and many-to-many relationships.

Key takeaway

SQL is a declarative domain-specific language for querying and mutating relational data, complementing general-purpose application languages like Python.

Open moment on YouTube ↗
#08
09 ▶ 33:55
What does the term NoSQL mean in databases?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Guessed that NoSQL is a simpler dialect of SQL for basic queries before admitting she did not know the topic.

Key takeaway

NoSQL ('Not Only SQL') refers to non-relational databases storing data as JSON-like documents, key-value pairs, wide columns, or graphs instead of relational tables.

Open moment on YouTube ↗
#09
10 ▶ 34:53
What is an algorithm, and how do you determine which algorithm for the same task is better?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Used clear everyday analogies to define an algorithm as an ordered sequence of steps achieving a target outcome, noting that among correct algorithms we prefer the one using less time and resources.

Key takeaway

Valid algorithms guarantee termination and correctness, and are compared by how their runtime and memory consumption scale with input size.

Open moment on YouTube ↗
#10
11 ▶ 40:20
What is Big O notation for, and does it still help when time doesn't matter but another resource is constrained?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Correctly named common complexity classes O(n), O(n²), O(log n), and O(2ⁿ) for runtime scaling, but concluded Big O only measures time when asked about non-time resource limits.

Key takeaway

Big O bounds growth as a function of input size N and applies equally to time complexity (CPU steps) and space complexity (memory footprint).

Open moment on YouTube ↗
#11
12 ▶ 45:45
What are Git, Git Bash, and GitHub, and how do these three tools differ from one another?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Described branches, commits, code reviews, rollbacks, and SourceTree well, but struggled to cleanly separate the Git VCS tool, the Git Bash shell, and GitHub's cloud hosting, assuming PyCharm's terminal is Python-specific.

Key takeaway

Git is the distributed version-control engine, Git Bash provides a Unix-style command shell on Windows, and GitHub is a cloud platform hosting remote Git repositories and pull requests.

Open moment on YouTube ↗
#12
13 ▶ 55:05
What is REST, which HTTP methods are idempotent, and how does REST differ from an API?
Theory Algorithms, code reading & engineering practices
?
Candidate's answer

Defined REST as a service design convention, listed GET, POST, PUT, PATCH, and DELETE, and corrected a slip to note GET is idempotent while POST is not, but could not distinguish REST from API in general.

Key takeaway

An API is any programmatic interface between software components, whereas REST is one architectural style for HTTP APIs built around resources and idempotent verbs like GET, PUT, and DELETE.

Open moment on YouTube ↗
#13
Original video description & timecodes

Anna previously dealt with foreign languages, and now is learning Python, but is still only at the very beginning of the journey.

Simple and complex questions, attempts to confuse the candidate and identify topics that deserve more attention when preparing for a real interview. And feedback at the end of the video!