5 Data Representation

Introduction to Information Technology · Unit 5 · 6 hrs

Data Representation

Exam-focused notes for Data Representation (Introduction to Information Technology, CSC114): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.

What this unit covers

  • Introduction
  • Number System
  • Conversion from Decimal to Binary, Octal, Hexadecimal
  • Conversion of Binary, Octal, Hexadecimal to Decimal
  • Conversion of Binary to Octal, Hexadecimal
  • Conversion of Octal, Hexadecimal to Binary
  • Binary Arithmetic
  • Signed and Unsigned Numbers
  • Binary Data Representation
  • Binary Coding Schemes
  • Logic Gates

Conversion from Decimal to Binary, Octal, Hexadecimal

20815 marks

What is Unicode? Convert 0.865 from Base 10 to Base 16. [5]

--- Unicode is a universal character encoding standard that assigns a unique number, called a code point, to every character, symbol, and script used in the writing systems of the world. Key points: - Developed to overcome the limits of older schemes like A...

Full solved answer →
20805 marks

What is ASCII? Convert 0.2345 from Base 10 to Base 2. [5]

- Number to convert: $0.2345$ (Base 10) - Target base: Base 2 - Concept asked: ASCII --- ASCII stands for American Standard Code for Information Interchange. - It is a character encoding standard that assigns a unique numeric code to each character so that ...

Full solved answer →
20795 marks

Define decimal to binary conversion. Convert decimal 12.15 to binary. [5]

Decimal to binary conversion is the process of representing a number given in the decimal (base-10) system, which uses digits 0 through 9, into its equivalent form in the binary (base-2) system, which uses only the digits 0 and 1. A decimal number having bo...

Full solved answer →
20745 marks

Convert $(10.4)_{10}$ to binary. Add $(10111)_2$ with $(01111)_2$. [5]

- Decimal number to convert: $(10.4){10}$ - Binary numbers to add: $(10111)2$ and $(01111)2$ --- Divide by 2 repeatedly: Division Quotient Remainder ------------------------------- 10 ÷ 2 5 0 5 ÷ 2 2 1 2 ÷ 2 1 0 1 ÷ 2 0 1 Reading bottom to top: $(10){10} = ...

Full solved answer →

Binary Arithmetic

20785 marks

How binary addition is done? Show binary addition of (11001) with (11011). [5]

- First number: $A = 110012$ - Second number: $B = 110112$ - Operation: binary addition $A + B$ Binary addition works bit by bit from the least significant bit (rightmost), following these rules: A B Sum Carry ------------------ 0 0 0 0 0 1 1 0 1 0 1 0 1 1 ...

Full solved answer →

Conversion of Binary, Octal, Hexadecimal to Decimal

20775 marks

Convert (110101.101) binary to decimal. [5]

- Binary number: $110101.101$ - Integer part: $110101$ - Fractional part: $101$ Assign powers of 2 by position (integer part starts at $2^0$ going left; fractional part starts at $2^{-1}$ going right). Digit 1 1 0 1 0 1 . 1 0 1 -----------------------------...

Full solved answer →

Signed and Unsigned Numbers

207510 marks

Discuss the concept behind the fixed point number representation. What can be the fixed point representation of a signed number 8? Convert (14.14) decimal into binary and octal.[10]

- Concept required: fixed point number representation - Signed number to represent: 8 - Number to convert: $(14.14){10}$ into binary and octal --- Fixed point representation is a scheme for storing real numbers in which the position of the radix (binary) po...

Full solved answer →
010 marks

Discuss the concept behind the fixed point number representation. What can be the fixed point representation of a signed number 8? Convert (14.14) decimal into binary and octal.[10]

- Signed number to represent: $8$ (i.e. $+8$) - Decimal number to convert: $(14.14){10}$ - Target bases: binary and octal --- Fixed point representation is a scheme for storing real numbers where the radix (binary) point is fixed at a predetermined position...

Full solved answer →