Software and operating systems – IGCSE Computer Science (0478)

60 questions · page 4 of 4 · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
46
0478/13/O/N/18 · Question 7Oct/Nov 2018Paper 1310 marks
Loading question…
Question text

7
David is writing a program using a high-level language. The program will be published and sold for
profit.
(a) David uses an interpreter when creating the computer program.
State three features of an interpreter.
Feature 1 …
…
Feature 2 …
…
Feature 3 …
…
[3]
(b) David compiles the program when he has completed it.
Explain two benefits of compiling the program.
Benefit 1 …
…
…
…
Benefit 2 …
…
…
…
[4]
(c) David needs to send a large section of the programming code as an email attachment.
He uses lossless compression to reduce the file size.
Explain how the file size is reduced.
…
…
…
…
…
… [3]

47
0478/11/M/J/18 · Question 7May/June 2018Paper 116 marks
Loading question…
Question text

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.
Compiler …
…
…
…
…
…
Interpreter …
…
…
…
…
…
[6]

48
0478/12/M/J/18 · Question 8May/June 2018Paper 124 marks
Loading question…
Question text

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 program is executed as quickly as possible.
Identify which translator will be most suitable for Dimitri to use. Explain your choice.
Type of translator …
Explanation …
…
…
…
…
…
[4]

Advertisement
49
0478/13/M/J/18 · Question 6May/June 2018Paper 135 marks
Loading question…
Question text

6
One of the roles of an operating system is to deal with interrupts.
(a) Explain the term interrupt.
…
…
…
… [2]
(b) Identify three devices that make use of interrupts.
Device 1 …
Device 2 …
Device 3 …
[3]

50
0478/13/M/J/18 · Question 9May/June 2018Paper 133 marks
Loading question…
Question text

9
Three types of translators are assemblers, compilers and interpreters.
Tick ( ✓ ) the appropriate boxes to show which statements apply to each type of translator.
Compiler
Interpreter
Assembler
Statement
( ✓ )
( ✓ )
( ✓ )
Translates high-
level language into
machine code
Provides error
diagnostics
Translates whole
program to object
code in one
operation
Translates and
executes one line
of code at a time
[3]

51
0478/11/O/N/17 · Question 10Oct/Nov 2017Paper 116 marks
Loading question…
Question text

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 language programs do not need
a translator to be executed.
Assembly language is a low-level
programming language.
Assembly language is specific to the
computer hardware.
Assembly language is machine code.
Assembly language is often used to create
drivers for hardware.
[6]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge International
Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after
the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local

52
0478/12/O/N/17 · Question 6Oct/Nov 2017Paper 124 marks
Loading question…
Question text

6
Selma writes the following four answers in her Computer Science examination.
State which computer terms she is describing.
“It is a signal. When the signal is received it tells the operating system that an event has occurred.”
Selma is describing …
“It takes source code written in a high level language and translates it into machine code. It
translates the whole of the source code at once.”
Selma is describing …
“The part of the central processing unit (CPU) that carries out calculations.”
Selma is describing …
“When data is transmitted, if an error is detected in the data received a signal is sent to ask for the
data to be retransmitted. This continues until the data received is correct.”
Selma is describing …
[4]

53
0478/11/M/J/17 · Question 2May/June 2017Paper 116 marks
Loading question…
Question text

2
Programmers can use a high-level language to write a computer program.
(a) Explain what is meant by the term ‘high-level language’.
…
…
…
… [2]
(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.
… [1]
(c) Describe how your answer to part (b) translates this program.
…
…
…
…
…
…
… [3]

Advertisement
54
0478/12/F/M/17 · Question 6Feb/March 2017Paper 124 marks
Loading question…
Question text

6
The diagram shows five operating system functions and five descriptions.
Draw a line between each operating system function and its description.
Function
Description
Many processes appear to run simultaneously
Interrupt
Data are temporarily held in a buffer waiting for an
Utility
output device to access it
A signal that causes the operating system to take
Memory
a specified action
management
A program that performs a specific task required
Spooling
for the operation of a computer system
A process of assigning blocks of memory to
Multitasking
programs running in a computer
[4]

55
0478/12/F/M/17 · Question 11Feb/March 2017Paper 126 marks
Loading question…
Question text

11
Three programmers are working on different projects:
Alice is developing a program written in a low-level language
•
Akbar is developing a program written in a high-level language
•
Alex is preparing a program written in a high-level language for sale
•
State, with reasons, which type of translator each programmer should use. Each programmer
should be using a different type of translator.
Alice …
…
…
…
Akbar …
…
…
…
Alex …
…
…
…
[6]

56
0478/11/O/N/16 · Question 6Oct/Nov 2016Paper 114 marks
Loading question…
Question text

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
language.
High-level language advantage 1 …
…
High-level language advantage 2 …
…
Low-level language advantage 1 …
…
Low-level language advantage 2 …
…
[4]

57
0478/11/O/N/16 · Question 8Oct/Nov 2016Paper 114 marks
Loading question…
Question text

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.
Description
It is more difficult to debug the
code since one error can
produce many other associated
errors.
The speed of execution of
Compiler
program loops is slower.
It produces fast, executable
Interpreter
code that runs directly on the
processor.
It is easier to debug the code
since an error is displayed as
soon as it is found.
[4]

58
0478/12/O/N/16 · Question 1Oct/Nov 2016Paper 127 marks
Loading question…
Question text

1
(a) Give two reasons why a programmer would choose to write code in a low-level language.
1 …
…
…
2 …
…
…
[2]
(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 show which statements refer to interpreters and which refer to compilers.
Statements
Interpreter (3)
Compiler (3)
Translates the source code into machine code
all at once
Produces an executable file in machine code
Executes a high-level language program one
instruction at a time
Once translated, the translator does not need to
be present for the program to run
An executable file is produced
[5]

Advertisement
59
0478/12/O/N/16 · Question 2Oct/Nov 2016Paper 124 marks
Loading question…
Question text

2
State four functions of an operating system.
1 …
2 …
3 …
4 …
[4]

60
0478/12/M/J/16 · Question 1May/June 2016Paper 123 marks
Loading question…
Question text

1
Complete the following by writing either compiler, interpreter or assembler in the spaces
provided.
…
– translates source code into object code.
…
– translates low-level language into machine code.
…
– stops the execution of a program as soon as it
encounters an error.
[3]

Advertisement