## Culture et enjeux du numérique #### Séance 0
### Nicolas Conti - Data Engineer @ [Kayrros](https://kayrros.com) - Ex - SciencesPo [MPP](https://sciencespo.fr/public/fr/content/digital-new-technology-and-public-policy) 2018 - Ex - Workshops manager @ [We_Start](https://we-start.fr/)
## Et vous ?
[nicocti.github.io/culturenum](https://nicocti.github.io/culturenum)
### Unary
### Decimal
$10^2 ~ ~ ~ ~ 10^1 ~ ~ ~ ~ 10^0$ # 1 2 3 1 x 100 + 2 x 10 + 3 x 1
### Binary
$2^6 ~ ~ ~ ~ 2^5 ~ ~ ~ ~ 2^4 ~ ~ ~ ~ 2^3 ~ ~ ~ ~ 2^2 ~ ~ ~ ~ 2^1 ~ ~ ~ ~ 2^0$ $64 ~ ~ ~ ~ ~ 32 ~ ~ ~ ~ ~ 16 ~ ~ ~ ~ ~ 8 ~ ~ ~ ~ ~ 4 ~ ~ ~ ~ ~ 2 ~ ~ ~ ~ ~ 1$ # 1 1 1 1 0 1 1

 000 NUL   020 DLE   040     060 0   100 @   120 P   140 `   160 p
 001 SOH   021 DC1   041 !   061 1   101 A   121 Q   141 a   161 q
 002 STX   022 DC2   042 "   062 2   102 B   122 R   142 b   162 r
 003 ETX   023 DC3   043 #   063 3   103 C   123 S   143 c   163 s
 004 EOT   024 DC4   044 $   064 4   104 D   124 T   144 d   164 t
 005 ENQ   025 NAK   045 %   065 5   105 E   125 U   145 e   165 u
 006 ACK   026 SYN   046 &   066 6   106 F   126 V   146 f   166 v
 007 BEL   027 ETB   047 '   067 7   107 G   127 W   147 g   167 w
 010 BS    030 CAN   050 (   070 8   110 H   130 X   150 h   170 x
 011 HT    031 EM    051 )   071 9   111 I   131 Y   151 i   171 y
 012 LF    032 SUB   052 *   072 :   112 J   132 Z   152 j   172 z
 013 VT    033 ESC   053 +   073 ;   113 K   133 [   153 k   173 {
 014 FF    034 FS    054 ,   074 <   114 L   134 \   154 l   174 |
 015 CR    035 GS    055 -   075 =   115 M   135 ]   155 m   175 }
 016 SO    036 RS    056 .   076 >   116 N   136 ^   156 n   176 ~
 017 SI    037 US    057 /   077 ?   117 O   137 _   157 o   177 DEL
                        
### Bits

 0110000 0    1000000 @    1010000 P    1100000 `    1110000 p
 0110001 1    1000001 A    1010001 Q    1100001 a    1110001 q
 0110010 2    1000010 B    1010010 R    1100010 b    1110010 r
 0110011 3    1000011 C    1010011 S    1100011 c    1110011 s
 0110100 4    1000100 D    1010100 T    1100100 d    1110100 t
 0110101 5    1000101 E    1010101 U    1100101 e    1110101 u
 0110110 6    1000110 F    1010110 V    1100110 f    1110110 v
 0110111 7    1000111 G    1010111 W    1100111 g    1110111 w
 0111000 8    1001000 H    1011000 X    1101000 h    1111000 x
 0111001 9    1001001 I    1011001 Y    1101001 i    1111001 y
 0111010 :    1001010 J    1011010 Z    1101010 j    1111010 z
 0111011 ;    1001011 K    1011011 [    1101011 k    1111011 {
 0111100 <    1001100 L    1011100 \    1101100 l    1111100 |
 0111101 =    1001101 M    1011101 ]    1101101 m    1111101 }
 0111110 >    1001110 N    1011110 ^    1101110 n    1111110 ~
 0111111 ?    1001111 O    1011111 _    1101111 o    1111111 DEL
                    
### Bytes

 Dec Hex      Bin  |  Dec Hex      Bin  |  Dec Hex      Bin  |  Dec Hex      Bin
 0   0   00000000  |  10  a   00001010  |  20  14  00010100  |  246 f6  11110110
 1   1   00000001  |  11  b   00001011  |  21  15  00010101  |  247 f7  11110111
 2   2   00000010  |  12  c   00001100  |  22  16  00010110  |  248 f8  11111000
 3   3   00000011  |  13  d   00001101  |  23  17  00010111  |  249 f9  11111001
 4   4   00000100  |  14  e   00001110  |  24  18  00011000  |  250 fa  11111010
 5   5   00000101  |  15  f   00001111  |  25  19  00011001  |  251 fb  11111011
 6   6   00000110  |  16  10  00010000  |  26  1a  00011010  |  252 fc  11111100
 7   7   00000111  |  17  11  00010001  |  27  1b  00011011  |  253 fd  11111101
 8   8   00001000  |  18  12  00010010  |  28  1c  00011100  |  254 fe  11111110
 9   9   00001001  |  19  13  00010011  |  29  1d  00011101  |  255 ff  11111111
                    
## RGB
## 238 118 0
#### 11101110 01110110 00000000
## #EE7600
### Algorithmes

                            +--------------+
                            |              |
                            |              |
                INPUT +----->  ALGORITHME  +----> OUTPUT
                            |              |
                            |              |
                            +--------------+

                    
### Langage

                            +--------------+
                            |              |
                            |              |
          CODE SOURCE +----->   LOGICIEL   +----> CODE MACHINE
                            |              |
                            |              |
                            +--------------+

                        
### Assembly

        str:
        .ascii "Bonjour\n"
        .global _start

        _start:
        movl $4, %eax
        movl $1, %ebx
        movl $str, %ecx
        movl $8, %edx
        int $0x80
        movl $1, %eax
        movl $0, %ebx
        int $0x80

        ;Compilation:
        ;as code.s -o code.o
        ;ld code.o -o code

        ;Execution:
        ;./code
                    
# C

        #include <stdio.h>

        int main(void) {
            printf("Hello world !\n");
        }
                    
### Langages interprétés
### Python

        print("Hello world !")
                        
![browsers](https://i0.wp.com/choosetoencrypt.com/wp-content/uploads/2019/05/secure-browsers.png)
### Client / Serveur
### Javascript

            alert("Hello world !")