[Solved] CSC230 Assignment 1

$25

File Name: CSC230_Assignment_1.zip
File Size: 178.98 KB

SKU: [Solved] CSC230 Assignment 1 Category: Tag:
5/5 - (1 vote)
  1. A processor uses 23 bits for its memory addressing. How many possible distinct locations (in decimal) can the computer address?
  2. How is the memory address (6234)10 represented in binary (base 2)?
  3. How is the memory address (6234)10 represented in hexadecimal (base 16)?
  4. What is the maximum 2s complement integer that can be stored in a memory location that stores 17 bits of data? (Give your answer in decimal.)
  5. What is the minimum 2s complement (or smallest negative) integer that can be stored in a memory location that stores 17 bits of data? (Give your answer in decimal.)
  6. Convert the numeral 0x3C32CB directly to binary.
  7. Convert 142010 into the 2s complement 16-bit binary representation.
  8. Convert -25210 into the 2s complement 16-bit binary representation.
  9. Convert the octal value 10478 into binary
  10. Convert the octal value 10478 into Hexadecimal
  11. Given two binary numbers 0b10011011 and 0b01101001, perform a bit wise AND operation. Provide the result in binary.
  12. Given two binary numbers 0b10101011 and 0b01001101, perform a bit wise OR operation. Provide the result in binary.
  13. Given two binary numbers 0b10011010 and 0b01011001, perform a bit wise XOR operation. Provide the result in binary.
  14. Given the hexadecimal number 0x19BC, perform a bit wise NOT operation (complement). Provide the result in hexadecimal.
  15. When a binary shift operation is performed binary data can be shifted right or left and a 0 is brought to fill vacated positions while the bit that is shifted out is discarded. Shift the 8-bit binary number that is equivalent to 0x17 right two, give the result in binary.
  16. When a binary rotate operation is performed binary data can be shifted right or left: the bit that is shifted out from one end will be brought back in on the other end. Rotate the 8-bit binary number that is equivalent to 0x4B left two, give the result in binary.
  17. For an 8-bit (byte) sized binary number, what mask and operation would you use to set (make 1) the lower 2 bits without changing the remaining bits?
    1. Mask (in binary)
    2. Operation

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSC230 Assignment 1
$25