Current knowledge aligns more with an Intern than a Junior developer: the candidate knows basic terminology, stays engaged, and handles mistakes with good humor, but his grasp of fundamentals is surface-level and breaks down on follow-up 'why' questions and basic list-slicing/float code.
Candidate:Artyom
Target role:Junior Python Backend
20 y/o · self-studying Python and backend tools, no commercial engineering experience yet
Answers accuracy
13
total
23%
score
Theory
0/8 correct · 31%
Live coding
0/5 correct · 10%
Practical task
Not solved
Slicing nested lists a[:], float precision (0.1 + 0.2 == 0.3), and shared inner list mutation
The candidate missed all three core mechanics of the snippet: mistook a[:] for dropping the first element rather than creating a shallow copy, expected 0.1 + 0.2 == 0.3 to evaluate to True, and guessed b = a would prevent mutating the original nested list.
Topics covered
Click a topic to filter questions
Candidate strengths
+Courage to take a public mock interview, openness to feedback, and healthy self-irony under pressure
+Familiarity with core Python vocabulary (built-in types, CPython/PyPy runtimes, loops)
+Ability to stay engaged in dialogue and occasionally admit when he doesn't know an answer
Areas to improve
→Master Python's memory model: references, mutability, list slicing a[:], and shallow vs deep copying
→Understand numeric representation in memory (IEEE 754 0.1 + 0.2 != 0.3 and actual object memory layout)
→Clarify foundational concepts: expressions vs statements, lists vs arrays, and CPython bytecode execution
→Drop the habit of seeking validation ('that's right, isn't it?') after giving an answer
What are numeral systems, why do octal and hexadecimal exist, and where is binary code in Python?
Theory·Data types, numbers & memory
Partial
?
Candidate's answer
Noted that everything reduces to binary machine code, mentioned power-of-two bases (8, 16) for convenience, and explained that CPython hides low-level memory work under the hood.
Key takeaway
Python source typically uses decimal literals while storing binary data in RAM; hex and octal provide compact human-readable representations of 4-bit and 3-bit groups.
What is an expression in Python, and what kinds of expressions exist?
Theory·Control flow, loops & syntactic sugar
Incorrect
?
Candidate's answer
Confused expressions with variable/class/loop declarations and tried classifying 'expressions' after Python's eight built-in data types.
Key takeaway
An expression is any construct that evaluates to a value (2 + 2, a == b, f(x)), whereas statements (if, for, while, def, =) perform actions without evaluating to a value.
What are boolean expressions and values, and can you write a program without any conditions?
Theory·Control flow, loops & syntactic sugar
Partial
?
Candidate's answer
Correctly tied boolean expressions to True/False and credited George Boole, but got confused about branchless programs and claimed variable creation is itself a condition.
Key takeaway
Linear scripts require no conditions; boolean expressions enable branching and dynamic control flow based on runtime data.
How do 'for' and 'while' loops differ conceptually in Python, and how do you choose between them?
Theory·Control flow, loops & syntactic sugar
Partial
?
Candidate's answer
Correctly mapped 'for' to iterating collections/ranges and 'while' to condition-driven or infinite loops, but mistakenly guessed 'while' uses more RAM and spawns threads.
Key takeaway
Python's 'for' consumes any iterable via the iterator protocol, while 'while' repeats until a condition turns false; neither spawns threads or extra memory.
How do integers (int) and floating-point numbers (float) differ in memory representation?
Theory·Data types, numbers & memory
Incorrect
?
Candidate's answer
Claimed float takes more memory because '12.0' adds two extra characters ('.0') and thought numeric memory size scales with character count.
Key takeaway
In CPython, a float is a fixed 24-byte object wrapping an 8-byte IEEE 754 double (sign, exponent, mantissa), whereas int starts at 28 bytes and grows with magnitude.
What Python implementations exist (CPython, PyPy, etc.), and why doesn't everyone switch to faster PyPy?
Theory·Python internals, bytecode & runtime
Partial
?
Candidate's answer
Properly separated language spec from implementations (CPython, PyPy with JIT, Nuitka) and noted higher RAM usage, but mistakenly suggested code is harder to write for PyPy.
Key takeaway
Python code stays the same, but CPython dominates thanks to native C-extension compatibility (NumPy, PyTorch), lower memory footprint, and fast startup.
What is Python bytecode — is it CPU binary machine code or something else?
Theory·Python internals, bytecode & runtime
Incorrect
?
Candidate's answer
Attributed bytecode compilation only to PyPy, guessed bytecode is octal, and got confused about whether PVM execution reaches the physical CPU.
Key takeaway
CPython compiles source into platform-independent bytecode instructions for the Python Virtual Machine (PVM), whose C evaluation loop runs natively on the CPU.
Does Python have arrays, and how does a list differ from an array?
Live coding·Collections, lists, dicts & hash tables
Incorrect
?
Candidate's answer
Called a = [[1, 2], [3, 4]] an 'array of lists' and claimed lists and arrays in Python are essentially the same and both store arbitrary types.
Key takeaway
Python's built-in list is a dynamic array of pointers to heterogeneous PyObjects, whereas array.array / numpy.ndarray stores contiguous homogeneous raw values.
What gets appended to b in b.append(0.1 + 0.2 == 0.3), and why?
Live coding·Data types, numbers & memory
Incorrect
?
Candidate's answer
Predicted True, and after seeing False guessed about JavaScript's === or replacing == with = (triggering SyntaxError), missing float representation error.
Key takeaway
0.1 and 0.2 have non-terminating binary representations in IEEE 754, so 0.1 + 0.2 == 0.30000000000000004 != 0.3 (False); use math.isclose() or Decimal.
With b = a[:], why does b.append(...) only change b, whereas b[0].append(...) mutates both b and a?
Live coding·Collections, lists, dicts & hash tables
Partial
?
Candidate's answer
Observed after running that the inner lists [1, 2] and [3, 4] were shared between a and b, but could not explain reference semantics or shallow copying.
Key takeaway
a[:] allocates a new outer list (so b.append only affects b), but copies inner references — a[0] and b[0] still point to the exact same inner list object.
Test interview for the position of Junior Python Developer.
We’ll cover key topics for beginner Python developers: number systems, the binary system, expressions in Python, Python data types, int and float, logical expressions, for and while loops, lists and slices, copying objects, mutable data types, how append works, lists of lists, as well as the kind of thinking tested in IT interviews.
This video will be useful if you: — are preparing for a Junior Python Developer interview — want to understand what questions are asked in Python interviews — are learning Python from scratch — want to get to grips with fundamental Python topics
At the end of the video, there is detailed feedback for the candidate: what went well, where the weaknesses lie, what to improve, and how to progress more quickly to becoming a confident junior developer.
Subscribe to the channel if you want more interview breakdowns, Python tutorial videos and practical exercises to prepare for a career as a Python developer.
Timecodes
00:00 Start 00:11 Greetings and introduction of participants 01:42 Interview format and rules 03:17 What are number systems? 05:11 Where is the “binary code” in Python? 06:12 What are expressions in Python? 07:41 Logical expressions and Boolean values 09:41 Loops in Python: for and while 17:03 What other types of expressions are there? 19:16 Integers and real numbers 21:01 Which takes up more memory: float or str 24:07 Interpretation, compilation and Python implementations 27:36 What is bytecode 30:16 Moving on to code review 50:16 Candidate’s self-assessment 51:33 Detailed feedback from the interviewer
Key topics in the video: junior Python developer, Python interview, Python mock interview, test interview, junior backend developer, Python basics, Python for beginners, Python interview questions, interview analysis, junior Python mistakes, Python interview preparation, Python backend, Python slices, Python lists, Python loops, Python data types, Python float vs int, copying a Python list, Python developer roadmap.