Você está na página 1de 24

2000-CE

COMP HONG KONG EXAMINATIONS AUTHORITY


STUD
HONG KONG CERTIFICATE OF EDUCATION EXAMINATION 2000
1A

COMPUTER STUDIES PAPER 1 (SECTION A)

Subject Code 200

1. Read carefully the instructions on the Answer Sheet and insert the information
required (including the Subject Code) in the spaces provided.

2. When told to open this book, check that all the questions are there. Look for
the words ‘END OF SECTION A’ after the last question.

3. ANSWER ALL QUESTIONS. All the answers should be marked on the


Answer Sheet.

4. Note that you may only mark ONE answer to each question. Two or more
answers will score NO MARKS.

5. All questions carry equal marks. No marks will be deducted for wrong
answers.

香 港 考 試 局     保 留 版 權
Hong Kong Examinations Authority
All Rights Reserved 2000

2000-CE-COMP STUD 1A–1


There are 50 questions in this section.

1. Which of the following statements does NOT comply with the Personal Data
(Privacy) Ordinance?

A. Personal information cannot be changed without authorization.


B. Personal information is kept up-to-date.
C. Personal information is not disclosed to unauthorized parties.
D. Personal information is kept longer than necessary.
E. Personal information is used for a specified purpose.

2. Which of the following is considered a computer crime?

A. Selling “Freeware” downloaded from the Internet


B. Downloading “Freeware” from the Internet
C. Using a computer in a public library to log onto the Internet
D. Making a fund transfer through the Internet
E. Backing up data files downloaded from the Internet

3. The following diagram shows a queue containing five items :

C T U X B

Front Rear

Which of the following diagrams shows the queue after the deletion of two
items and the insertion of three items P, Q and F?

A. C T U P Q F

B. U X B P Q

C. U X B P Q F

D. C T U X B P Q F

E. P Q F U X B

2000-CE-COMP STUD 1A−2 −1−


保留版權 All Rights Reserved 2000
4. Given three two’s complement 8-bit integers X, Y and Z such that
Z = X + Y , where Y is the one’s complement of X. What is the value of Z
in decimal?

A. −127
B. −1
C. 0
D. 255
E. 127

5. In the following diagram, bits 1 to 7 are used to store the ASCII code of a
character and bit 0 is the odd parity bit.

7 6 5 4 3 2 1 0 bit number

parity bit

Which of the following bit patterns represents the character 'U'?

A. 1110 1010
B. 1010 1010
C. 0101 0101
D. 1101 0101
E. 1010 1011

6. Which of the following software can be used to create a data file for mail-
merging?

(1) Spreadsheet
(2) Word processing
(3) Graphics
(4) Database

A. (4) only
B. (1) and (4) only
C. (2) and (3) only
D. (2) and (4) only
E. (1), (2) and (4) only

2000-CE-COMP STUD 1A−3 −2− Go on to the next page


保留版權 All Rights Reserved 2000
7. Which of the following area(s) is/are (an) application(s) of computer
graphics?

(1) Computer Aided Design


(2) Computer Animation
(3) Computer Assisted Learning

A. (1) only
B. (2) only
C. (1) and (2) only
D. (2) and (3) only
E. (1), (2) and (3)

8. Which of the following mode of processing systems can respond quickly to


some external events?

A. Time sharing
B. Batch
C. Real time
D. Multitasking
F. Interactive

9. Records in a random file are stored …

A. in a location assigned by an addressing algorithm.


B. in a location assigned by a random number generator.
C. in any empty location.
D. in the order of input.
E. in the order of the key.

2000-CE-COMP STUD 1A−4 −3−


保留版權 All Rights Reserved 2000
10. Which of the following networks is a star network?

A.

B.

C.

D.

E.

11. Which of the following data transmission media is NOT subject to electrical
interference?

A. Twisted pair wire


B. Coaxial cable
C. Optical fiber
D. Radio
E. None of the above

2000-CE-COMP STUD 1A−5 −4− Go on to the next page


保留版權 All Rights Reserved 2000
12. The function(s) of the Control Unit is/are

(1) to interpret the instructions


(2) to direct all operations within the processor
(3) to send and receive control signals from peripheral devices

A. (2) only
B. (3) only
C. (1) and (2) only
D. (2) and (3) only
E. (1), (2) and (3)

13. Which of the following is NOT a register inside the CPU?

A. Status register
B. Instruction register
C. Program counter
D. Accumulator
E. RAM

14. Which of the following peripherals are output devices?

(1) Plotter
(2) CD-ROM Drive
(3) Scanner
(4) Hard Disk Drive

A. (1) and (2) only


B. (2) and (4) only
C. (1) and (3) only
D. (1) and (4) only
E. (3) and (4) only

2000-CE-COMP STUD 1A−6 −5−


保留版權 All Rights Reserved 2000
15. Below are 3 storage media :

(1) Random Access Memory


(2) Hard Disk
(3) Magnetic Tape Drive

Arrange these in term of access speed, from the slowest to the fastest

A. (3), (2), (1)


B. (2), (1), (3)
C (1), (3), (2)
D. (2), (3), (1)
E. (1), (2), (3)

16. The following shows part of the contents of the memory :

Memory Memory
Location Content
120 140
130 150
140 160
150 170
160 180

The final content of the accumulator is found to be 150 if the following three
instructions are executed sequentially. What will the value be at memory
locations 130, 140, 150 respectively?

Instruction(s) Meaning
MOV 150, A Copy the value of 150 into the accumulator.
MOV A, &150 Copy the content of the accumulator into
memory location 150.
MOV &150, &130 Copy the contents of the memory location
150 into the memory location 130.

A. 150 160 170


B. 150 160 0
C. 170 160 0
D. 150 160 150
E. 170 160 150

2000-CE-COMP STUD 1A−7 −6− Go on to the next page


保留版權 All Rights Reserved 2000
17. Which of the following is/are true about a laser printer?

(1) It outputs high-quality hard copy.


(2) It is an impact printer.
(3) It operates quietly.

A. (1) only
B. (2) only
C. (1) and (3) only
D. (2) and (3) only
E. (1), (2) and (3)

18. Which of the following will affect the output quality of a visual display unit?

(1) Number of colours


(2) Resolution
(3) Memory size

A. (1) only
B. (1) and (2) only
C. (1) and (3) only
D. (2) and (3) only
E. (1), (2) and (3)

19. People can work at home using a home computer connected to the computer
in their office. Which of the following is false?

A. It provides a relax working atmosphere.


B. There is better team spirit.
C. There is possible family distraction.
D. Less office space is needed.
E. It allows flexible working hours.

2000-CE-COMP STUD 1A−8 −7−


保留版權 All Rights Reserved 2000
20. Which of the following is NOT normally sold as part of an office
automation software package?

A. User's manual
B. Operation guide
C. Tutorial manual
D. Program listing
E. Trouble shooting manual

21. In stages of computerization , the person mainly responsible for producing


the system flowchart is the ____________ .

A. electronic data processing manager


B. systems analyst
C. systems engineer
D. programmer
E. computer operator

22. The following steps are supposed to sum the integers of 1 to 9 and store the
result in Y.

Step 1 assign 1 to X
Step 2 if X > 9 then go to step 6
Step 3 assign the value of (Y + X) to Y
Step 4 assign the value of (X + 1) to X
Step 5 go to step 2
Step 6 output the value of Y

Execution of the above steps cannot get the correct answer. Which of the
followings is the possible reason for the error?

A. Variable X is not initialized.


B. Variable Y is not initialized.
C. There is an infinite loop.
D. The value of X is not output.
E. Step 3 and Step 4 are misplaced.

2000-CE-COMP STUD 1A−9 −8− Go on to the next page


保留版權 All Rights Reserved 2000
23. Which of the following is/are example(s) of the infringement of copyright?

(1) Peter downloaded a shareware from the Internet and continued to


use it after the free trial period.
(2) When Mary submitted her assignment to her teacher via the
network, the teacher’s computer became infected.
(3) Tom sold pirated software.

A. (3) only
B. (1) and (3) only
C. (1) and (2) only
D. (2) and (3) only
E. (1), (2) and (3)

24. Which of the following about a stack is/are true?

(1) It is a first-in-first-out data structure.


(2) Two pointers are required for a stack operation.
(3) It can be used to store returning addresses for procedure calls in
Pascal.

A. (1) only
B. (2) only
C. (3) only
D. (1) and (2) only
E. (1) and (3) only

25. The decimal number 3.375 in binary normalized form is

A. 0.11011× 1010
B. 0.11011× 10−10
C. 11011× 1011
D. 11011× 10−11
E. 1.1011 × 1001

2000-CE-COMP STUD 1A−10 −9−


保留版權 All Rights Reserved 2000
26. Using 13-bit, 2’s complement representation, what is the result of
−513 − 512?

A. 1000000000001
B. 1101111111111
C. 0111111111111
D. underflow occurs
E. overflow occurs

27. Which of the following tasks can be performed by a database management


system?

(1) listing customers who used mobile phone for more than 1000
minutes in last month
(2) sorting students’ marks in descending order
(3) producing invitation letters to customers

A. (1) only
B. (3) only
C. (1) and (2) only
D. (2) and (3) only
E. (1), (2) and (3)

28. Which of the following tasks can be performed by a spreadsheet software?

(1) seeing how different interest rates will affect the monthly
repayment of mortgage loans
(2) plotting charts of weekly temperatures
(3) analysing the test marks of students

A. (1) only
B. (3) only
C. (1) and (2) only
D. (2) and (3) only
E. (1), (2) and (3)

2000-CE-COMP STUD 1A−11 − 10 − Go on to the next page


保留版權 All Rights Reserved 2000
29. Which of the following is/are the advantage(s) of real-time processing over
batch processing?

(1) It is easier to set up the system.


(2) The hardware is cheaper.
(3) The information is more up-to-date.

A. (1) only
B. (2) only
C. (3) only
D. (1) and (3) only
E. (2) and (3) only

30. Which of the following tasks should be accomplished using an interactive


system?

(1) withdrawing money from a bank account through an automatic


teller machine
(2) sending bank statements to customers
(3) booking airline tickets

A. (1) only
B. (2) only
C. (3) only
D. (1) and (2) only
E. (1) and (3) only

31. A company uses a sequential file to store the records of its employees.
Which of the following statements is/are true?

(1) An employee’s record can be located using a sequential search.


(2) An employee’s record can be located using a binary search.
(3) An employee’s record can be located directly.

A. (1) only
B. (2) only
C. (3) only
D. (1) and (2) only
E. (1) and (3) only

2000-CE-COMP STUD 1A−12 − 11 −


保留版權 All Rights Reserved 2000
32. In a school, Name, Class, Class_no are three fields in a file used to
store student names, classes and class numbers respectively. Which of the
following can be used as the key field?

A. Name
B. Class_no
C. Class and Name
D. Class and Class_no
E. Class_no and Name

33. To avoid network failure caused by the malfunction of a node in a network,


which of the following network topologies should be implemented?

(1) Ring
(2) Bus
(3) Star

A. (1) only
B. (1) and (2) only
C. (1) and (3) only
D. (2) and (3) only
E. (1), (2) and (3)

34. Which of the following is/are the duties of a computer operator?

(1) mounting disks


(2) backing up data
(3) collecting and entering data

A. (1) only
B. (2) only
C. (1) and (2) only
D. (2) and (3) only
E. (1), (2) and (3)

35. Which of the following techniques can be used during algorithm design?

A. decomposing the problem


B. documenting the program
C. defining the problem
D. coding the program
E. debugging the program

2000-CE-COMP STUD 1A−13 − 12 − Go on to the next page


保留版權 All Rights Reserved 2000
For questions 36 to 45, find the output of the given program.

36. program Q36;


begin
writeln(trunc(abs(-9.5)-2)div 2)
end.

A. 0
B. 1
C. 2
D. 3
E. 4

37. program Q37;


var
x, y, z : string;
begin
x := '10101010';
y := '10101';
z := x + y;
writeln(copy(z,2,3) + copy(z,5,2))
end.

A. 00100
B. 01010
C. 01011
D. 01101
E. 01110

2000-CE-COMP STUD 1A−14 − 13 −


保留版權 All Rights Reserved 2000
38. program Q38;
const k = 7;
var s : string[k];
i : integer;
begin
s := 'legco';
case s[k-length(s)]of
'o': i:=2;
'c': i:=4;
'g': i:=6;
'e': i:=8;
'l': i:=10;
else
i :=5
end;
writeln(i mod k)
end.

A. 0
B. 1
C. 2
D. 3
E. 4

2000-CE-COMP STUD 1A−15 − 14 − Go on to the next page


保留版權 All Rights Reserved 2000
39. program Q39;
var x, y, z : integer;

procedure change (x, y, z : integer);


begin
x := y;
y := z;
writeln(x, y, z)
end;

begin
x := 1;
y := 2;
z := 3;
change(y, z, x);
writeln(x, y, z)
end.

A. 231
123
B. 233
123
C. 311
123
D. 231
231
E. 311
311

2000-CE-COMP STUD 1A−16 − 15 −


保留版權 All Rights Reserved 2000
40. program Q40;
var data : array [1..6] of integer;
k : integer;
begin
for k := 1 to 6 do
data[k] := 7-k;

k := data[data[k-1]];
writeln(data[data[k]*k-data[3]]+data[k])
end.

A. 3
B. 6
C. 8
D. 11
E. 12

41. program Q41;


var i,j : integer;
begin
i := 2;
for j := 3 downto 0 do
begin
i := i + j;
write(i)
end
end.

A. 543
B. 578
C. 5432
D. 5433
F. 5788

2000-CE-COMP STUD 1A−17 − 16 − Go on to the next page


保留版權 All Rights Reserved 2000
42. program Q42;
var a, b : string;
function GREAT (x, y : string) : integer;
begin
if length(a) > length(b)
then GREAT := length(a) else GREAT := length(b)
end;
begin
a := 'greater';
b := 'less';
writeln(GREAT(a,b) + GREAT (b,a))
end.

A. 8
B. 11
C. 14
D. 74
E. 77

43. program Q43;


type link = record
a: integer;
b: char
end;
var
i: integer;
x: array[1..10] of link;
begin
for i := 1 to 10 do
begin
x[i].a := 11 mod i;
x[i].b := chr (91-i)
end;
for i := 1 to 10 do
if x[i].a < 3 then write (x[i].b)
end.

A. ZY
B. ZYXV
C. ZYXVR
D. ZYXVRQ
E. ZYXVURQ

2000-CE-COMP STUD 1A−18 − 17 −


保留版權 All Rights Reserved 2000
44. program Q44;
var a, b , c : integer;

procedure p1;
var a, c : integer;

procedure p2;
var b : integer;
begin
a :=4;
b :=5;
write(a,b,c)
end;

begin
a := 4;
c := 6;
write(a,b,c);
p2;
write(a,b,c)
end;

begin
a := 1;
b := 2;
c := 3;
p1;
write(a,b,c)
end.

A. 456456456123
B. 456453456123
C. 426453426426
D. 426456426123
E. 426456456123

2000-CE-COMP STUD 1A−19 − 18 − Go on to the next page


保留版權 All Rights Reserved 2000
45. program Q45;
type rec = record
x: char;
y: integer;
z: integer
end;
var
r : rec;
begin
r.x := 'L';
r.y := trunc(sqrt(ord(r.x))) + 1;
r.z := ord(r.x) mod r.y;
writeln(r.z)
end.

A. 4
B. 5
C. 6
D. 7
E. 8

2000-CE-COMP STUD 1A−20 − 19 −


保留版權 All Rights Reserved 2000
Directions: Questions 46 – 50 consist of two statements each. Decide whether
each of the two statements is true or false. If both are true, decide
whether or not the second statement is a correct explanation of the
first statement. Then select one of options A – E according to the
following table:

1st statement 2nd statement


A. true true the 2nd statement is a correct explanation
of the 1st statement
B. true true the 2nd statement is not a correct
explanation of the 1st statement
C. true false −
D. false true −
E. false false −

1st statement 2nd statement


46. Multimedia files must be Rewritable CDs are suitable media
compressed before saving to the for storing multimedia files.
mass storage media.

47. In a microcomputer, the number Chinese character can be inputted


of bytes required to store a by a combination of keys on a
Chinese character is more than keyboard.
an English character.

48. Compression can improve file A compressed file cannot be viewed


security. using software which originally
created the uncompressed file.

49. An object program is free of A compiler can be used to detect all


syntax errors. errors in a source program.

50. A machine code program is A machine code program cannot


generally difficult for people to include comment statements.
read.

END OF SECTION A

2000-CE-COMP STUD 1A−21 − 20 −


保留版權 All Rights Reserved 2000
A Partial Character List for ASCII
Character ASCII Character ASCII Character ASCII
0 48 J 74 d 100
1 49 K 75 e 101
2 50 L 76 f 102
3 51 M 77 g 103
4 52 N 78 h 104
5 53 O 79 i 105
6 54 P 80 j 106
7 55 Q 81 k 107
8 56 R 82 l 108
9 57 S 83 m 109
: 58 T 84 n 110
; 59 U 85 o 111
< 60 V 86 p 112
= 61 W 87 q 113
> 62 X 88 r 114
? 63 Y 89 s 115
@ 64 Z 90 t 116
A 65 [ 91 u 117
B 66 \ 92 v 118
C 67 ] 93 w 119
D 68 ^ 94 x 120
E 69 _ 95 y 121
F 70 ` 96 z 122
G 71 a 97 { 123
H 72 b 98 | 124
I 73 c 99 } 125

List of Operators and Reserved Words


+, -, *, /, div, mod, >, <, =, >=, <=, <>, and, or, not, sqrt, trunc, round, random, abs,
+(string concatenation), length, ord, chr, val, str, copy, const, type, procedure, function,
var, integer, real, char, string, boolean, true, false, text, array...of, record...end, program,
input, output, begin...end, :=, for...to/downto...do, (*...*), if...then...else, while...do,
repeat...until, case...of...end, write, writeln, read, readln, assign, reset, rewrite, eof, eoln,
close, sqr, sin, cos, arctan, ln, exp, with...do

2000-CE-COMP STUD 1A−22 − 21 −


保留版權 All Rights Reserved 2000
Appendix
List of Commands in Mnemonics

Op-code Operand Meaning


INP XXX input data to address XXX
OUT XXX output the contents of address XXX
STA XXX store contents of accumulator to address XXX
LDA XXX load accumulator with the contents of address XXX
JMP XXX jump to address XXX
JPN XXX branch to address XXX if contents of accumulator are
negative
JPZ XXX branch to address XXX if the contents of accumulator
are zero
INC XXX increase the contents of address XXX by 1
DEC XXX decrease the contents of address XXX by 1
ADD XXX add to accumulator the contents of address XXX and
store the result in accumulator
SUB XXX subtract from accumulator the contents of address
XXX and store the result in accumulator
STP - stop

2000-CE-COMP STUD 1A−23 − 22 −


保留版權 All Rights Reserved 2000
2000 HKCE Computer Studies (Paper 1A)

Question No. Key Question No. Key

1. D 26. B
2. A 27. E
3. C 28. E
4. B 29. C
5. E 30. E

6. E 31. A
7. E 32. D
8. C 33. D
9. A 34. C
10. C 35. A

11. C 36. D
12. E 37. B
13. E 38. B
14. D 39. C
15. A 40. A

16. This item was deleted. 41. E


17. C 42. C
18. E 43. D
19. B 44. D
20. D 45. A

21. B 46. D
22. B 47. B
23. B 48. D
24. C 49. C
25. A 50. A

保留版權 All Rights Reserved 2000

Você também pode gostar