Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Represent the decimal number in binary using 8-bit signed magnitude, one's complement, two's complement notations respectively: Signed magnitude One's complement Two's complement. 4 -4

1. Represent the decimal number in binary using 8-bit signed magnitude, one's complement, two's complement notations respectively:

Signed magnitude One's complement Two's complement.

4

-4

49

-18

2. Perform the following calculation in 8-bit Twos complement. Show the steps of your work (carries and sums). Additionally, indicate for each: 1) whether there was a carry out; 2) whether there was overflow.

a. 28 -25

b. 58 -20

c. 105 + 45

d. -12- 4

e. How do we detect and solve the overflow?

3. Check the given partial ASCII table, answer the following questions.

a. Suppose a char variable v1 = 'A'+50; what is the integer value of v1?

b. What is the character of v1?

c. Suppose an int variable v2='a' 'A', what is the value of v2?

d. What does 'z' > 'Z' return, True or False?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

How do religious subcultures affect consumption decisions?

Answered: 1 week ago

Question

=+What kinds of problems need to be overcome?

Answered: 1 week ago

Question

=+Describe an important trade-off you recently faced

Answered: 1 week ago