Data Types

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

encourage image

There are no tags or description

Looks like no tags are added yet.

14 Terms

1
New cards

What does it mean for a mantissa to be normalised

The mantissa starts with 1.0 or 0.1 (e.g 1.001)

2
New cards

What are the benefits of using a normalised form when representing data as a floating point number

  • Ensures a unique representation for each number

  • Ensures the mantissa can be as accurate as possible for a given number of bits


3
New cards

What do you need to remember about floating point binary numbers for the exam

Mantissa and exponent are always in two’s complement

4
New cards

Where is the binary point found in the mantissa

Binary point is between the first two bits

5
New cards

What is the definition of a number being in two’s complement

The value of the most significant bit is negative (e.g -128 for an 8 bit number)

6
New cards

What is the effect of adding a leading 1 to a negative number in two’s complement

The denary value stays the same, but the binary value has 1 more unnecessary bit

7
New cards

Disadvantage of using ASCII instead of Unicode

Certain characters could be represented in Unicode but not in ASCII such as emojis or foreign language characters.

8
New cards

Advantage of using ASCII instead of Unicode

ASCII needs less storage space for the same characters compared to Unicode

9
New cards

How many bits per character is ASCII

7-bits

10
New cards

How many bits per character is Unicode

More than ASCII

11
New cards

What are ASCII and Unicode examples of

Character sets

12
New cards

What is a character set

Mapping of characters where each character is given a unique binary code

13
New cards

State one advantage of using two’s complement instead of sign and magnitude

Increased range of available numbers

Two’s complement can be used in binary arithmetic such as in addition

14
New cards

Benefits of using Hexadecimal instead of binary

  • Hexadecimal values use less digits so are shorter than binary

  • Hexadecimal is easier and faster for humans to read and write down