Want to create interactive content? It’s easy in Genially!

Get started free

1.3 INFORMATION CODING SCHEME

FILZA NURHANIS MOHD SAZALI BM

Created on February 8, 2022

This is a work by KML to submit to BMKPM under Digitalisation of Teaching & Learning Material Workshop (Session 1/2022).

Start designing with a free template

Discover more than 1500 professional designs like these:

Transcript

1.0 COMPUTER SYSTEM

1.3 INFORMATION CODING SCHEME

Start

prepared by Miss Filza Sazali KML

Learning outcomes

At the end of this lesson, you will be able to:

Describe how computers encode characters using Extended ASCII (8 bits), EBCDIC and Unicode

Calculate the total number of bits/bytes in a given word based on each coding scheme

Differentiate coding system based on number of bits and total of number of character used and context use

prepared by Miss Filza Sazali KML

Here

INFORMATION CODING SCHEME

RECAP!

DISCUSSION

Learning sessions

prepared by Miss Filza Sazali KML

RECAP!

Before we start our lesson, let's recap!

Recap!

Let's Recap!

Go!

Let's Recap!

K is the smallest unit of data a computer can processed. What is K?

BIT

BYTE

Let's Recap!

How many bits are in a 2 bytes?

24

16

Let's Recap!

Which of the following number system consist of only 0s and 1s?

BINARY

DECIMAL

Let's Recap!

F00D16, 5D16, 10B16 Which of the following is the number system used above?

DECIMAL

HEXADECIMAL

Let's Recap!

111012 Convert the following number to decimal.

3110

2910

RECAP!

Example of Biinary: 1102,1012,102

Bytes = a group of 8 bits Bits < Bytes

Hexadecimal is base 16! Comsist of 0 - 9 and A - F

Byte = 8 bits 2 bytes = 8 bits x 2 = 16 bits

Conversion from binary to decimal use place value method!

Results Check your answers!

prepared by Miss Filza Sazali KML

INFORMATION CODING SCHEME

RECAP!

DISCUSSION

Learning sessions

Here

prepared by Miss Filza Sazali KML

Information coding scheme

- Patterns of 0s and 1s combinations used to represent characters. - Extended ASCII (8 bits), EBCDIC, Unicode - Translates real-world data into a form computer can process easily.

(Discovering Computers 2018)

prepared by Miss Filza Sazali KML

Extended ASCII (8 bits)

prepared by Miss Filza Sazali KML

1.3 Information Coding Scheme

Extended ASCII

ASCII (8 bits)

American Standard Code for Information Interchange

  • Most widely used
  • Use 8 bits to represent 1 character
  • Can represent 256 different characters
(28 = 256)
  • Used in minicomputers, personal computers
  • Takes up less memory

+ info

prepared by Miss Filza Sazali KML

Introduction

DISCUSSION

INFORMATION CODING SCHEME

Learning sessions

Here

prepared by Miss Filza Sazali KML

EBCDIC

prepared by Miss Filza Sazali KML

Information Coding Scheme

EBCDIC

EBCDIC

(EXTENDED BINARY CODED DECIMAL INTERCHANGE CODE)

- Used by mainframe, computers & servers - Uses 8 bits to represent 1 character - Can represent 256 different characters (28 = 256 characters)

prepared by Miss Filza Sazali KML

Information Coding System

ASCII & EBCDIC

Disadvantages of ascii & ebcdic

Problem: ASCII & EBCDIC only allow us to represent small numbers of characters (28)

Not large enough for ASIAN languages & others that uses different character set

Only suficient for ENGLISH & eastern European languages

prepared by Miss Filza Sazali KML

RECAP!

DISCUSSION

INFORMATION CODING SCHEME

Learning sessions

Here

prepared by Miss Filza Sazali KML

UNICODE

prepared by Miss Filza Sazali KML

Information Coding Scheme

Uniode

UNICODE

- CAN represent 65, 536 different characters (216 = 65, 536)- CAN represent all world's written languages - Implemented in our computer; Wiindows, Linux, Macintosh OS

Unicode

Uses 16 bits to represent 1 character

Most widely used

prepared by Miss Filza Sazali KML

Here

RECAP!

DISCUSSION

INFORMATION CODING SCHEME

Learning sessions

prepared by Miss Filza Sazali KML

DISCUSSION

Q: The phrase below used ASCII coding scheme. Identify the number of bits used to represent the phrase.

Emergency Number

A:

a) Calculate the total number of characters

= 16 CHARACTERS

b) Identify the number of bits used in the coding scheme

ASCII = 8 BITS

c) Multiply the characters & bits

Bits used = 16 characters x 8 bits

= 128 bits

prepared by Miss Filza Sazali KML

DISCUSSION

Q: The phrase below used Unicode coding scheme. Identify the number of bytes used to represent the phrase.

Data Analyst!

A:

a) Calculate the total number of characters

= 13 CHARACTERS

b) Identify the number of bits used in the coding scheme

Unicode = 16 BITS

c) Multiply the characters & bits

Bits used = 13 characters x 16 bits

= 208 bits

= 208 bits / 8

= 26 bytes

prepared by Miss Filza Sazali KML

You've done a great job!!

We will continue learning again!

PLAY GAME to check what you have learn here!

prepared by Miss Filza Sazali KML