0478_m19_qp_12
A paper of Computer Science, 0478
Questions:
7
Year:
2019
Paper:
1
Variant:
2

Login to start this paper & get access to powerful tools

3
4
Darius is writing a computer program that allows binary values to be calculated. Darius chooses to write the program in a high-level language rather than a low-level language. Explain why Darius chooses to write the program in a high-level language. Darius will use a translator to translate the program. He could use a compiler or an interpreter. Five statements are given about compilers and interpreters. Tick (3) to show if the statement applies to a Compiler or an Interpreter. Statements may apply to both. Statement Compiler (3) Interpreter (3) A report of errors is produced at the end of translation. The program is translated one line at a time. The program is translated from high-level language into machine code. An executable file is produced. The program will not run at all if an error is detected. Darius is sending several programs that he has created to his friend Selma. He wants to compress the files to send them as he needs to attach them to an email. Darius tells Selma he is going to use lossy compression. Selma tells him that he should use lossless instead. Explain why Selma tells Darius to use lossless compression instead of lossy. Errors can occur when data is transmitted, stored or entered into a system. Darius could use an error detection method to find whether errors have occurred. One error detection method he could use is a checksum. Describe how a checksum detects errors. State three other error detection methods that Darius could use. Method 1 Method 2 Method 3
6