In the last chapter you built a hash table and multiplied matrices. You typed some C, pressed one button, and the answer appeared. Stop for a moment and ask what happened in the second between the button and the answer. Your processor cannot read C. It cannot read Python or Java either. The only thing it understands is a stream of numbers, and somebody has to turn your neat lines into those numbers. That somebody is a translator, and it works so quietly that most students never meet it until an exam asks them to explain it.
The exams do ask, and often. "Write down the difference between compiler and interpreter" has been set by the 41st BCS, the 16th NTRCA, PGCB, CAAB, the Competition Commission and several BPSC papers. The Combined Bank Assistant Programmer paper of 31 October 2026 widened it to the compiler, the interpreter and the assembler. The 47th BCS (technical) asked for the steps of a compiler with the task of each. BPDB asked how many tokens a statement produces, and BPSC asked what a compiler does with comments.