UPLOAD

    anabiya ramxan

    Southern Punjab Multan, Pakistan

    1.4K

    Digital Logic Design

    Published: July 30, 2018

    its about digital logic design the number systems binary decimal ad hexadecimal

    Comments

    Digital Logic Design

    • 1. “Digital Logic Design”Assignment No 1 “Digital Logic Design” Assignment No 1 Name: Atiqa Bashir Roll No: 17240819-027 MCS(2nd Semester) Submitted To: Sir Abu Bakar
    • 2. “Number System” “Number System” What Is a Number System?? A Set Of Values Used To Represent Different Quantities Is Known As Number System. For Example: A number system can be used to represent the number of students in a class or a number of viewers watching a certain TV program etc. Some important number system are as follows: ●Decimal number system ●Binary number system ●Octal number system ●Hexadecimal number system Decimal number system are use in general.however binary number system are use in computer system.Octal and hexadecimal number system are also use in computer.
    • 3. “Decimal Number System” “Decimal Number System” The decimal number system consists of 0 to 9. These digits can be used to represent any numeric value.The base of decimal number system is 10.The value represented by individual digits depends on weight and position of the digit. Example: 5 3 10 2 10 1 10 0
    • 4. Binary Number system Binary Number system Binary number system consists of two digits 0 and 1. Example: Convert 10111 to decimal number. 10111 = 1*2 +0*2 +1*2 +1*2 +1*2  =1*16+0*1+1*4+1*2+1*1 2  =16+4+2+1 2 11-1  =23 2 5- 1 Now convert Decimal into Binary. 2 2- 1  2 1- 0 =(10111) 4 3 0 10 2 23
    • 5. “0ctal Number system” “0ctal Number system” Ocatl number system Consists of eight digits from 0 to7. the base of Octal number system is 8. Example: (37037) into decimal number. 37037 = 3*8 +7*8 +0*8 +3*8 +7*8 8 15903  =3*4096+7*512+0*64+3*8+7*1 8 1987 - 7  =(15903) 8 248 -3  8 31- 0 Now C0nvert Decimal into Octal. 8 3-7    =(37037) 8 8 4 3 2 1 0 10 8
    • 6. “Hexadecimal Number System” “Hexadecimal Number System” The hexadecimal number system consist of 0 to 9 and A to F. the base of hexadecimal numberis 16 . Example:  convert (73AB2) into decimal number system. (73AB2) = 7*16 +3*16 +A*16 +B*16 +2*16 16 473778  = 7*65536+3*4096+A*256+B*16+2*1 16 29611-2  =458752+12288+2560+176+2 16 1850-11(B)  =473778 16 115- 10(A) Now convert decimal into Hexadecimal. 7 – 3 =(73AB2) 16 16 4 3 2 1 0 10 16