Past-paper question · 2016 October-November · Paper 11 · Q8(c)(i)

Question 8(c)(i) 2016 · October-November · Paper 11 · 2 marks

Original past-paper question for 8(C)(I)
Original past-paper question for 8(C)(I)
Original past-paper question for 8(C)(I)
Original past-paper question for 8(C)(I)
Original past-paper question for 8(C)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 8(C)(I)

Official answer for Question 8

Part (c)

(i)

Part (c)

(i)

Any two from:

✓
•
✓
Only 128 / 256 characters can be represented
✓
•
✓
Uses values 0 to 127 (or 255 if extended form) / one byte
✓
•
✓
Many characters used in other languages cannot be represented
✓
•
✓
In extended ASCII the characters from 128 to 255 may be coded differently in
✓
different systems
[2]

Mark scheme 9608_w16_ms_11.pdf →

Show text version of question

Question 8

Part (c)

(i)

Question 8

The table shows assembly language instructions for a processor which has one general purpose

register, the Accumulator (ACC) and an Index Register (IX).

Instruction Explanation Op code Operand LDD <address> Direct addressing. Load the contents of the given address to ACC. Indexed addressing. Form the address from <address> + the LDX <address> contents of the index register. Copy the contents of this calculated address to ACC. STO <address> Store contents of ACC at the given address. ADD <address> Add the contents of the given address to ACC. CMP <address> Compare contents of ACC with contents of <address> Following a compare instruction, jump to <address> if the compare JPE <address> was True. Following a compare instruction, jump to <address> if the compare JPN <address> was False. JMP <address> Jump to the given address. Output to the screen the character whose ASCII value is stored in OUT ACC. END Return control to the operating system.

The diagram shows the contents of the main memory:

Main memory 800 0110 0100 801 0111 1100 802 1001 0111 803 0111 0011 804 1001 0000 805 0011 1111 806 0000 1110 807 1110 1000 808 1000 1110 809 1100 0010 : : The program used the ASCII coding system for character codes. An alternative coding system is Unicode.

(i)

Give two disadvantages of using ASCII code.

1 ........................................................................................................................................

...........................................................................................................................................

2 ........................................................................................................................................

.......................................................................................................................................[2]

Topic relevance

Why this question appears here

99% assigned-topic match · Processor fundamentals › Assembly language

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w16_qp_11.pdf

Keep practising this topic