Question 6
Question 6 of 11

Question image for Q6
Topics Tested

Understand how to create a maintainable program

Understand the purpose of storing data in a file to be used by a program

Advantages and disadvantages include: ease of reading and writing code, e.g., low-level is hard to read; ease of debugging code; machine independence; direct manipulation of hardware. A compiler translates the whole code at once before executing it, producing an executable file. An interpreter translates and executes the code line-by-line. A compiler provides an error report for the whole code if errors are detected. An interpreter stops execution when an error is found. Including an understanding that an interpreter is mostly used when developing a program and a compiler is used to translate the final program. Including: code editors, run-time environment, translators, error diagnostics, auto-completion, auto-correction, prettyprint.