B) An 8-bit memory contains the following pattern 01010101: 1. What is the value of the memory content if it is representing an 8-bit binary number? 2. What is the value of the memory content if it is representing a BCD number? 3. What is the value of the memory content if it is representing a 2’s complement number? 4. What is its hexadecimal representation? 5. What is its octal representation?
Added by Heather C.
Step 1
- 0 × 2^7 = 0 - 1 × 2^6 = 64 - 0 × 2^5 = 0 - 1 × 2^4 = 16 - 0 × 2^3 = 0 - 1 × 2^2 = 4 - 0 × 2^1 = 0 - 1 × 2^0 = 1 Adding these values together: 64 + 16 + 4 + 1 = 85. **Value as an 8-bit binary number: 85** Show more…
Show all steps
Your feedback will help us improve your experience
Adi S and 63 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
1) Decimal number 123 as a sized 8-bit number in binary. Use _ for readability. 2) Decimal number 123 as a sized 8-bit number in hexadecimal. 3) (i) A 4-bit negative 7 in decimal. (ii) Write the 2's complement form for this number. 4) An unsized decimal number 15. We assume 32-bit machine and compiler are used. 5) For the following three positive numbers, which one is the largest number? (a) 4'b1110 (b) 4'hf (c) 4'10
Adi S.
a) How much memory in Mbytes can be accessed using 10 bits for addressing, assuming 8 bits (or 1 byte) capacity for each memory location? (5 points) b) If I have 269 Mbytes of available memory, how many bits are needed for addressing the above memory? (5 points) c) Explain the difference between RAM, program memory, and the concept of flash memory. (5 points) d) Express the following binary numbers in hexadecimal: 10101111 and 11100100 (5 points) e) Write the number -18 in binary. Please explain. (5 points)
Supreeta N.
1. Write the sequence decimal 15 to 25 in binary, hexadecimal, octal, and BCD number systems. 2. Convert: a) (256)10 = ( ? )2 b) (111011.1)2 = ( ? )10 c) (011111011.1)2 = ( ? )16 d) (11011011.1)2 = ( ? )BCD 3. Perform binary addition of (101110)2 + (1010101)2 and express the result in decimal number system. 4. Perform binary subtraction using 1's complement and 2's complement method : (1110111)2 - (10111)2
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD