Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduction to Computing CPIT 2 0 1 - Homework 2 - Due September 2 0 Store x x in an 8 - bit memory location

Introduction to Computing
CPIT 201- Homework 2- Due September 20
Store xx in an 8-bit memory location using unsigned representation? Show your work?
[0.5 point each)
xx=(???)2
Store -xx in an 8-bit memory location using sign-and-magnitude representation? Show
your work?
-xx=(???)2
Store - XX in an 8-bit memory location using two's complement representation? Show
your work?
-xx=(???)2
Where xx= the last 2 digits of your student number. Example -xx=-76. If you have
one/t wo digits 0 s, use 555 instead of zeros digits x55x55.
Retrieve the integer that stored as 11101111 in memory in unsigned format? Show your
work?
(11101111)2=(???)
Retrieve the integer that stored as 11101111 in memory in sign-and-magnitude format?
Show your work?
(11101111)2=(???)
Retrieve the integer that stored as 10110101 in memory in two's complement format?
Show your work?
(10110101)2=(???)
Using floating-point representation (IEEE_127)(single precision), show the process how
(-xx.xx) is represented?
Where xx.xx= the last 2 digits of your student number. Example -xx.xx=-76.76(no
more than 4 digits in the fractional parts)
The number (47802058)16 is stored in floating-point representation (IEEE_127). Show
the process to retrve the orginal decimal number?
Hint: 1) convert hexadecimal to binary
use IEEE standards
Use the last digit of your student number as x-bit memory location in two's complement.
a) How many different patterns (symbols) can be represented using x bits?
b) show the range for all numbers that can be represented (minimum and maximum
values)?
c) Show the binary representation of the first two numbers and the last two numbers?
d) Discuss when an overflow would happen?
If x2, use x=5.
image text in transcribed

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

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions