Font size
Worksheetsrecap 12 miscellaneous H446 computer science
Total questions: 17
Worksheet time: 22mins
Intel's Pentium chip uses
(a) to execute as many as six instructions simultaneously.
Using pipelinlng, the computer architecture allows the next instructions to be fetched at the same time as
the processor is performing arithmetic or logic operations, holding them in a (a) close to the processor
until the instruction can be performed.
what's the relationship between the word size/length for a CPU and the width of the data bus?
(a)
A data bus has 65536 different binary values. How many ASCII characters can be transmitted at once?
(a)
In round robin scheduling, processes are despatched on a first in first out (FIFO) basis, with each process
in turn being given a limited amount of CPU time called a ____ _____ or quantum. If the process does not
complete before its time expires. or before a higher priority interrupt occurs, the despatcher gives the
CPU to the next process.
(a)
Which processor scheduling algorithm separate processes into categories based on their need for the processor?
(a)
A _______ ___________ can be defined as any instance where software is used to take on the function of the machine, including executing intermediate code or running an operating system within another to emulate
different hardware.
(a)
_________ would therefore be appropriate when a program is to be run regularly or frequently, with only
occasional change.
a compiler
an interpreter
platform independence - the source code can be run on any machine which has the appropriate platform available (e.g. Java's byte code)
advantage of compilers
advantage of interpreters
• the identifier or keyword
• the kind of item (variable, array, procedure, keyword etc.)
• the type of item (integer, real, char etc.)
• the runtime address of the item, or its value if it is a constant
These are all contained within the _________ _________ during compilation
(a)
It is the job of the (a) to put the appropriate machine addresses in all the external call and return instructions, so that the modules work together correctly.
how many attributes would an object created from the "Plant" class have?
(a)
if price > 9999 then
return "too high"
These two lines of validation code would make sense in which method?
(a)
setPrice() method would be available with "Tool" objects
True
False
JavaScript commands can access and edit HTML elements outside of the <script> tags, and write
directly to the web page document using the command document . The attribute . (a) of an HTML element can be edited directly.
d is the (a) factor set to prevent PR (Tn) /C (Tn) from having too much influence. It is notionally set to 0.85, which in probability terms says that after roughly six click-through links, the average user will either stop their session or enter a new web address in their browser directly rather than following another link.
rank these from highest eventual page rank to lowest. eg DACB
(a)
