If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## AP®︎/College Computer Science Principles

### Course: AP®︎/College Computer Science Principles>Unit 1

Lesson 4: Storing text in binary

# Storing text in binary

## Problem

In the late 1980s, the ISO-8859-7 character encoding was created in order to encode Greek text files. The encoding is based on the ASCII standard but includes mappings for the letters of the Greek alphabet.
This table shows the mapping for the first 10 letters:
BinaryCharacter
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{0}}\mathtt{\text{0}}\mathtt{\text{1}}$α
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{0}}\mathtt{\text{10}}$β
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{0}}\mathtt{\text{11}}$γ
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{10}}\mathtt{\text{0}}$δ
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{101}}$ε
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{110}}$ζ
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{0}}\mathtt{\text{111}}$η
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{1}}\mathtt{\text{0}}\mathtt{\text{0}}\mathtt{\text{0}}$θ
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{1}}\mathtt{\text{0}}\mathtt{\text{0}}\mathtt{\text{1}}$ι
$\mathtt{\text{1110}}\phantom{\rule{0.167em}{0ex}}\mathtt{\text{1}}\mathtt{\text{0}}\mathtt{\text{10}}$κ
According to ISO-8859-7, what is the binary encoding of the Greek word "και"?
Note that the Greek language is written from left to right, like the English language.