a.
Given information:
- The signed value of W is 17.
- The signed value of X is 28.
- The signed value of Y is -29.
- The signed value of Z is -13.
a.
Explanation of Solution
Evaluation of expression “X+Y”:
Evaluate the value of the given expression “X+Y” by substituting the value of “X” as “28” and “Y” as “-29” in the expression. The result is,
Therefore, the calculated value of given expression is “-1”.
Explanation of Solution
b.
Evaluation of expression “X+W”:
Evaluate the value of the given expression “X+W” by substituting the value of “X” as “28” and “W” as “-17” in the expression. The result is,
Therefore, the calculated value of given expression is “45”.
Explanation of Solution
c.
Evaluation of expression “Z+W”:
Evaluate the value of the given expression “Z+W” by substituting the value of “Z” as “-13” and “W” as “17” in the expression. The result is,
Therefore, the calculated value of given expression is “4”.
Explanation of Solution
d.
Evaluation of expression “Y+Z”:
Evaluate the value of the given expression “Y+Z” by substituting the value of “Y” as “-29” and “Z” as “-13” in the expression. The result is,
The calculated value of given expression is “-42”.
Explanation of Solution
e.
Evaluation of expression “W-Z”:
Evaluate the value of the given expression “W-Z” by substituting the value of “W” as “17” and “Z” as “-13” in the expression. The result is,
Therefore, the calculated value of given expression is “30”.
Explanation of Solution
f.
Evaluation of expression “X-W”:
Evaluate the value of the given expression “X-W” by substituting the value of “X” as “28” and “W” as “-17” in the expression. The result is,
Therefore, the calculated value of given expression is “11”.
Explanation of Solution
g.
Evaluation of expression “Y-W”:
Evaluate the value of the given expression “Y-W” by substituting the value of “Y” as “-29” and “W” as “17” in the expression. The result is,
Therefore, the calculated value of given expression is “-46”.
Explanation of Solution
h.
Evaluation of expression “Z-Y”:
Evaluate the value of the given expression “Z-Y” by substituting the value of “Z” as “-13” and “Y” as “-29” in the expression. The result is,
Therefore, the calculated value of given expression is “16”.
Want to see more full solutions like this?
Chapter 3 Solutions
COMPUTER SCIENCE ILLUMIN.-TEXT
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education