Lecture-04.1 - Chapter 3 Data Representation Sample Test/Exam questions Question Convert-173 to 12-bit twos complement representation Show all your

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 3 Data Representation Sample Test/Exam questions: Question: Convert -173 to 12-bit two’s complement representation. Show all your work. Answer: Step 1: convert 173 to binary by repeated division by 2. 173 ÷ 2 86 1 1 86 ÷ 2 43 0 01 43 ÷ 2 21 1 101 21 ÷ 2 10 1 1101 10 ÷ 2 5 0 01101 5 ÷ 2 2 1 101101 2 ÷ 2 1 0 0101101 1 ÷ 2 0 1 10101101 Step 2: expand answer in Step 1 to 12-bits 000010101101 Step 3: flip-the-bits and add one 000010101101 111101010010 + 1 111101010011 Final answer: -173 = 111101010011 _______________________________________________________ Question: Convert +173 to 12-bit two’s complement representation. Show all your work. Question: Convert the 12-bit two’s complement number 111101010011 to decimal. CSE 1520 – Lecture 4.1 January 25, 2011 page 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Data and computers – Ch. 3.1 .../continued Analog and Digital Information real world is continuous and infinite (data on) computers are finite need to obtain a finite representation (approximation) of the world, sufficient for our computational needs and our five senses analog data: information represented in a continuous form digital data: information represented in a discrete form examples: sound: vinyl record vs. Compact Disc (CD) clocks, thermometers, etc. information is digitized by breaking it into pieces
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/05/2011 for the course ECON 1000 taught by Professor Paschakis during the Spring '08 term at York University.

Page1 / 5

Lecture-04.1 - Chapter 3 Data Representation Sample Test/Exam questions Question Convert-173 to 12-bit twos complement representation Show all your

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online