Uploaded by sanskritirijal

1.5 System Software - Exercise

advertisement
1.5
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
Q1
6.
AHMED THAKUR
2015-June, P32
A team of programmers has developed software using a variety of languages and software tools. Some
of the code was written in the XYZ high-level language and some in assembly language. The programmers
have also made use of program libraries.
R
The programmers had available both a compiler and an interpreter for the high-level code written. Some
of the early error detection was carried out using an interpreter.
A
KU
The diagram opposite shows the complete development life cycle, finishing with the final executable
code.
c) Describe one benefit and one drawback of using an interpreter for part of the software development.
………………….…………………………………………………………………………………………………….…………….
…….………………………………………………………………………………………………………………….…………….
Q2
6
2015-June, P12
TH
………………………………………………………………………………………………………………………………….. [2]
(a) Name the most suitable input or output device for each of the following uses.
HM
ED
Give a different device in each case.
A
(b)
All of the uses in part (a) involve the input or output of data.
(i) Describe two methods of preventing accidental loss of data.
1. ……………………………………………………………………………………………………………………………………………
……………….………………………………………………………………………………………………………………………………
2. …………..……………………………………………………………………………………………………………………………….
………………….……………………………………………………………………………………………………………………… [2]
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
1.5
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
AHMED THAKUR
(ii) Describe one way of ensuring the security of the data against malicious damage.
.................................................................................................................................................
........................................................................................................................................... [1]
2014-Nov, P32
R
Q3
A
KU
5. (a) An assembler translates assembly language programs. A compiler translates high-level
language programs. They each do this for programs written in a particular language and for a
particular processor.
Name two features which these translators have in common.
1. ………………………………………………………………………………………………………………………………............
…………………………………………………………………………………………………………………………………………….
2. ………………………………………………………………………………………………………………………………............
TH
………….……………………………………………………………………………………………………………………………… [2]
(b) In the early stages of program development, a source program usually has errors. Each statement
below (labeled A, B, C, D, E, F, G and H) describes one step in the development of the machine code
version of an assembly language program.
A
HM
ED
Note: One of the steps given is not relevant and will not be used.
Put the steps in the correct sequence to describe the assembly process.
The first two steps, G and E, have been placed for you.
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
AHMED THAKUR
A
KU
R
1.5
(c) A developer writes programs in a high-level language. Both an interpreter and compiler exist for the
language.
(i) Describe two benefits that the use of an interpreter would offer.
……………………………………………………………………………………...………………………………………………………
TH
……………………………………………………………………………………...………………………………………………………
……………………………………………………………………………………...………………………………………………………
…………………………………………………………………………………………………………………………………………. [2]
HM
ED
(ii) Describe one drawback in the use of an interpreter.
……………………………………………………………………………………...………………………………………………………
…………………………………………………………………………………………………………………………………………. [1]
Q4
2014-Nov, 13
4. (a) What is meant by a computer virus?
………..…………………………………………………………………………………...………………………………………………………
…………………………………………………………………………………………………………………………………………….. [1]
A
(b) It is important to protect a computer system from viruses.
Describe three different ways to do this.
1. ………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
2. ………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
1.5
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
AHMED THAKUR
3. ………………………………………………………………………………………………………………………………………………..
……………….…………………………………………………………………………………………………………………………….. [3]
Q5
(a) Describe four differences between using a compiler or interpreter for the translation process and
the execution of a high-level language source code program.
R
5
2013-June, P33
A
KU
……………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
TH
……………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………….……………………………………………………………. [4]
Q6
Some students decide to do a survey to find out how good the general public are at Mathematics. They
produce a series of questions. For each question, an answer is chosen by shading in a lozenge on a survey
form. These survey forms are then automatically read using optical mark recognition (OMR). The
computer software automatically decides which questions have been answered correctly.
HM
ED
1
2013-Nov, P12
(b) These surveys produced a lot of data. The students decided to run a file compression utility.
(i) Describe why file compression would be useful in this application.
….………………………………………………………………………………………………………………………………………….
….……………………………………..………………………………………………………………………………………………….
A
………………………………………..……………………………………….……………………………………………………. [2]
(ii) The students frequently send each other emails with file attachments. Describe two different
file types where compression can be used.
….………………………………………………………………………………………………………………………………………….
….……………………………………..………………………………………………………………………………………………….
………………………………………..……………………………………….……………………………………………………. [2]
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
1.5
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
Q7
5
AHMED THAKUR
2013-Nov, P11
(c) Once a week the user runs a virus checker. What action will be taken if the virus checker a virus in a
file?
R
…………………….……………………………………………………………………………………………………………………………….
…………………….……………………………………………………………………………………………………………………………….
A
KU
…………………….……………………………………………………………………………………………………………………………….
……………………………………………………………………………………….……………………………………………………. [2]
Q8
4
2012-Nov, P33
Two types of software which are used to translate high-level programs are a compiler and an interpreter.
(a) Name two outputs produced by the compiler.
…………………….……………………………………………………………………………………………………………………………….
TH
……………………………………………………………………………………….……………………………………………………. [2]
(b) Describe two advantages of using an interpreter rather than a compiler.
1. ……….………………………………………………………………………………………………………………………………………
……….........................................................................................................................................
HM
ED
2. ……….………………………………………………………………………………………………………………………………………
……….................................................................................................................................... [2]
Q9
4
2012-Nov, P12
A student has a stand-alone computer at home. Describe the following examples of utility software and
state how they would be used by the student
(i) Disk formatter
Description……………………..………..………………………………………………………………………………………………….
A
……….…………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………..………………………………………… [2]
Use……………………………………………………..………………………………………………………………………………………
……………………………..………………………………………………………………………………………………………………… [1]
(ii) File compression
Description……………………..………..………………………………………………………………………………………………….
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
1.5
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
AHMED THAKUR
……….…………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………..………………………………………… [2]
R
Use……………………………………………………..………………………………………………………………………………………
Q10
4
A
KU
……………………………..………………………………………………………………………………………………………………… [1]
2012-Nov, P11
A teacher is responsible for the maintenance of the school network. Describe the following examples of
utility software and state how they would be used by the teacher.
(i) Hardware driver
Description……………………..………..………………………………………………………………………………………………….
TH
……….…………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………..………………………………………… [2]
Use……………………………………………………..………………………………………………………………………………………
HM
ED
……………………………..………………………………………………………………………………………………………………… [1]
(ii) Virus checker
Description……………………..………..………………………………………………………………………………………………….
……….…………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………..………………………………………… [2]
Use……………………………………………………..………………………………………………………………..………………………
A
……………………………..………………………………………………………………………………………………………………… [1]
Q11
9
2011-Nov, P31
(b) (i) Explain the value of using library routines when writing new programs.
….……………..………………………………………………………………………………………………………………………….
….……………..………………………………………………………………………………………………………………………….
….……………..………………………………………………………………………………………………………………………….
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
1.5
SYSTEM SOFTWARE
1.5
SYSTEM SOFTWARE – EXERCISE
AHMED THAKUR
….……………..………………………………………………………………………………………………………….…………… [2]
Q12
Describe four functions of an operating system.
R
1
2010-Nov, P12
A
KU
………..……………..………………………………………………………………………………………………………………………………….
………..……………..………………………………………………………………………………………………………………………………….
………..……………..………………………………………………………………………………………………………………………………….
………..……………..………………………………………………………………………………………………………………………………….
………..……………..………………………………………………………………………………………………………………………………….
TH
………..……………..………………………………………………………………………………………………………………………………….
………..……………..………………………………………………………………………………………………………………………………….
………..……………..………………………………………………………………………………………………………………………………….
HM
ED
………..……………..………………………………………………………………………………………………………………………………….
………..………………..………………………………………………………………………………………………………………………… [8]
Q13
1
2010-June, P32
(a) Explain the differences between using a compiler and an interpreter for:
(i) The translation of a high-level language program
………..………………………………………………………………………..…………………………………………………………..
……….……………………………………………………………………………………………………………………………………..
……….……………………………………………………………………………………………………………………………………..
A
………………………………………………………………………………………………………………………………………… [3]
(ii) The execution of a high-level language program
………..………………………………………………………………………..…………………………………………………………..
……….……………………………………………………………………………………………………………………………………..
……….……………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………………… [3]
COMPUTER SCIENCE
9608
https://www.facebook.com/groups/OAComputers/
ahmed_thakur@hotmail.com, 0300-8268885
Download