Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with the following questions, Thank you!!!!! 1) Solve the following hex addition problems, giving the answer in hex: 0x125 + 0x83a = 0x

Please help with the following questions, Thank you!!!!!

1) Solve the following hex addition problems, giving the answer in hex:

0x125 + 0x83a = 0x

0x456 + 0xce6 = 0x

2) Fill in the 16 bit result of each of the following bit level expressions

0x1122 | 0xabcd 0x
0x1234 >> 2 0x
0x1234 ^ 0x1234 0x
0x1234 & (0xff << 4)

0x

3)

3) Suppose we are going to store the 32 bit integer 0xab12cd34 at memory address 0x100. Our memory is byte-addressable, which means that each memory address stores a single byte.

What byte is stored at address 0x101 if our architecture is big endian? 0x

What byte is stored at address 0x101 if our architecture is little endian? 0x

4) Fill in the table below for 9-bit integers (using base 10 integers)

Umin
Umax
Tmin
Tmax

5) For each 7 bit integer below, fill in the decimal value associated with the bit pattern for unsigned and signed (two's complement) integers

Unsigned Signed
0110011
1001110

6) Compute the 4 bit result for these integer additions. You will be asked about overflow in the following questions

1011 + 0110 =

0110 + 0010 =

1001 + 1010 =

7) If the addition problems in question 6 are on unsigned integers, which of the three overflowed? Mark all that apply

1

2

3

None of the additions overflowed

8) If the addition problems on question 6 are on signed (two's complement) integers, which additions overflowed? Mark all that apply

1

2

3

none

9) x << 3 + x << 5 = x * N, where N is some constant. What is N (in base 10)?

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions

Question

What is total productive maintenance?

Answered: 1 week ago

Question

3. Provide advice on how to help a plateaued employee.

Answered: 1 week ago