mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
vault backup: 2022-07-11 10:41:04
This commit is contained in:
parent
2a2f505437
commit
078dc7630d
@ -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
|
||||||
|

|
||||||
|
|
||||||
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
|
||||||
|

|
||||||
|
|
||||||
|
- 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)?
|
||||||
@ -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)
|
||||||
@ -12,6 +12,3 @@ tags:
|
|||||||
|
|
||||||
# Podcasts
|
# Podcasts
|
||||||
- [philosophize-this](notes/philosophize-this.md)
|
- [philosophize-this](notes/philosophize-this.md)
|
||||||
|
|
||||||
# Videos
|
|
||||||
- [dr.k-reckless](private/dr.k-reckless.md)
|
|
||||||
Loading…
Reference in New Issue
Block a user