Preview

07 - Final Test (55 questions)

 1. The CPU is sometimes called the "brain" of a computer. What does CPU stand for?
cpubrain2.png

  Central Putrid Unificator

  Central Processing Unit

  Computing Power Unifier

  Central Projector UFO

 2. Fill in the blanks below.
The computer industry has used the term 'central processing unit' at least since the early 
1960s. Traditionally, the term 'CPU' refers to a p_____________, more specifically to its 
processing unit and control unit (CU), distinguishing these core elements of a computer 
from external components such as main memory and input/output circuitry.

  processor

  priggert

  plug

  post-box

 3. Who is the image below and the paragraph describing?
___________________________________ was a child prodigy. When he was 6 years old, 
he could divide two 8-digit numbers in his head and could converse in Ancient Greek.
He is also credited with he book 'The Computer and the Brain' - it is speculative in nature
but he discusses similarities and differences between brains and computers of his day.

It is this man that is among the main individuals credited with the architecture 
(named after him) of the 'stored program computer', which was the precursor of our
modern CPUs.
jonvon.png

  Charles Babbage

  Isaac Newton

  Bill Gates

  John von Neumann

 4. The Neumann architecture design consists of a Control Unit, Arithmetic and Logic Unit (ALU), Memory Unit, Registers and Inputs/Outputs. One of the main purposes of the CPU is to ...

  process data

  connect to the internet

  output an instruction

  print to the printer

 5. The speed that a CPU works at is measured in _____, Hz. Modern processors often run so fast that gigahertz, GHz, is used instead. One gigahertz is one billion _____.

  metres per second

  mertz

  hertz

  miles per hour

 6. The CPU market for desktop (home) computers is controlled by two companies: 1. _____ and Advanced Micro Devices (usually shortened to 2. ______).
Note: There are other CPU manufacturers like ARM, IBM, VIA, MCST, ELVEES, SRISA, NTC 
Module and Sun Microsystems but their CPUs usually have more specific uses (for example 
in mobile phones, cars, game consoles or in the military).

  Microsoft and APPLE

  Intel and AMD

  IBMO and ARMEX

  IpeGix and APPLE

 7. Many CPUs today can do more than 1 billion (1,000,000,000) instructions in a single second. In general, the more a CPU can do in a given time, the faster it is. Read the paragraph below and fill in the blanks.
Some newer processors have ____________ _______. This means that they
have many processors built onto the same chip so that they can
run many instructions at once.

  many kernels

  multiple computers

  many corn-techo-blobs

  multiple cores

 8. Which of the following tasks can a CPU NOT do?
1. Read data from memory and write data to memory.
2. Add one number with another.
3. Test to see if one number is bigger than another.
4. Move a number from one place to another (for example, 
from one register to another or between a register and memory).
5. Jump to another place in the instruction list.
6. Jump to another place in the instruction list but only if some test is 
true (for example, only if one number is bigger than another).
7. Allow programmers to program directly in Python or Java onto the CPU to 
carry out tasks

Even very complicated programs can be made by combining many simple 
instructions like these.

  No. 5 and 6 - Jump? Of course a CPU cannot jump to other instructions.

  No. 1 - A CPU cannot read or write. Ridiculous!

  No. 7 - You cannot code in Python or Java directly onto a CPU - this doesn't make any sense.

  No. 3 - A CPU can definitely not perform arithmetic operations. Only a calculator can do that!

 9. Types of CPUs: read the paragraph below and fill in the blanks.
There are mainly two different types of CPUs used in modern desktop systems: 
___-bit CPUs and ___-bit CPUs. 

The instructions in a 32-bit CPU are good at handling data that is 32 bits 
in size (most instructions 'think' in 32 bits in a 32-bit CPU). Likewise, a 
64-bit CPU. 

The size of data that a CPU handles best is often called the word size of the CPU. 

Many older CPUs from the 70s, 80s and early 90s and some modern small CPUs) have 
an 8-bit or 16-bit word size.

  1 and 2

  32 and 64

  3 and 6

  32 and 54

 10. The performance of the CPU is directly related to the performance of your personal computer. There are four factors (The 4 Cs) to consider. Fill in the blanks.
The following are all factors that affect the performance of the CPU:

*Note: They are sometimes referred to as the 4 Cs

1.____ speed
2. number of processor _____
3. _____ size
4. ______ type.

  1. coping tech 2. cores 3. cache 4. computer

  1. clock 2. cores 3. cache 4. cache

  1. computer 2. cache 3. crumpet 4. compartment

  1. compartment 2. crux 3. cache 5. cache

 11. Read the following excerpt on 'Clock Speed'. Is it true or false?
The operating frequency of the CPU (also known as the CLOCK SPEED) determines how
fast it can process instructions.

The speed is measured in terms of Hertz, and it is usually lies in the megaHertz (MHz) 
or gigaHertz (GHz) range. A megaHertz means that the CPU can process one million 
instructions per second whereas a gigahertz CPU has the capability to process one 
billion instructions per second. In today's technology, all CPUs run in the gigahertz 
range and you seldom see CPUs with speed in the MHz range anymore.

Theoretically, a 500 MHz CPU is six times slower than a 3 GHz CPU and a 3.6 GHz CPU is
faster than a 3 GHz or a 3.4 GHz CPU. In general, the higher the frequency of a CPU, 
the faster the speed of the computer

  True

  False

 12. The following paragraph also describes Clock Speed. Can you fill in the blanks?
Every computer has a 'clock'. This is a crystal that vibrates, generating 'pulses' that are 
used to control how the different components of a computer system work together. 
If you have a 800Mhz machine, it means the system clock is generating approximately 
800 million pulses every second! 

The ________________________________, the more fetch-decode-execute cycles the CPU can 
perform in a second and (very broadly) the faster your programs should go! 
(There are lots of other factors that may mean this is not the case, however)
clockspeed.png

  the slower the clock

  the heavier the clock

  the lighter the clock

  the faster the clock

 13. The clock speed can be simply defined as:

  the weight of the clock hands that tick around the CPU. The faster the hands, the quicker the processing of data.

  the speed at which a very tiny clock can travel to the printer and back in order to aid printing.

  the speed at which the processor can execute instructions. The faster the clock, the more instructions can be processed.

  the wires inside a tiny crystal called a CPU clock. The faster the vibration of the wires, the better the processing.

 14. Two brains are better than one right? And four brains are even better. Multiple cores are a key factor in performance. Read the following paragraph and fill in the blanks.
 1. A CPU traditionally had one 'core' but processors these days might be dual-core or 
    quad-core for example. 
 
 2. A core is actually a processor with its own cache. 
 
 3. So a dual-core CPU has not one but two processors. 
 
 4. A quad core CPU has four processors
 
 5. Each 'brain' can be working on different parts of a program __________________
  and so this speeds up the overall CPU's performance.
quadcore.png

  at the same time

  one after the other

  carrying out each instruction four times

  waiting patiently for the other one to finish first

 15. Although CPUs fetch instructions from RAM, there is another place they can get instructions from, called _______.

  'computer source'

  'cache'

  'cache'

  'cartesian fluid'

 16. Cache is like RAM but the one difference is that it is much ___________ to read and write from it rather than from RAM. This obviously speeds up CPU performance.

  slower

  craftier

  faster

  lighter

 17. Which of the following statements is true of CPU cache?
1. Cache will store the most used (most frequently used) instructions
2. It is a lot quicker for the CPU to get data from the cache than from RAM
3. The more cache a computer has, the better the CPU will perform
4. Cache is effectively a small and extremely fast memory
5. Cache isn't exactly cheap - for instance, Intel Core i7 Extreme Processor 
   comes with a 12MB L3 cache, which also explains its hefty price tag of approx. $1,000
6. The larger the cache size, the faster the data transfer and the better the CPU 
   performance

  1, 5 and 6 are true statements

  None of these statements are true

  All of these statements are true

  1 and 2 are true - the rest are false

 18. The less frequently certain data or instructions are accessed, the ____ down the cache level the data or instructions are written.

  lower

  wider

  narrower

  higher

 19. Another important characteristic of a processor is its word size. Read the interesting note below and see if you can define the term 'word size'.
Word size is a key factor when it comes to CPU performance.

The more bits the CPU can work with in one clock cycle, the 
faster the computer will go. 

The early commercial computers like the Spectrum ZX were 8-bit 
computers (in another words, the processor could work on 8 bits 
of data at a time). Things have moved on since the early 1980s 
and you are likely to be using either a 32-bit computer or a 
64-bit computer now.

|It's possible we will all be buying 128-bit computers in the 
very near future. 
wordsize.png

  The is the number of words that a CPU can write to the RAM in one clock cycle

  There is no such thing as 'word size'

  This is the number of words that a CPU can understand in any given language

  This is the number of bits that the CPU can work with in any one clock cycle

 20. Read the excerpt below about the Von Neumann architecture and fill in the blanks.
Von Neumann architecture was first published by John von Neumann in 1945.
His computer architecture design consists of a 

1. Control Unit, 
2. Arithmetic and Logic Unit (ALU), 
3. Memory Unit, 
4. Registers and 
5. Inputs/Outputs.

Von Neumann architecture is based on the ___________ _____________ computer concept, 
where instruction data and program data are stored in the same memory.  

This design is still used in most computers produced today.
jonvon.png

  stored program

  stupendous prolease

  stupendous prolease

  stoppable precinct

 21. Read the excerpt below about the Von Neumann architecture and fill in the blanks.
Von Neumann architecture was first published by John von Neumann in 1945.
His computer architecture design consists of a 

1. Control Unit, 
2. Arithmetic and Logic Unit (ALU), 
3. Memory Unit, 
4. Registers and 
5. Inputs/Outputs.

Von Neumann architecture is based on the ___________ _____________ computer concept, 
where instruction data and program data are stored in the same memory.  

This design is still used in most computers produced today.
jonvon.png

  still peace

  stored program

  stock plug

  stupendous pinfork

 22. This diagram shows a simplistic outline of the architecture of a CPU. What does the Arithmetic and Logic Unit do? (ALU)
Definition #1
-------------
This is where the CPU performs any mathematical sums. For instance,
if the user wishes to add up 2+2, he/she would directly enter the numbers
via the keyboard to the CPU and they are placed on the ALU before they
are added up. The ALU is made up of two main parts:
	
a. The arithmetic part which deals with adding up only numbers
b. The logic part which deals with letters, words, and images.


Definition #2
--------------
This is where the CPU performs the arithmetic and logic operations. 
Every task that your computer carries out is completed here. Even typing 
into a word processor involves adding binary digits to the file, and then 
calculating which pixels on the screen should change so that you can see the 
characters. The ALU’s operations fall into two parts:

a. the arithmetic part, which deals with calculations, eg 1 + 2 = 3
b. the logic part, which deals with any logical comparisons, eg 2>1
cpudiagram.png

  Both definitions are correct

  Both definitions are incorrect

  Definition 1

  Definition 2

 23. A dual core processor may have twice the power but it does not always perform twice as fast. Is this true?

  Yes - but I'm not sure why

  Yes - because the software may not always be able to take full advantage of both processors

  No - the performance will either double or triple with the dual core over single core

  No - double the cores and you will always have double the performance

 24. It is possible for a computer with a slower processor but larger cache memory to be faster in system performance than computers with faster processors but limited cache.

  True

  False

 25. There are levels of cache. Level 1 is extremely fast but small (between 2 - 64KB). Some CPUs also have Level 3 cache. How would you define Level 2?

  Level 2 cache is fairly fast and medium-sized (256KB - 2MB)

  Level 2 cache is the fastest type of cache and is larger in size than Level 1

  Level 2 cache is exactly the same as Level 1 cache but stored externally

  Level 2 cache is extremely slow but medium-sized (256KB - 2MB)

 26. When an instruction is fetched from 'main memory' it is copied into the cache. Why?

  So that the cache is aware of the instruction being carried out and can store it until it has been processed

  So that the cache can be enlarged as a large cache is generally a good thing

  So that if it is needed again soon after, it can be fetched from the cache which is quicker than going back to main memory

  So that the cache holds a copy of the instruction incase it is deleted elsewhere

 27. True or False? All processor activities begin on a clock pulse, although some activities may take more than one clock cycle to complete.
Note: One clock cycle per second = 1 Hertz (hz)
Clock speed is measured in Gigahertz(GHz) - about 1 billion
cycles per second!

  False

  True

 28. CPU designs vary greatly but most of them all share the same key components including the clock, control unit, arithmetic logic unit, registers and buses. What does the control unit do?
1. It controls the way data moves around the CPU
2. It controls and monitors the flow of data between the 
CPU and other components such as input devices, memory, 
graphics card etc
3. It executes the instructions provided by the program

  Only option 1

  Only option 2

  All options are correct - 1, 2 and 3

  1 and 3

 29. Read the definition below. Which part of the CPU does this?
Regulate and control timing signals for the computer, which means 
it is responsible for instigating what is called the 
machine cycle, or the pulse of information packets, to make sure 
information packets are sent out regularly (every few milliseconds)

  The whole CPU itself

  The whole CPU itself

  The Arithmetic Logic Unit (ALU)

  The Registers

 30. A bus is an integral part of the CPU. What is a bus?

  A set of copper ducts, shaped like a London bus, which flashes 'red' when filled with data

  A set of parallel wires connecting components of a computer (typically has 8,16,32 or 64 'lines')

  A set of copper ducts, shaped like a London bus, which flashes 'red' when filled with data

  A microscopic bus like vehicle that carries data to and fro

 31. The processor is connected to main memory by three main buses. What are their names?

  The computer bus, adflyer bus and dongle bus

  The control bus, adhoc bus and dataformation bus

  The control bus, address bus and data bus

  The concept bus, adverse bus and depth bus

 32. The below diagram shows a list of registers in the CPU.What are registers?
registers.png

  Registers are high speed storage areas in the CPU and all data must be stored in a register before it can be processed

  Registers are microscopic written letters that the CPU stores to keep track of all the data

  Registers are copper writes that use binary signals to communicate with a programmer

  Registers are where the CPU stores information about every user, like how teachers have a register about students

 33. The memory unit consists of RAM, sometimes referred to as primary or main memory. Unlike a hard drive (secondary memory), this memory is fast and also directly accessible by the CPU.

  True

  False

 34. Instructions data and program data were not always stored in the same memory. The 'stored program concept' and the architecture behind most modern computers is called:
nonvonjon_computer.jpg

  Stored Neumann Architecture

  Von Neumann Architecture

  Charles Babbage Architecture

  Stored Jon Von Architecture

 35. The object in the image below was a 4 bit ______________________ released by Intel in 1971. It was among the very first produced and had a clock speed of 740kHz.
firstCPU.jpg

  central processing unit

  control unit

  computer

  arithmetic logic unit

 36. A CPU is placed on the motherboard. The following diagram shows a labelled motherboard - where would the CPU be placed?
motherboard.jpg

  A

  M

  D

  G

 37. On the motherboard on your computer, the tiny little CPU is often placed underneath a fan (like shown in the image. What is this called and why is it needed?
heatsink.jpg

  insect fan: a fan that is in place to stop insects from getting inside the CPU

  bus fan: a fan that cools down the wires around the CPU - it is only in place to cool the bus wires

  heat sink fan: a cooling device which draws heat away from the CPU before it gets damaged

  heating fan: a heating device that spins around to warm up the computer on a cold day

 38. A Central Processing Unit is also referred to as a microprocessor. True or false?

  True

  False

 39. What common household devices, other than computers, contain microprocessors?
washing	machines 
microwaves 
televisions 
set-top boxes 
central heating systems 
cameras 
DVD players

  Only washing machines

  Only microwaves

  None of the listed items

  All of the listed items

 40. Read the excerpt below and decide whether the whole statement about modern CPUs is true or false.
Electronics began with the development of the transistor in the 1950s. Transistors are 
tiny electronic switches and amplifiers. Several thousand transistors can be put on a 
piece of silicon with a surface area of just one square mm.

A modern CPU that would fit in the palm of your hand can contain in excess of 2 billion 
transistors!
small-cpu-2.jpg

  False

  True

 41. Ever wondered how your brain is involved in executing an instruction? For instance, if someone says "Pass the salt"....what happens?
Voxel-man-brain.jpg

  The instruction is decoded, and then it is fetched

  The instruction is first fetched (received), decoded (made sense of) and then executed.

  The instruction is executed and then it is decoded and fetched

  The instruction is first fetched (received), decoded (made sense of) and then executed.

 42. The fetch-decode-execute cycle is the sequence of steps that the CPU follows to process instructions. This is also sometimes called the ...

  computer cycle

  instruction cycle

  brain cycle

  michelin star cycle

 43. Here is a diagram (Source: BBC Bitesize) of the Fetch Decode Execute cycle. Out of the following options, what happens first?
fde.png

  The processor fetches the instruction value from this memory location

  The instruction is immediately decoded and executed

  The processor checks the program counter to see which instruction to run next

  The program counter gives an address value in the memory of where the next instruction is

 44. The next steps that occur in the Fetch Decode Execute cycle are shown in the excerpt below. Can you fill in the blanks?
The program counter gives an address value in the memory of where 
the next instruction is.

The processor fetches the instruction value from this memory 
location.

Once the instruction has been fetched, it needs to be decoded and 
executed. For example, this could involve taking one value, putting 
it into the ALU, then taking a different value from a register and 
adding the two together.

Once this is complete, the processor _________________________________
_____________________________________________________________________

This cycle is repeated until the program ends.

  goes back to execute an instruction

  goes back to the program counter to find the next instruction

  goes to the ALU to check to see if there are any more calculations to perform

  goes back to the CU (Control Unit) to find the next instruction

 45. The three stages of the FDE cycle are 'Fetch', 'Decode' and 'Execute'. What happens in the fetch stage?
#1. In the fetch stage, the ALU provides a pointer to the program
counter. The program counter then executes the instruction directly
by sending instructions via the data and address bus. 


#2. In the fetch stage, the program counter provides the memory
address of the next instruction. This is transferred through the 
address bus to the memory and the instruction is transferred to the
instruction register of the CPU through the data bus.

  #1 is correct

  #2 is correct

  Neither are correct

  Both #1 and #2 could be correct

 46. What happens in the decode stage of the FDE cycle?

  The decoder in the control unit works out what the instruction means (decodes the instruction)

  The decoder sends the instruction to the program counter to be counted

  The decoder held in the program counter dissolves the instruction in order to understand its true meaning

  The decoder in the ALU executes the instruction

 47. What happens in the 'execute' part of the FDE cycle?

  The control unit decides whether or not to execute the instruction by counting the number of bits the data has

  The ALU executes the instruction and sends it to the printer

  The registers register and execute the instruction and then send it to the program counter to be executed

  The control unit instructs the ALU to perform the computations required and the result is stored in one of the registers

 48. Why is the fetch decode execute cycle called a cycle?
fde2.png

  Because a cycle refers to something that cannot repeat itself

  Because it looks a little like a bicycle and hence its name

  Because the cycle is repeated over and over as each instruction in the program is executed and complete

  Because it cycles around at millions of bits per second and this is the whir you hear when you switch on your PC

 49. Describe the role of the 'program counter' in the fetch decode execute cycle.

  This is a register that executes each instruction as it deals with programming

  This is a register that programs the CPU

  This is a register that decodes the instructions as they come in

  This is a register in the CPU which contains the memory address of the next instruction to be processed

 50. The program counter stores the memory address of the next instruction to be fetched. What happens when that address has been used?

  The program counter is incremented by 1 so it now has the address of the next instruction

  The program counter switches off automatically until it is manually switched on

  The program counter transforms into the ALU

  The progam counter explodes and no longer functions correctly

 51. The image below shows a creative website that made a million dollars by creating a website with a million pixels and selling pixels to customers. What is a pixel?
milliondollarhomepage.jpg

  Graphics or Images are made up of tiny blocks (dots that make up an image) called pixels.

  pixels are large images that can be broken down into binary bits

  pixels are just numbers that represent an image.

  pixels are microscopic numbers that make up binary numbers

 52. What is the purpose of the Memory Address register?

  used to store addresses of data blocks coming in via the ALU

  used to store memory that is left over

  used for memory sticks data transfer

  used to store the address of the next instruction / data to be accessed

 53. Which processor has the fastest clock speed?
clockspeed1.png

  CPU 2

  Both are equal

  CPU 1

  Neither has a clock speed

 54. What are the effects of using a processor with more cores?
#1 

More space for frequently used instructions / data, more storage for very fast access, 
meaning faster fetching of instructions – so faster processing, 
meaning faster fetching of data – so faster processing.


#2 

More instructions carried out simultaneously, the processor can process more instructions at 
the same time, which allows batches of instructions to be executed more quickly, which allows 
for more programs to be run at the same time.

  Both are technically correct

  Neither answer is correct

  Answer 2

  Answer 1

 55. What is the following paragraph likely to be describing?
More space for frequently used instructions / data, more storage for very fast access, 
meaning faster fetching of instructions – so faster processing, meaning faster 
fetching of data – so faster processing.

  The fast effect of having multiple cores

  The advantages of a big Control Unit

  A highly functioning ALU

  The advantages of a bigger cache