Pages

Wednesday, February 5, 2014

Informatic

Lecture Coding/Decoding add up I-How deeds a computing machine: -Different way: -Human tenfold cup of tea 0,1,2,3,4,5,6,7,8,9 10 possibilities -Computer double star solution 0,1 2 possibilities -Need to define rules to convert/ order binary tots. II-Binary numbers: How it plant life Some vocabulary -A human activity (or binary digit) means a number (0,1) -8 bits = a Byte 11010101: a byte 8boxes: 2? possibilities 256 posibilities can code numbers from 0 to 255 III-Other standstills: octal ground: 8 posibilities for each(prenominal) bit {0,1,2,3,4,5,6,7} hexadecimal root: 16 posibilities for each bit: {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F] 10,11,12,13,14,15 IV-Coding/Decoding binary radix: A/ From binary base to decimal base: Ex:110011002 7 6 5 4 3 2 1 0 1*2?+1*2?+0*2?+0*2?+1*2³+1*2³+0*2¹+0*2?=20410 B/From decimal base to binary base: - concomitant divisions of the decimal by 2 (On paper) V-Coding/Decoding other bases: A/ From other bases to decimal bases: equivalent process for octal or hexadecimal: 11018 = 1*8³+1*8²+0*8¹+1*8? OCTAL 3 2 1 0 010016 = 0*16³+1*16²+0*16¹+0*16?=16² 3 2 1 0 B/ Tip to convert from binary to octal, hexadecimal: 1101²=1*2³+1*2²+0*2¹+1*2?=8+4+1=13 HEXA: 0,1,2,3,4,5,6,7,8,9,A,B,C,D... 1101²=D16=DH because in the HEXA base D=13 Convert Binary to Octal: make groups of 3 numbers: 101101: 101/101²= 1*2²+0*2¹+0*2? + 1*2³+0*2?+1*2? = 55? C/ From decimal base to other bases: Decimal to hexadecimal base (On paper) Successive divisions by 16 VI- How to code prejudicial integers: For integers several types exist: -BYTE 8 bits un subscribe (positive numbers only) [0...255] -SHORTINT 8 bits sign oned [-128...127] -INTEGER 16 bits signed [-32768....32767] -LONGINT 32 bits signed [-2³¹....2³¹-1] -WORD 16 bits unsigned [0...65535] 1°) institute a bi t for the sign ? not a healthy solution ?! complement to 2 Rules for the process « complement to 2 »: ? The positive integers are represented...If you hope to get a full essay, order it on our website: OrderEssay.net

If you want to get a full information about our service, visit our page: write my essay

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.