wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

recap 12 miscellaneous H446 computer science

Total questions: 17

Worksheet time: 22mins

Name
Class
Date
1.

Intel's Pentium chip uses

(a)   to execute as many as six instructions simultaneously.

2.

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.

3.

what's the relationship between the word size/length for a CPU and the width of the data bus?

(a)  

4.

A data bus has 65536 different binary values. How many ASCII characters can be transmitted at once?

(a)  

5.

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)  

6.

Which processor scheduling algorithm separate processes into categories based on their need for the processor?

(a)  

7.

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)  

8.

_________ would therefore be appropriate when a program is to be run regularly or frequently, with only

occasional change.

a)

a compiler

b)

an interpreter

9.

platform independence - the source code can be run on any machine which has the appropriate platform available (e.g. Java's byte code)

a)

advantage of compilers

b)

advantage of interpreters

10.

• 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)  

11.

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.

12.

how many attributes would an object created from the "Plant" class have?

(a)  

13.

if price > 9999 then

return "too high"

These two lines of validation code would make sense in which method?

(a)  

14.

setPrice() method would be available with "Tool" objects

a)

True

b)

False

15.

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.

16.

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.

17.

rank these from highest eventual page rank to lowest. eg DACB

(a)