Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
Expert Solution & Answer
Book Icon
Chapter 3, Problem 1RQ

a.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 10.
  • First, multiply the given binary number 10 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 10.

10=21*1+20*0 =2*1+1*0 =2+0 =2

  • Therefore, the decimal notation of binary number (10)2 is “(2)10”.

b.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 100.
  • First, multiply the given binary number 100 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 100.

100=22*1+21*0+20*0 =4*1+2*0+1*0 =4+0+0 =4

  • Therefore, the decimal notation of binary number (100)2 is “(4)10”.

c.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 111.
  • First, multiply the given binary number 111 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 111.

111=22*1+21*1+20*1 =4*1+2*1+1*1 =4+2+1 =7

  • Therefore, the decimal notation of binary number (111)2 is “(7)10”.

d.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 1011.
  • First, multiply the given binary number 1011 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 1011.

1011=23*1+22*0+21*1+20*1 =8*1+4*0+2*1+1*1 =8+0+2+1 =11

  • Therefore, the decimal notation of binary number (1011)2 is “(11)10”.

e.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 1100.
  • First, multiply the given binary number 1100 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 1100.

1100=23*1+22*1+21*0+20*0 =8*1+4*1+2*0+1*0 =8+4+0+0 =12

  • Therefore, the decimal notation of binary number (1100)2  is “(12)10”.

f.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 10010.
  • First, multiply the given binary number 10010 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 10010.

10010=24*1+23*0+22*0+21*1+20*0 =16*1+8*0+4*0+2*1+1*0 =16+0+0+2+0 =18

  • Therefore, the decimal notation of binary number (10010)2 is “(18)10”.

g.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 10101.
  • First, multiply the given binary number 10101 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 10101.

10101=24*1+23*0+22*1+21*0+20*1 =16*1+8*0+4*1+2*0+1*1 =16+0+4+0+1 =21

  • Therefore, the decimal notation of binary number (10101)2 is “(21)10”.

h.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 11111.
  • First, multiply the given binary number 11111 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 11111.

11111=24*1+23*1+22*1+21*1+20*1 =16*1+8*1+4*1+2*1+1*1 =16+8+4+2+1 =31

  • Therefore, the decimal notation of binary number (11111)2 is “(31)10”.

h.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 11001101.
  • First, multiply the given binary number 11001101 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 11001101.

11001101=27*1+26*1+25*0+24*0+23*1+22*1+21*0+20*1 =128*1+64*1+32*0+16*0+8*1+4*1+2*0+1*1 =128+64+0+0+8+4+0+1 =205

  • Therefore, the decimal notation of binary number (11001101)2 is “(205)10”.

j.

Explanation of Solution

Conversion of binary numbers to decimal numbers:

  • Given, binary number is 11100011.
  • First, multiply the given binary number 11100011 with multiples of 2, with respect to their positions and then, add all the values to get the final answer.
  • The following calculation describes the decimal notation of the binary number 11100011.

11100011=27*1+26*1+25*1+24*0+23*0+22*0+21*1+20*1 =128*1+64*1+32*1+16*0+8*0+4*0+2*1+1*1 =128+64+32+0+0+0+2+1 =227

  • Therefore, the decimal notation of binary number (11100011)2 is “(227)10”.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
If a UDP datagram is sent from host A, port P to host B, port Q, but at host B there is no process listening to port Q, then B is to send back an ICMP Port Unreachable message to A. Like all ICMP messages, this is addressed to A as a whole, not to port P on A. (a)  Give an example of when an application might want to receive such ICMP messages. (b)  Find out what an application has to do, on the operating system of your choice, to receive such messages. (c)  Why might it not be a good idea to send such messages directly back to the originating port P on A?
Discuss how business intelligence and data visualization work together to help decision-makers and data users. Provide 2 specific use cases.
This week we will be building a regression model conceptually for our discussion assignment. Consider your current workplace (or previous/future workplace if not currently working) and answer the following set of questions. Expand where needed to help others understand your thinking:  What is the most important factor (variable) that needs to be predicted accurately at work? Why? Justify its selection as your dependent variable.
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
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
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage