vault backup: 2022-07-11 10:41:04

This commit is contained in:
Jet Hughes 2022-07-11 10:41:04 +12:00
parent 2a2f505437
commit 078dc7630d
3 changed files with 23 additions and 6 deletions

View File

@ -62,6 +62,8 @@ tags:
- when the code is compile, the name is assigned an address, in memory. The meaning of that data depends on how a human interprets it. it might be small integer, or a character, or a color etc. - when the code is compile, the name is assigned an address, in memory. The meaning of that data depends on how a human interprets it. it might be small integer, or a character, or a color etc.
## ASCII Character Code ## ASCII Character Code
![ascii code](https://i.imgur.com/NbBtm1v.png)
1. The computer uses ch as a integer index into a pre-existing table 1. The computer uses ch as a integer index into a pre-existing table
2. the computer screen is made up of a thousand little dots called pixels. theyre in a rectangular grid like a table.a 2. the computer screen is made up of a thousand little dots called pixels. theyre in a rectangular grid like a table.a
@ -78,5 +80,24 @@ tags:
- ASCII characters are stored using 7-bits - ASCII characters are stored using 7-bits
- so there are 128 (2^7) possible characters - so there are 128 (2^7) possible characters
- stored as a byte with the 8th bit set to zero - stored as a byte with the 8th bit set to zero
- For sorting p - For sorting purposes characters are compared on their numeric value (called the *collating sequence*)
- 'A' is before 'Z' but 'a' is after 'Z'!
## Unicode
![unicode](https://i.imgur.com/GEtVItW.png)
- Other non roman languages
- greek, arabic, chinese, hebrew, japanese, thai etc.
- atrology symbols
- emoji etc
- Unicode
- developed by the Unicode Consortium
- coordinated with ISO/IEC 10646
- a 21-bit code with 144,697 characters from 159 scripts
- unicode maps from character numbers (code points) into glyphs (graphical representations)
- Some(many) are reserved
# Homework
- How are character strings (e.g. “hello world”) stored in a computer?
- Is this different between different programming languages (for example; C and Java)?

View File

@ -13,5 +13,4 @@ tags:
- [model-view-controller-pattern](notes/model-view-controller-pattern.md) - [model-view-controller-pattern](notes/model-view-controller-pattern.md)
- [.NET](notes/dotnet.md) - [.NET](notes/dotnet.md)
- [programatic-evolution](notes/programatic-evolution.md) - [programatic-evolution](notes/programatic-evolution.md)
- [lyrics](notes/lyrics.md)
- [behaviour-driven-development](notes/behaviour-driven-development.md) - [behaviour-driven-development](notes/behaviour-driven-development.md)

View File

@ -11,7 +11,4 @@ tags:
- [The Friar and the Cipher](notes/The-Friar-and-the-Cipher) - [The Friar and the Cipher](notes/The-Friar-and-the-Cipher)
# Podcasts # Podcasts
- [philosophize-this](notes/philosophize-this.md) - [philosophize-this](notes/philosophize-this.md)
# Videos
- [dr.k-reckless](private/dr.k-reckless.md)