4 Software · 31 Q

1 0478_m25_qp_12_Q7(a) 2 marks

7 (a) A low-level language is used to write programs that directly control the hardware of a computer.

Identify the:

low-level language: ........................................

translator used: ........................................

2 0478_m25_qp_12_Q7(b) 4 marks

7 (b) A high-level language can be translated into a low-level language, using a compiler or an interpreter.

Describe the advantages of using an interpreter instead of a compiler during software development.

3 0478_m25_qp_12_Q7(c) 3 marks

7 (c) Integrated development environments (IDEs) provide translators.

Identify three other common functions of an IDE.

4 0478_s25_qp_11_Q6(a) 8 marks

6 (a) Complete the paragraph about asymmetric encryption.

Use the terms from the list:

algorithm   binary   cipher text   compression   error   hardware   hexadecimal   meaningless   plain text   private   public   readable   transmission   unreadable

Data is encrypted using an encryption key. This is a type of ................... that scrambles the ................... and turns it into ................... . This makes the data ................... .

A ................... key is used to encrypt the data. This key cannot be used to decrypt the data. A ................... key is used to decrypt the data. Any device is able to request the ................... key, but only your device knows the ................... key.

5 0478_s25_qp_11_Q6(b) 1 mark

6 (b) Data can also be encrypted using symmetric encryption.

Give one reason why a person would use asymmetric encryption instead of symmetric encryption.

6 0478_s25_qp_11_Q9(a) 3 marks

9 (a) Each computer has an operating system. One function of the operating system is to manage memory.

Describe the role of the operating system in managing memory.

7 0478_s25_qp_12_Q3(a) 2 marks

A programmer writes a program to store and sort all the data for the books in her home library.

(a) The programmer uses a high-level language to write the program.

One reason for writing the program using a high-level language is that it is easier to read and write.

Give two other reasons why the programmer chose to use a high-level language.

1

2

[2]

8 0478_s25_qp_12_Q3(b)(i) 5 marks
(b) The programmer uses an integrated development environment (IDE) to write the program.

One function of the IDE is to provide a translator.

(i) Complete the statements about translators.

Use the terms from the list. Some of the terms will not be used. You should only use a term once.

all together    all    assembler    binary    error
executable file    executing    interrupt    line by line
partial code    some    translating    whole code

A compiler translates the at once before it. A compiler produces an error report that displays errors.

An interpreter translates and executes the code . An interpreter stops execution when an is found and continues once it is corrected.

[5]

9 0478_s25_qp_12_Q3(b)(ii) 4 marks
(ii) Give two other functions commonly found in an IDE.

State the role of each function.

Function 1

Role

Function 2

Role

[4]

10 0478_s25_qp_12_Q3(c)(i) 1 mark
(c) The programmer wants to print a list of all her books on paper.

(i) Identify a suitable type of printer that she could use to print this list.

[1]

11 0478_s25_qp_12_Q3(c)(ii) 6 marks
(ii) The programmer needs to connect the printer to her computer. The printer is on the same desk as her computer.

Give a suitable method of data transmission that could be used to connect the computer to the printer.

Explain your choice.

Data transmission method

Explanation

[6]

12 0478_s25_qp_12_Q3(c)(iii) 4 marks
(iii) An even parity check is used to detect errors in the data after it has been transmitted to the printer.

Describe how an even parity check detects an error.

[4]

13 0478_s25_qp_13_Q4(a) 2 marks

4 A computer has an operating system. One function of the operating system is handling interrupts.

(a) Describe the role of the operating system in handling interrupts.

[2]

14 0478_s25_qp_13_Q4(b) 2 marks

(b) Give two other functions of an operating system.

1

2 [2]

15 0478_s25_qp_13_Q4(c)(i) 1 mark

(c) Hardware and software interrupts are two types of interrupt.

(i) Give one example of a hardware interrupt.

[1]

16 0478_s25_qp_13_Q4(c)(ii) 1 mark

(ii) Give one example of a software interrupt.

[1]

17 0478_w25_qp_11_Q4(d)(i) 1 mark

(d) The computer game developers use a high-level language to create a computer game.

(i) State what is meant by a high-level language.

18 0478_w25_qp_11_Q4(d)(ii) 2 marks

(ii) One benefit of using a high-level language is that the code is easy to debug.

Give two other benefits of using a high-level language.

1 .........................................................................................................................................................................................................

2 .........................................................................................................................................................................................................

19 0478_w25_qp_11_Q4(d)(iii) 1 mark

(iii) One drawback of using a high-level language is that it must be converted to a low-level language before it can be run.

Give one other drawback of using a high-level language.

20 0478_w25_qp_11_Q4(d)(iv) 3 marks

(iv) The computer game developers use an interpreter instead of a compiler when developing the computer game.

Explain why an interpreter would be more appropriate for developing the computer game.

21 0478_w25_qp_11_Q6(b)(i) 1 mark

(b) Handling interrupts is one function of an operating system.

(i) An interrupt is sent to the CPU every time a key is pressed on the keyboard.

Give the name of this type of interrupt.

22 0478_w25_qp_11_Q6(b)(ii) 1 mark

(ii) Give the name of the program that services the interrupt.

23 0478_w25_qp_11_Q6(b)(iii) 1 mark

(iii) Give one other function of an operating system.

24 0478_w25_qp_12_Q3(a) 2 marks

3 A programmer uses assembly language to create a program for a coffee machine.

(a) Describe what is meant by assembly language.

25 0478_w25_qp_12_Q3(b) 1 mark

(b) Identify the translator needed for assembly language.

26 0478_w25_qp_12_Q3(c) 1 mark

(c) Tick (✓) one box to show which statement is an advantage of using assembly language.

AIt is close to human language.
BIt is memory efficient.
CIt is easy to debug.
DIt is machine independent.
27 0478_w25_qp_13_Q6(c) 2 marks

(c) The computer game is programmed using a high-level language.

Explain one difference between a high-level language and a low-level language.

...................................................................................................................................................................................................................

...................................................................................................................................................................................................................

...................................................................................................................................................................................................................

......................................................................................................................................................................................... [2]

28 0478_w25_qp_13_Q6(d)(i) 1 mark

(d) The programmer uses translators to translate the high-level language source code into machine code.

Identify the name of the translator that would be used for each of the statements. Each name may be used more than once.

(i) Translates and executes the source code one line at a time.

................................................................................................................................................................................................. [1]

29 0478_w25_qp_13_Q6(d)(ii) 1 mark

(ii) Translates the source code and will not execute it if errors are found. It instead produces a full report of the errors in the source code.

................................................................................................................................................................................................. [1]

30 0478_w25_qp_13_Q6(d)(iii) 1 mark

(iii) Translates the source code and produces an executable file.

................................................................................................................................................................................................. [1]

31 0478_w25_qp_13_Q6(d)(iv) 1 mark

(iv) Stops execution of the machine code where an error is found and will resume execution of the machine code once the error is fixed.

................................................................................................................................................................................................. [1]