Pack — 4 Processor Fundamentals

Question-and-answer mirror of Jigsaw. Every concept in Jigsaw appears here as a !question with a collapsible !success answer.

How marks are set

  • 9618 | — the highest mark tariff that concept has ever carried in a 9618 paper. Answer points = that tariff + 2 spare, newest mark scheme first, older ones filling the gaps.
  • Inferred | — not tested in either series. Tariff estimated from how 9618 marks comparable questions.
  • SME | — from the Save My Exams notes. Tariff estimated the same way.

One bullet = one mark, unless the bullet begins … (an expansion of the point above it).

This chapter has almost no 9608 safety net

9618 has rebuilt Topic 4 so thoroughly that the 9608 Legend contributes almost nothing usable here — and 4.3 Bit manipulation has no 9608 questions at all (its Legend file is two pages with none). Bit manipulation is nonetheless examined in every single series, usually attached to the big assembly question. That is why there are no 9608 | entries below: unlike chapters 2, 3, 5, 6 and 7, there is no old-syllabus fallback to draw on.


4.1 Central Processing Unit (CPU) Architecture

4.1.1 The Von Neumann model and the stored program concept

Question

Each statement about the Von Neumann model contains an error. Write the correct statement.

Question

Other than registers and buses, identify three components of the Von Neumann model of a computer.

Question

State what is meant by the stored program concept.

Question

Explain why the stored program concept was significant in the development of computers.

Question

Describe the Von Neumann model of a computer system.


4.1.2 Registers: purpose, role, and general vs special purpose

Question

Complete the table by describing the purpose of the PC, MAR, MDR and IX.

Question

Identify two special purpose registers, other than the accumulator, and state the role of each.

Question

Describe the purpose of the Status Register.

Question

State two differences between general purpose registers and special purpose registers.

Question

Describe the role of the Accumulator and of the Current Instruction Register.

Question

Identify one register, other than those given, used in the Fetch–Execute cycle and describe its role.

Question

Explain why a processor has an Index Register.

Question

Name the special purpose registers of a CPU and state the purpose of each.


4.1.3 The ALU, Control Unit, system clock and Immediate Access Store

Question

Explain how the Control Unit and the system clock work together.

Question

Explain how the Control Unit, the system clock and the control bus work together when data is transferred.

Question

State the purpose of the system clock and the purpose of the Control Unit.

Question

Describe what is meant by the Immediate Access Store (IAS).

Question

Complete the description of the internal components of a computer.

Question

Describe the purpose of the Arithmetic and Logic Unit.

Question

Explain how the Immediate Access Store relates to RAM, cache memory and the registers.


4.1.4 Data transfer using the address, data and control buses

Question

Identify two types of signal that can be transferred on the control bus.

Question

Tick to show which bus each component uses.

Question

Describe the role of the address bus, the data bus and buffers when data is written to a device.

Question

Explain how the widths of the data bus and the address bus affect the performance of a computer.

Question

State whether each of the address, data and control buses is unidirectional or bidirectional, and justify your answer.

Question

An address bus is 32 bits wide. Calculate the number of memory locations that can be addressed directly, and state what happens if the bus is widened by one bit.

Question

Describe what is meant by a bus and state what each of the three buses carries.


4.1.5 Factors contributing to the performance of the computer system

Question

Explain how increasing the clock speed and increasing the cache memory each improve the performance of a computer.

Question

Describe two hardware upgrades that would improve the performance of a computer, and explain how each works.

Question

A computer with a dual-core processor is not twice as fast as an otherwise identical computer with a single-core processor. Explain why.

Question

Describe the drawbacks of increasing the number of cores in a processor.

Question

Describe how the number of cores and the clock speed of a processor affect the performance of a computer.

Question

Describe one benefit of increasing the amount of cache memory in a computer.

Question

Explain how the amount of RAM in a computer affects its performance.

Question

Identify one feature of a processor that affects the performance of a computer, and state why it does so.

Question

Explain how the type of processor chosen affects the performance of a computer system.

Question

Explain why computers are not built with very large amounts of cache memory.

Question

Describe the levels of cache memory in a modern processor.

Question

A quad-core processor runs at 3 GHz. Calculate the theoretical maximum number of instructions per second and explain why this figure is not achieved in practice.


4.1.6 How different ports provide connection to peripheral devices

Question

Identify a port that allows a device to be connected automatically, and explain how the connection is made.

Question

Explain the benefits of connecting a high-resolution monitor using HDMI rather than VGA.

Question

Explain how an HDMI port provides a connection to a peripheral device.

Question

Identify a suitable port for the device described and justify your choice.

Question

Describe how data is transmitted through a USB port.

Question

Name a suitable port for each of the peripherals listed.

Question

Describe the VGA port and state two of its limitations.

Question

Explain why a device connected to a port needs a device driver.

Question

State two advantages and two disadvantages of using USB to connect a peripheral.


4.1.7 Stages of the Fetch–Execute cycle, and register transfer notation

Question

Write the stages of the fetch stage of the Fetch–Execute cycle using register transfer notation.

Question

Complete the table by matching each register transfer statement to its description.

Question

Write the register transfer notation for each of the stages described.

Question

The register transfer notation shown contains errors. Identify each error and write the correct statement.

Question

Describe the role of the Memory Address Register and the Memory Data Register in the Fetch–Execute cycle.

Question

Complete the description of the fetch stage of the Fetch–Execute cycle.

Question

Write, in register transfer notation, the stages that take place when the instruction LDD 100 is executed.

Question

Describe what happens during the decode stage of the Fetch–Execute cycle.

Question

Describe the three stages of the Fetch–Decode–Execute cycle.


4.1.8 The purpose of interrupts

Question

Explain how a computer handles an interrupt.

Question

Explain how an interrupt is detected and handled during the Fetch–Execute cycle.

Question

Put the stages the CPU performs when an interrupt is detected into the correct order.

Question

State when during the Fetch–Execute cycle interrupts are detected.

Question

Describe the purpose of an interrupt.

Question

Identify two causes of a software interrupt.

Question

Tick to show whether each event causes a hardware interrupt or a software interrupt.

Question

Describe three applications of interrupts in a computer system.

Question

Explain why a computer uses interrupts rather than repeatedly checking each device.

Question

Explain why the contents of the registers are saved on a stack when an interrupt is serviced.

Question

Describe the process that takes place from the moment an interrupt is generated to the moment normal processing resumes.

Question

Describe what is meant by an Interrupt Service Routine.


4.2 Assembly Language

4.2.1 The relationship between assembly language and machine code

Question

Complete the description of compilers, interpreters and assemblers.

Question

Explain the relationship between assembly language and machine code.

Question

Explain why a programmer might still write part of a program in assembly language.

Question

Compare machine code and assembly language.


4.2.2 The stages of the assembly process for a two-pass assembler

Question

State the purpose of the first pass of a two-pass assembler.

Question

For each action, identify whether it takes place in the first pass, the second pass, or both.

Question

Describe the stages that take place during the second pass of a two-pass assembler.

Question

Apply the two-pass assembler process to the assembly language program given. Show the symbol table produced.

Question

Explain why an assembler needs two passes.


4.2.3 Trace a given simple assembly language program

Question

Complete the trace table for the assembly language program shown.

Question

Write the contents of the accumulator after each of the instructions shown.

Question

State the purpose of the assembly language instructions shown.

Question

State the effect on the program of changing the instruction shown.

Question

Write assembly language instructions that add the contents of address 200 to the contents of address 201 and store the result in address 202.


4.2.4 Instruction groups

Question

Complete each statement by naming the group of instructions being described.

Question

Identify the group of instructions that each opcode belongs to.

Question

Give one example instruction for each of the groups named.

Question

Write one appropriate instruction for each of the five groups of instructions.

Question

Name one other group of instructions in the processor’s instruction set.

Question

Explain why the instructions in a processor’s instruction set are arranged in groups.


4.2.5 Modes of addressing

Question

Complete the table by naming and describing each mode of addressing.

Question

State what is meant by relative addressing.

Question

Memory: 98→8, 99→16, 100→3, 101→98, 102→32, and IX = 2. Write the contents of the accumulator after each instruction.

Question

Identify one mode of addressing not shown in the table and describe it.

Question

Explain why a processor provides indexed and indirect addressing modes.

Question

State, for each of the five modes of addressing, how the effective address is determined.


4.3 Bit manipulation

No 9608 questions exist for this entire sub-topic

Every entry below is 9618 or inference. Bit manipulation appears in every 9618 series, almost always attached to the assembly-language question.

4.3.1 Binary shifts: logical, arithmetic and cyclic

Question

Show the result of the logical shift described on the binary number given.

Question

Show the result of an arithmetic right shift of 3 places on the two’s complement number given.

Question

Show the contents of the accumulator after the instruction given.

Question

Describe the difference between a logical right shift and an arithmetic right shift.

Question

Write the single instruction that changes the accumulator from 0001 1110 to 0111 1000.

Question

Show the result of a 3-place cyclic left shift on the binary number 1011 0001.

Question

Explain how binary shifts can be used to multiply and divide, and why a programmer might use a shift rather than a multiply instruction.

Question

Explain what happens to the bits that are shifted out of an 8-bit register.

Question

Describe the three types of binary shift and state when each is used.


4.3.2 Bit manipulation to monitor and control a device (masking)

Question

Write the instruction(s) needed to set the most significant bit of the accumulator to 1, leaving all other bits at 0.

Question

Explain how bit manipulation can be used to check that a register has been cleared, and write the instruction required.

Question

Explain how bit manipulation can be used to test whether the number in the accumulator is odd, and write the instruction required.

Question

Write the contents of the accumulator after the instruction shown.

Question

The accumulator is reloaded with 1001 1010 before each row. Complete the table of accumulator contents.

Question

The accumulator holds 1111 1111. Address 100 holds 0000 1101 and address 103 holds 0011 0111. Write the accumulator contents after each instruction.

Question

Each bit of an 8-bit register corresponds to one sensor, with bit 0 the least significant. Explain how the program can test whether sensor 3 has been triggered, and write the instruction required.

Question

Explain how bit manipulation can be used to set bit 3 of the accumulator to 0 while leaving every other bit unchanged, and write the instruction required.

Question

Explain how bit manipulation can be used to toggle bit 0 of the accumulator, and write the instruction required.

Question

State the effect of using OR, AND and XOR as masks, and describe how a masking answer should be structured.