Activities Manual for Programmable Logic Controllers
Activities Manual for Programmable Logic Controllers
5th Edition
ISBN: 9781259679568
Author: Petruzella, Frank
Publisher: MCGRAW-HILL HIGHER EDUCATION
Question
Book Icon
Chapter 3, Problem 4RQ
Program Plan Intro

Octal number system:

  • Octal number system is also known as base-8 number system
  • It is because eight distinct elements from 0 to 7 are used to represent a level.
  • It means, in total, octal system has 8 numbers.

Binary 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.

Explanation of Solution

b.

Conversion of octal number 130 to its equivalent binary number:

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

Explanation of Solution

c.

Conversion of octal number 250 to its equivalent binary number:

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

Explanation of Solution

d.

Conversion of octal number 1510 to its equivalent binary number:

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

Explanation of Solution

e.

Conversion of octal number 2551 to its equivalent binary number:

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

Explanation of Solution

f.

Conversion of octal number 2634 to its equivalent binary number:

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

Blurred answer
Students have asked these similar questions
Need help answering these questions!1. Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as the product contains a value less than 100.   2. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000   3. Convert the While loop in the following code to a Do-While loop:     Declare Integer x = 1     While x > 0        Display "Enter a number."        Input x     End While
Need help with these:Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as the product contains a value less than 100.   2. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000   3. Convert the While loop in the following code to a Do-While loop:     Declare Integer x = 1     While x > 0        Display "Enter a number."        Input x     End While
Convert the While loop in the following code to a Do-While loop:    Declare Integer x = 1    While x > 0       Display "Enter a number."       Input x    End While
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage