Figure 4 shows three programs (A, B, C) that add two numbers and output the result - AQA - GCSE Computer Science - Question 12 - 2023 - Paper 2
Question 12
Figure 4 shows three programs (A, B, C) that add two numbers and output the result. The programs are written in different programming languages.
Identify the type o... show full transcript
Worked Solution & Example Answer:Figure 4 shows three programs (A, B, C) that add two numbers and output the result - AQA - GCSE Computer Science - Question 12 - 2023 - Paper 2
Step 1
Identify the type of programming language used for each program shown in Figure 4
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
For program A, it is an Assembly language (B).
For program B, it is a High-level language (A).
For program C, it is Machine code (C).
Step 2
State one advantage of writing programs in assembly language instead of a high-level language
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Programs written in assembly language can run faster and use less processor time, allowing for more efficient execution.
Step 3
Shade one lozenge to show which statement is true about program translators
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
A. A compiler translates all the original program code before execution.