A brief note on Languages, Translators and IDEs . Read it before a test. Try each question at the end before you open its answer.
Two levels of language Machine code is binary. It is what the processor runs. Low-level languages: machine code and assembly language . Assembly language uses mnemonics , such as ADD. An assembler translates it into machine code. High-level languages , such as Python, are closer to English. They are translated by a compiler or an interpreter. Advantages and disadvantages Reading and writing: high level is easier; low level is hard to read. Debugging: high level is easier to debug. Machine independence: high-level code runs on different processors once translated for each; low-level code is for one kind of processor. Direct manipulation of hardware: low level can do it; high level usually cannot. Compiler and interpreter Compiler: translates the whole code at once, before executing it; produces an executable file ; gives an error report for the whole code . Interpreter: translates and executes line by line ; stops when it finds an error. An interpreter is mostly used when developing a program. A compiler translates the final program. The functions of an IDE Code editor: write and change code, with line numbers. Run-time environment: run the program inside the IDE, with its input and output. Translators: a compiler or an interpreter built in. Error diagnostics: find and report errors, with the line. Auto-completion: offer the rest of a keyword or identifier. Auto-correction: fix common typing mistakes. Prettyprint: keywords in colour and lines indented. The usual slips Calling assembly language high level because it uses words. Saying an interpreter makes an executable file, or a compiler stops at the first error. Mixing up auto-completion (finishes a word) and auto-correction (fixes a word). Check yourself Which translator stops at the first error it finds? Stuck? Show a hint Show the answerGive one advantage of a low-level language. Stuck? Show a hint Show the answerWhich IDE function shows keywords in colour? Stuck? Show a hint Show the answerSources Cambridge IGCSE Computer Science 0478 syllabus for 2026, 2027 and 2028, section 4.2.