Professional Documents
Culture Documents
Computer
Science A/l
SOl)Tn WEST REGIONA
L MOCK EXAMINATION
-
T TWIWR
'
Pedagogic Inspe^
^•
ctoral
« /
cs
"I'
and
— .-
- GEN
the Sob
,n
ERAL EDUCATION
coU bo,lbo« « <> Rcpowf
cc, Tether, Assoc
"*, *non ICTA).Subject Code
0795
Paper Number
I
•• I
CANDIDATE NAME
• •••
Subject Title
CANDIDATE NUMBER
•• • •••••• |# t
COMPUTER SCIENCE
CENTRE NUMBER
DATE
ADVANCED LEVEL 04/04/2022
( MORNING )
INSTRUCTIONS TO CANDIDATES:
1. USE A SOFT HB PENCIL THROUGHOUT THIS EXAMINA
TION
2. DO NOT OPEN THIS BOOKLET UNTIL YOU ARE TOLD
TO DO SO
Before the Examination begins:
5. Without opening the booklet, pull out the answer sheet carefully from inside the front cover of this
booklet l ake care
that you do not crease or fold the answer sheet or make any marks on it other than those asked for
in these instructions
6. Insert the information required in the spaces provided on the answer sheet using your HB pencil
:
Candidate Name, Centre Number, Candidate Number, Subject Code Number and Paper Number.
How to answer questions In this examination:
7. Answer ALL (he 50 questions m this examination All questions carry equal marks.
. -
8 Non programmable calculator a are al lowed.
.
9. For each question there are four suggested answers A, B, C, and D Decide which unswer is cancel Find
the number ol
the question on the Answer sheet and draw a horizontal line across the letter to join the square brackets
*
( *] ( •) W [ •)
.
10. Mark only one answer for each question. If you mark more than one «mw you will score zero for that question.
If you
change your mind about an answer, erase the first mark carefully , and then mark your new answer
*
11 Avoid spending much time on any question. If you find a question difficult, move to the mat question. You can
come
back to this question later
.
12. Do all rough work m thu booklet uang, where necessary the blank spaces in the question booklet .
13. Mobile phones arc NOT ALLOWED in the examination room
14. You must no* take this booklet and answer sheet cut of the examination room All question booklets and answer
sheets
will be collected at the end of the examination
entt
^^ tp vMna/escows
^ ^ uaxj
1
Scanned by TapScanner
%
I The maximum capacity of memon • vompuui K Which of the following describes the di|],
can use in dotcimtncil I* Ihe M /C ol
' |>ctwccn hub nml a witch n
a
* ,
A Control bu« communication? ^
B Data bin A hub transmit!only analog signal WL , .
A
,.
^
(' AddlCS* hll« n switch transmits both analog and di
l) PCI bus ngoals.
It A huh operates on the data link l# VCf ,
! Which addicssing mode execute its instiuction
*
within the CPU without the need to reference
the OSI reference model w hile a
Hitch •
operates on the physical layer
tiicuioix for operands?
A Relative mode c Aii pons on a huo m ,c in the same col|iUfM)
It Helmet mode
domain while cveiy poll on a switch u n ,
a separate collision domain
C Direct Mode
L) All ports on a huh are in the ume
D Immediate Mode
broadcast domain while cvay po,t on »
3 A CPU scheduling algonthni dcteinuncs an switch is m a separate broadcast domain
order for the execution of its scheduled
processes Given k processes to be scheduled in
one processor, how many ddVcrcnl possible Wliich of the following registers holds the
ways can these processes be scheduled• > address of the instruction to be executed next ?
A kt A Status register
B
C
-
(k l)l
kl/(k -l) t
H
C
Instruction register
Memory a ldrcss register
D k(k - tV2 I) Program counter
I
4 In Structured Query Language, the commands 10. One way of dealing with deadlocks is to ensure
SELECT, INSERT and UPDATE can be that the request for any resource is only granted
classified as if the resulting state of (he system docs not cause
A TCL commands a deadlock This method of dealing with
B DCL commands deadlocks is known as
C DDL commands A Deadlock prevention
D DML commands B Deadlock avoidance
C Deadlock detection
5 A situation that exists between two tables in a D Mutual exclusion
relational database when one table has a foreign
key that references the primary key of the other II ( onsidcr that n
table is known as:
elements arc to be sorted. What
is the worst ease time complexify of BubNc
A Aggregation sort?
B Normalisation A 0( 1)
C Relationship
B
D 0(logn)
Inheritance
C 0(n)
D (Xn* )
EMM
Scanned by TapScanner
14 In which phase of the system development 21 . A piece of
process is documentation aimed t determining software nrv**iki V ,
what the ay stem must do? • meant to
*pecifications
facihuic nCOmplcte
*
- <»«*» •»»
A Analyna customer is
between
*°n *"
c producer and
B Design A Uacr interface
C Investigation B Sy em prototype
D Construction
* System model
Scanned by TapScanner
%
2» Wh,«h or *. »1 « r? 35
a computer'
..
Which of the Ml wing i » not
function of RAM
e winch *TT»
in
network to determin
to. on a A It holds program! and data
transmission should he delivered that are in
current use by the processor
particular computer " I) It holds data that has been procetaed
A Port mimbei and
wailing to be sent to a storage
R Protocol device
Domain name C It hold* frequently requested
C quick access by the CPU
data for
D IP address
D It holds the boot or start -up program
uTt* rwulTof the postfix expnmtm 3 10 which is run when the computet
^ ^•
T
}+
A
?
35
switched on
is
Scanned by TapScanner
42 "^Lncnt
'" need
*
a p» gc
and there
occurs ,n
no available frame
is
system0 Print ( k )
A Kernel SnrfXf
B interrupts Naxt k
C
D
System Calls
Scheduling algorithm -
For N 20, what is the expected output of the
pseudocode fragment above?
.
45. A variable which is visible only in the A 4, 0 10 16
function io which it is defined is called: B ..
0 6 12, 18
A Actual parameter C 1. 4, 7, 10. 13. 16. 19
B Formal parameter D 0, 2. 4. 6. 8. 10. 12. 14. 16. 18
C Global variable
D Local variable
5/5
© r U/ Rfi/ SWA TKT CSC079S/ P1/ MOCX 2022
* /
Scanned by TapScanner