Professional Documents
Culture Documents
88127013
COMPUTER SCIENCE
STANDARD LEVEL
PAPER 1
1 hour 30 minutes
INSTRUCTIONS TO CANDIDATES
8812-7013 6 pages
© International Baccalaureate Organization 2012
–2– N12/5/COMSC/SP1/ENG/TZ0/XX
SECTION A
3. Describe how increasing the size of cache memory improves the performance of
a computer. [2 marks]
4. Outline the need for an A–D converter in a voice recognition system. [2 marks]
5. Outline one advantage to computer system designers of using the prototyping approach. [2 marks]
6. Describe how a parity check is used to ensure data integrity in the transmission
of data. [3 marks]
7. Integers are represented in an 8-bit register using the two’s complement method.
1 1 1 1 0 0 0 1
(b) State the binary representation of the largest possible positive integer. [1 mark]
9. An international organization has offices in five different world regions. Compare the
use of e-mail with video conferencing for communication between the staff. [4 marks]
8812-7013
–3– N12/5/COMSC/SP1/ENG/TZ0/XX
11. The following code is used to display discount depending on the number of
units bought.
(b) Identify the type of error that occurs in this code. [1 mark]
12. Describe one advantage and one disadvantage of the growing use of computers
in society. [4 marks]
SECTION B
13. A system analyst has been asked to oversee the computerization of a new department
of a large firm and uses interviews and questionnaires to collect data.
At the end of the analysis stage a feasibility report is produced which contains several
possible solutions.
(b) Explain why more than one possible solution is proposed. [2 marks]
(c) Explain two tasks that should be carried out before the new computer system can
be fully implemented. [4 marks]
14. At the end of each school year up to 200 students take an examination. Exams are
marked by the teacher and results input using a keyboard. Sample data about two
students is shown below.
(a) (i) State appropriate data types for the three data items listed above. [3 marks]
(ii) Describe a data structure that could be used to hold data about all students
in the school. [3 marks]
A multiple choice examination will be used the following year in order to capture and
process the data automatically.
(b) Suggest suitable input devices and data preparation requirements so that this can
be carried out. [4 marks]
8812-7013
–5– N12/5/COMSC/SP1/ENG/TZ0/XX
15. (a) State the purpose of the following when creating a Java program.
class QuestionApp
{
public static void main(String[] args)
{
int x = inputInt();
int y = inputInt();
int s = x + y;
output("The sum is " + s);
}
}
(a) Copy and complete the trace table for the method call.
(c) (i) Explain what will happen after this method call. [2 marks]
(ii) Suggest changes needed to take this situation into account and alert the
user about the error. [3 marks]
8812-7013