1.) Problem: A number in a computer system is represented in a binary system. The binary system uses a computer WORD. In this problem, assume that a computer word is 8 bits in memory. With the 8 bits setup, a number 10 can be represented with the following set of elements: (8,2) which is equivalent to (00001010). Each bit is 2 raise to the power of bit the position. The bit position starts at 0. In this problem, 8 bits is from 0 to 7 bit. Evaluate the following set operations in an 8-bit system: 1.) 20 U 10 = 2.) 10 U 15 - 20 =

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter13: Overloading And Templates
Section: Chapter Questions
Problem 33SA
icon
Related questions
Question
100%

Please answer. 

II. Set Operations - Show your solution
1.) Problem: A number in a computer system is represented in a binary system. The binary
system uses a computer WORD. In this problem, assume that a computer word is 8 bits in
memory. With the 8 bits setup, a number 10 can be represented with the following set of
elements: (8,2) which is equivalent to (00001010). Each bit is 2 raise to the power of bit the
position. The bit position starts at 0. In this problem, 8 bits is from 0 to 7 bit.
Evaluate the following set operations in an 8-bit system:
1.) 20 U 10 =
2.) 10 U 15 - 20 =
Transcribed Image Text:II. Set Operations - Show your solution 1.) Problem: A number in a computer system is represented in a binary system. The binary system uses a computer WORD. In this problem, assume that a computer word is 8 bits in memory. With the 8 bits setup, a number 10 can be represented with the following set of elements: (8,2) which is equivalent to (00001010). Each bit is 2 raise to the power of bit the position. The bit position starts at 0. In this problem, 8 bits is from 0 to 7 bit. Evaluate the following set operations in an 8-bit system: 1.) 20 U 10 = 2.) 10 U 15 - 20 =
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Public key encryption
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning