”¼® —/¥: ...

download ”¼® —/¥:  ‘½±€±¬ƒ„±ƒ· ”µ´¼­½‰½

of 22

  • date post

    10-Jan-2016
  • Category

    Documents

  • view

    35
  • download

    0

Embed Size (px)

description

Δομή Η/Υ: Αναπαράσταση Δεδομένων. Περιεχόμενα. Συστήματα Αρίθμησης Δυαδικό Οκταδικό Δεκαεξαδικό Παραδείγματα Κωδικοποίηση δεδομένων Κώδικας ASCII Άλλοι κώδικες Παραδείγματα. Συστήματα Αρίθμησης. - PowerPoint PPT Presentation

Transcript of ”¼® —/¥: ...

  • /:

  • ASCII

  • : (: 10, : 0,1,2,3,4,5,6,7,8,9) (: 2, : 0,1) (: 8, : 0,1,2,3,4,5,6,7) (: 16, : 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F)

  • 2:10001: 1x24+0x23+0x22+0x21+1x20 =17 (1x101+7x100 )110001: 1x25+1x24+0x23+0x22+0x21+1x20 =49 (4x101+9x100 ): : 0 1.

  • / : - - -

  • . 2 0. 100010:0x20= 01x21= 20x22= 00x23= 00x24= 01x25=32 :(0+2+0+0+0+32= 34)

  • (.. 34) 0. 34:2-> 17, 0 17:2-> 8, 1 8:2-> 4, 0 4:2-> 2, 0 2:2-> 1, 0 1:2-> 0, 1 : 34(10) 1000102

  • 8:756(8): 7x82+5x81+6x80 =448+40+6 = 494(10) (4x102+9x101 +4x100 )113 (8): 1x82+1x81+3x80 =64+8+3 = 75(10) (7x101 +5x100 ): : 0,1,2,3,4,5,6 7.

  • :8= 23 ( ):10110111 -> 010 110 111 : 000 -> 0, 001 -> 1 010 -> 2, 011 -> 3, 100 -> 4, 101 -> 5, 110 -> 6, 111 -> 7 010 110 111 -> 267, 101101112 =267(8)

  • : : : 0 -> 000, 1 -> 001, 2 -> 010, 3 -> 011, 4 -> 100, 5 -> 101, 6 -> 110, 7 -> 111)167(8) -> 001 010 111 :001 110 111 -> 1110111, 167(8) = 1110111 2

  • : ( ) -> -> : 756(8): 7x82+5x81+6x80 =448+40+6 = 494(10) -> ->

  • 16:F7A(16): 15x162+7x161+10x160 =3840+112+10 = 3962(10) (3x103 +9x102+6x101 +2x100 )11E (8): 1x162+1x161+14x160 =256+16+14 = 286(10) (2x102+8x101 +6x100 ): : 0,1,2,3,4,5,6,7, 8,9,A,B,C,D,E,F.

  • :16= 24 ( ):110110111 -> 0001 1011 0111 : 0000 -> 0, 0001 -> 1 0010 -> 2, 0011 -> 3, 0100 -> 4, 0101 -> 5, 0110 -> 6, 0111 -> 7, 1000 -> 8, 1001 -> 9, 1010 -> , 1011 -> , 1100 -> C, 1101 -> D, 1110 -> E, 1111 -> F0001 1011 0111 -> 1B7, 1101101112 =1B7(16)

  • : : : 0 -> 0000, 1 -> 0001, 2 -> 0010, 3 -> 0011, 4 -> 0100, 5 -> 0101, 6 -> 0110, 7 -> 0111, 8 -> 1000, 9 -> 1001, A -> 1010, B -> 1011, C -> 1100, D -> 1101, E -> 1110, F -> 1111,)367(16) -> 0011 0110 0111 :0011 0110 0111 -> 11 0110 0111, 367(16) = 11 0110 0111 2

  • : ( ) -> -> : F7A(16): 15x162+7x161+10x160 =3840+112+10 = 3962(10) -> ->

  • Bit (Binary digiT ): (1010 -> 4 bits, 10001010 -> 8 bits)Byte: 8 (1 byte= 8 bits)KiloByte (KB)= 210=1024BytesMegaByte (MB)= 210 KB= 1048576 bytesGigabyte (GB)= 210 MB=230 BytesTeraByte (TB)= 210 GB / . bytes. / (8,32,64 bits)

  • (, , , , , ) . ASCII (American Standard Code for Information Interchange)

  • ASCII

  • / :

  • EBCDIC ( ), BAUDOT ( TELEX) 437: PC DOS.IBM851: PC PS2.IBM869: 0S/2 V.2 . 928: O SO MS-Windows.

  • copy :01000011 01101111 01110000 01111001 4 bytes boy ( (bytes); ? ?

  • ?