5.5. Information Coding Systems

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

10 Terms

1
New cards

Character Code

A unique number used to represent a charatcer in a character set

2
New cards

Numeric Characters

Have a character code which is not equal to the number represented by the character

3
New cards

ASCII (bit depth, number of characters stored)

  • 7 bits

  • stores 128 characters


4
New cards

Extended ASCII (bit depth, number of characters stored)

  • 8 bits

  • stores 256 characters


5
New cards

ASCII → converting upper / lowercase

lower case character code = uppercase + 32

(32 bit “on” when letter is lowercase)

6
New cards

Unicode (bit depth, why was it introduced)

  • 16 Bits → up to 65,536 characters

  • introduced to support a wider range of characters

    • due to increased international communication

    • due to use of files in multiple countries

    • requirement to use more symbols (mathematical / scientific / emoji)

    • facilitates interchange of documents between countries

    • culturally unacceptable to only allow global communication in english

    • support for multiple languages


7
New cards

Masking

  • Mask: a bianry number the same length of the one to be masked

  • for each correspponding digit of the mask & number, a logic operation is applied to both bits (AND, OR, XOR)

  • this can be used to toggle specific bits of a number, read certain sections, etc.


8
New cards

Parity Bits (definition x2, function x2, pros x4, con x3)

  • a bit which is added to the end/start of a binary number which is to be transmitted

  • to make the total number of “1” bits even or odd


  • when a computer recieves the data → checks whether the partity of the data matches the transmission parity to chech if an error has occurred

  • if parity doesn’t match → data is re-requested


Pros:

  • very efficient → only 1 extra bit added to transmission

  • data can be transmitted faster / using less bandwidth

  • best when simple error detection is sufficient and retransmission is feasable

  • good for when cost of transmitting data is high → may be more efficient to resend corrupted data than sending multiple copies in the first place

Cons:

  • can only detect single-bit errors

  • requires retransmission of data

  • can only detect, not correct errors


9
New cards

Majority Voting (function x2, pros x4, cons x3)

  • data is transmitted multiple times

  • if not all data matches → assumes that the correct data is the most common one that was sent


Pros:

  • does not require retransmission

  • can detect multiple bit errors

  • highly reliable

  • best when retransmission is not an option

Cons:

  • less efficient → needs to send lots of extra data

  • cost of transmitting data may be high

  • may be slower / use more bandwidth to transmit data


10
New cards

Check sums/digits (function x3, pros x2, cons x2)

  • performs an algorithm on the number to produce another number (checksum) or digit (check digit) which is appended to the end of the data

  • the same algorithm is then performed by the reciever

  • the chech sum/digit will be different if the data has changed → error will be detected → data re-transmitted


Pros

  • can be very efficient depending on length of checksum/digit

  • very reliable error detection

Cons:

  • cannot correct erros

  • requires retransmission of data