[Solved] COMP3350 Project 1-Data representation and simple logic operations

$25

File Name: COMP3350_Project_1-Data_representation_and_simple_logic_operations.zip
File Size: 621.72 KB

SKU: [Solved] COMP3350 Project 1-Data representation and simple logic operations Category: Tag:
5/5 - (1 vote)
  • Get you familiar with data representation and simple logic operations for this course.

Questions:

  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

(2.1) Convert the following binary

  1. 1100 1010
  2. 1111 0010
  3. 1000 0111

numbers into base 10 numbers (decimal), binary numbers are represented in signed magnitude representation.

  • Redo the question 2.1, if the binary number are represented in Ones complement representation.
  • Redo the question 2.1, if the binary number are represented in Twos complement representation.

For example, question (2.1), 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 9 questions in total.

(3.1) Convert the following base 10 (decimal) values to binary numbers (8-bits): a. -100d

  1. -16d
  2. -21d
  3. -0d

Each binary result represented in Signed magnitude representation.

  • Redo the question (3.1), convert binary into in Ones complement representation.
  • Redo the question (3.1), convert binary into in Twos complement representation.
  1. (4 points) What is the range of: A. An unsigned 7-bit number?
  2. A signed 7-bit number?
  3. (12 points) Provide the answer to the following problems ( = AND, = OR)
    1. 1000 1110
    2. 10001110
    3. (10001110) (10011110)
  1. Please demonstrate each step in the calculation of the arithmetic operation 25 65. (both 25 and 65 are signed decimal numbers)
  1. 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] COMP3350 Project 1-Data representation and simple logic operations
$25