Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
Question
Book Icon
Chapter 3, Problem 7RQ
Program Plan Intro

Decimal number system:

  • In binary system, the numbers “0” and “1” are only used.
  • It means, in total, binary system has only 2 numbers.
  • Therefore, the base used for binary numbering system is 2.

BCD number system:

  • Binary Coded Decimal (BCD) refers to a section of binary encodings of decimal numbers.
  • Each decimal number will be represented by a fixed number of bits such as four or eight.
  • BCD has an advantage of representing each decimal number in four bit pattern. This is also called as “8421” encoding.

Explanation of Solution

b.

Conversion of decimal number 389 to its equivalent BCD:

  • Given, decimal number is 389.
  • Each digit of the decimal number is converted into four bit binary equivalent.
  • A group of four bit binary refers to its corresponding decimal digit.
  • Finally, the BCD notation of the given decimal number is noted.
  • The following diagram describes the BCD notation of the decimal number 389...

Explanation of Solution

c.

Conversion of decimal number 1678 to its equivalent BCD:

  • Given, hexadecimal number is 1678.
  • Each digit of the hexadecimal number is converted into four bit binary equivalent.
  • A group of four bit binary refers to its corresponding hexadecimal digit.
  • Finally, the binary notation of the given hexadecimal number is noted.
  • The following diagram describes the binary notation of the hexadecimal number 1678...

Explanation of Solution

d.

Conversion of decimal number 2502 to its equivalent BCD:

  • Given, hexadecimal number is 2502.
  • Each digit of the hexadecimal number is converted into four bit binary equivalent.
  • A group of four bit binary refers to its corresponding hexadecimal digit.
  • Finally, the binary notation of the given hexadecimal number is noted.
  • The following diagram describes the binary notation of the hexadecimal number 2502...

Blurred answer
Students have asked these similar questions
Convert a. 476810 to hexadecimal. b. 43078 to decimal c. BC1216 to decimal d. 937.2510 decimal to BCD e. 17710 to octal
Convert the following decimal numbers to octal:(a) 9810 (b) 16310
Convert this decimal number to octal and binary numbers:   a. 76   b. 32   c. 20   d. 359
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education