Computer Science 2210 · 4

Software

40 questions. Open a question to solve it and check the official answer.

Reset
2018 October-November · Paper 12 · Q6(b)

Types of programming language, translators and integrated development environments (IDEs) · 4 marks · official answer ready

(b) Explain two reasons why a computer programmer may choose to write a program in a high- level language, rather than a low-level language. Reason 1 .............................…

2018 October-November · Paper 12 · Q6(c)

Types of programming language, translators and integrated development environments (IDEs) · 3 marks · official answer ready

(c) Three examples of computer code are given in the table. Tick (✓) to show whether each example of computer code is High-level language, Assembly language or Machine code. High-…

2018 October-November · Paper 13 · Q7(a)

Types of programming language, translators and integrated development environments (IDEs) · 3 marks · official answer ready

(a) David uses an interpreter when creating the computer program. State three features of an interpreter. Feature 1 ...............................................................…

2018 May-June · Paper 11 · Q7

Types of programming language, translators and integrated development environments (IDEs) · 6 marks · official answer ready

7 Translators, such as a compiler and an interpreter, are used when writing and running computer programs. Describe how a compiler and an interpreter translates a computer program…

2018 May-June · Paper 12 · Q8

Types of programming language, translators and integrated development environments (IDEs) · 4 marks · official answer ready

8 Dimitri is writing a computer program in a high-level language. He needs to send just the machine code for the program to his friend, electronically. It is important that the pr…

2017 October-November · Paper 13 · Q10

Types of programming language, translators and integrated development environments (IDEs) · 6 marks · official answer ready

10 Six statements about assembly language are shown. Tick (3) whether the statement is true or false. Statement true false (3) (3) Assembly language uses mnemonic codes. Assembly …

2017 May-June · Paper 11 · Q2(a)

Types of programming language, translators and integrated development environments (IDEs) · 2 marks · official answer ready

(a) Explain what is meant by the term ‘high-level language’. ......................................................................................................................…

2017 May-June · Paper 11 · Q2(b)

Types of programming language, translators and integrated development environments (IDEs) · 1 mark · official answer ready

(b) A program written in a high-level language is translated into machine code. This is so that it can be processed by a computer. Name one type of translator that can be used. ..…

2017 May-June · Paper 11 · Q2(c)

Types of programming language, translators and integrated development environments (IDEs) · 3 marks · official answer ready

(c) Describe how your answer to part (b) translates this program. .................................................................................................................…

2016 October-November · Paper 12 · Q1(a)

Types of programming language, translators and integrated development environments (IDEs) · 2 marks · official answer ready

1 (a) Give two reasons why a programmer would choose to write code in a low-level language. 1 .....................................................................................…

2016 October-November · Paper 12 · Q1(b)

Types of programming language, translators and integrated development environments (IDEs) · 5 marks · official answer ready

(b) High-level languages require either an interpreter or a compiler to translate the program. The table below lists a number of statements about language translators. Tick (3) to…

2016 October-November · Paper 13 · Q6

Types of programming language, translators and integrated development environments (IDEs) · 4 marks · official answer ready

6 High-level or low-level languages can be used when writing a computer program. State two advantages of using a high-level language and two advantages of using a low-level langua…

2016 October-November · Paper 13 · Q8

Types of programming language, translators and integrated development environments (IDEs) · 4 marks · official answer ready

8 Four descriptions about compilers and interpreters are shown below. Draw lines to indicate which descriptions refer to a compiler and which descriptions refer to an interpreter.…

2016 May-June · Paper 12 · Q1

Types of programming language, translators and integrated development environments (IDEs) · 3 marks · official answer ready

1 Complete the following by writing either compiler, interpreter or assembler in the spaces provided. ..................................................................... – trans…

2015 May-June · Paper 11 · Q10

Types of programming language, translators and integrated development environments (IDEs) · 5 marks · official answer ready

10 Five statements about interpreters and compilers are shown in the table below. Study each statement. Tick () to show whether the statement refers to an interpreter or to a comp…

2015 May-June · Paper 12 · Q9(a)

Types of programming language, translators and integrated development environments (IDEs) · 5 marks · official answer ready

9 (a) Five statements about interpreters and compilers are shown in the table below. Study each statement. Tick (✓) to show whether the statement refers to an interpreter or to a …

2015 May-June · Paper 12 · Q9(b)

Types of programming language, translators and integrated development environments (IDEs) · 1 mark · official answer ready

(b) State why a compiler or an interpreter is needed when running a high-level program on a computer. .............................................................................…

2015 May-June · Paper 12 · Q9(c)

Types of programming language, translators and integrated development environments (IDEs) · 1 mark · official answer ready

(c) Give one benefit of writing a program in a high-level language. ...............................................................................................................…

2015 May-June · Paper 12 · Q9(d)

Types of programming language, translators and integrated development environments (IDEs) · 1 mark · official answer ready

(d) Give one benefit of writing a program in a low-level language. ................................................................................................................…

2015 May-June · Paper 12 · Q9(e)

Types of programming language, translators and integrated development environments (IDEs) · 2 marks · official answer ready

(e) Study the following three sections of code. A: 1 0 1 0 1 1 0 1 1 1 0 0 1 1 1 0 1 0 1 1 0 1 1 1 B: LDA X INC X STA Y C: FOR x ← 1 TO 10 READ n ENDFOR Identify, using the letter…