Part 1 Q1 to Q5 of National 5 Prelim Revision Part 1 Q1 to Q5 of National 5 Prelim
Revision Part 1 1 Convert the decimal number 56 into the equivalent 8 bit binary number. 2 In relation to the software development process, explain what is meant by the term iterative. 3 Describe a control character found in ASCII. 4 Name the two types of translators used in software development. 5 Explain one difference between an interpreter and a compiler.
Revision Part 1 1. Convert the decimal number 56 into the equivalent 8 bit binary number. (1) 128 64 32 16 8 4 2 1 56 = 32 + 16 + = 56
Revision Part 1 2. In relation to the software development process, explain what is meant by the term iterative. (1) The term iterative refers to when you revisit a stage in the software development process. After testing the program there is an error which you need to revisit the implementation stage to fix before testing it again. Analysis Design Implementation Testing Evaluation
Revision Part 1 3. Describe a control character found in ASCII. (1) A control character is any one of the first 0 – 31 characters in the ASCII table. An example of one is ESC key.
Revision Part 1 4. Name the two types of translators used in software development. (2) Interpreter Compiler
Revision Part 1 5. Explain one difference between an interpreter and a compiler. (1) Interpreter Compiler Advantage Errors show up as soon as you type the line. Efficient use of processor and memory. Translates a loop once. Disadvantage Inefficient use of processor and memory. Translates a loop every time. Translate completed programs at the end. Errors show up only at the end of the program.