PROGRAMMABLE LOGIC CONTROL.(LL)>CUSTOM<
PROGRAMMABLE LOGIC CONTROL.(LL)>CUSTOM<
5th Edition
ISBN: 9781266481475
Author: Petruzella
Publisher: MCG
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 4, Problem 4P

Explanation of Solution

a.

Data stored in the destination address of AND operation:

  • In AND operation, the output is always HIGH when all the inputs are HIGH and the output is LOW when any of the inputs are LOW.
  • The AND operation of two inputs “Source A” and “Source B” is given below. Here, the result is stored in destination address.
  • If both the inputs “Source A” and “Source B” are 1, then the output 1 will be displayed on the destination.
  • Otherwise, if either of the inputs “Source A” or “Source B” is 0, then the output 0 will be displayed on the destination.

Source A:

00000000101010

Explanation of Solution

b.

Data stored in the destination address of OR operation:

  • In OR operation, the output is always HIGH when any of the inputs are HIGH and the output is LOW when all the inputs are LOW.
  • The OR operation of two inputs Source A and Source B is given below. Here, the result is stored in destination address.
  • If either of the inputs “Source A” or “Source B” are 1, then the output 1 will be displayed on the destination.
  • Otherwise, if both the inputs “Source A” and “Source B” are 0, then the output 0 will be displayed on the destination.

Source A:

00000000101010

Explanation of Solution

c.

Data stored in the destination address of XOR operation:

  • In Exclusive-OR (XOR) operation, the output is always HIGH when either of the inputs is HIGH and the output is LOW when all the inputs are either HIGH or LOW.
  • The XOR operation of two inputs Source A and Source B is given below. Here, the result is stored in destination address.
  • If either of the inputs “Source A” or “Source B” are 1, then the output 1 will be displayed on the destination.
  • Otherwise, if both the inputs “Source A” and “Source B” are 0 or 1, then the output 0 will be displayed on the destination.

Source A:

00000000101010

Blurred answer
Students have asked these similar questions
I need to develop and run a program that prompts the user to enter a positive integer n, and then calculate the value of n factorial n! = multiplication of all integers between 1 and n, and print the value n! on the screen. This is for C*.
I need to develop and run a C* program to sum up integers from 1 to 100, and print out the sum value on the screen. Can someone help please?
Given the schema below for the widgetshop, provide a schema diagram. Schema name Attributes Widget-schema Customer-schema (stocknum, manufacturer, description, weight, price, inventory) (custnum, name, address) Purchased-schema (custnum, stocknum, pdate) Requestedby-schema (stocknum, custnum) Newitem-schema (stocknum, manufacturer, description) Employee-schema (ssn, name, address, salary) You can remove the Newitem-schema (red).
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
A+ Guide to Hardware (Standalone Book) (MindTap C...
Computer Science
ISBN:9781305266452
Author:Jean Andrews
Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage