[Solved] COMP3353 Project #1

$25

File Name: COMP3353_Project_#1.zip
File Size: 178.98 KB

SKU: [Solved] COMP3353 Project #1 Category: Tag:
5/5 - (1 vote)
  • Get you familiar with data representation and simple logic operations for this course. Requirements:
  • Finish the questions section below. Points for each question included in parenthesis.
  • Show your work to get full credit. ZERO point without steps for a result.
  • Please start early. ZERO point for late submission. After the 11:59pm on the due day, you cant submit your assignment anymore.
  • Check deliverables section below. ZERO point for hand-written or scanned homework, since hand-written could be hard to recognize and harm your grade. Deliverables:
  • Save your solutions of questions as a pdf You can use this document as worksheet.
  • Name document as a pdf.
  • Submit your pdf through the Canvas system. You do not need to submit hard copies.

Rebu4al period:

  • You will be given a period of 3 business days to read and respond to the comments and grades of your homework or project assignment. The TA may use this opportunity to address any concern and question you have. The TA also may ask for additional information from you regarding your homework or project.

Ques8ons:

  1. Convert the following unsigned base 2 numbers (binary) to base 16 numbers (hexadecimal):
  2. 0110 0001 1111
  3. 1000 1111 1100
  4. 0001 0110 0100 0101
  5. Convert the following binary numbers to base 10 numbers (decimal). Each time if binary numbers are represented in:
  6. Signed magnitude representation.
    • 1100 1010 =
    • 1111 0010 =
    • 1000 0111 =
  7. Ones complement representation.
    • 1100 1010 =
    • 1111 0010 =
    • 1000 0111 =
  8. Twos complement representation.
    • 1100 1010 =
    • 1111 0010 =
    • 1000 0111 =

For example, question A, if 1100 1010 is a binary number represented in signed magnitude representation, what is the decimal value? Also do it again if 1100 1010 is a binary number in ones complement representation and twos complement representation. There are 9 separate answers in total.

  1. Convert the following base 10 (decimal) values to binary numbers (8-bits). Each binary result represented in:
  1. Signed magnitude representation.
    • -100d =
    • -16d =
    • -21d =
    • -0d =
  2. Ones complement representation.
    • -100d =
    • -16d =
    • -21d =
    • -0d =
  3. Twos complement representation.
    • -100d =
    • -16d =
    • -21d =
    • -0d =

(There are 12 separate answers in total.)

  1. What is the range of:
  1. An unsigned 7-bit number?
  2. A signed 7-bit number?
  3. Solve following bitwise operations ( = AND, = OR)

e.g. 0101 0011 = 0001

  1. 1000 1110
  2. 1000 1110
  3. (1000 1110) (1001 1110)
  1. Please demonstrate each step in the calculation of the arithmetic operation 25
  2. (both 25 and 65 are signed decimal numbers)
  3. Mathematically the answer in Q6 is -40d. Please verify your answer in Q6 using a conversion of 2s and decimal numbers.

Reviews

There are no reviews yet.

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

Shopping Cart
[Solved] COMP3353 Project #1
$25