1.4 Data Representation and Data Types Flashcards Preview

Computer Science > 1.4 Data Representation and Data Types > Flashcards

Flashcards in 1.4 Data Representation and Data Types Deck (27)
Loading flashcards...
1
Q

What are the two different types of data in a packet?

A

Control information and Actual data

2
Q

What does the control information of a packet include?

A

Source and Destination Address
Order number of packet
Control signals
Error control bits

3
Q

Where is control information typically found?

A

The Header and trailer

4
Q

What is a Network collision?

A

Is a natural occurrence where two sets of data are detected simultaneously

5
Q

What happens after a network collision takes place?

A

The computer discards the collided packets and waits a short random amount of time before resending the packets

6
Q

Routing

A

Is the process that determines the path each data packet takes and ensures that packets are delivered to their destination efficiently

7
Q

What is a single bit represented as?

A

A 1 or 0

8
Q

What is a group of 4 bits called?

A

Nybble

9
Q

What is a group of 8 bits called?

A

Byte

10
Q

What is the order of the groups of bytes?

A

Byte, KiloByte, MegaByte, GigaByte, TerraByte, PetaByte

11
Q

Word

A

Is a group of bits that can be manipulated as a single unit by the CPU

12
Q

How long are words noramly?

A

16, 32, 64 or 128 bits

13
Q

How many characters of data can the 7-bit ASCII character set hold?

A

128

14
Q

How many characters of data can the 8-bit ACII character set hold?

A

256

15
Q

What is UNICODE?

A

UNICODE uses up to four bytes to represent each character, this allows it to represent up to 110,000 different characters

16
Q

What are the six different data types?

A

Character, String, Unsigned Integer, Signed Integer, Real, Boolean

17
Q

Short description of Character data type

A

A single letter, digit, space, punctuation mark or other symbol

18
Q

Short description of String data type

A

A group of characters

19
Q

Short description of Unsigned Integer data type

A

Whole positive number

20
Q

Short description of Signed Integer data type

A

Whole positive or negative number

21
Q

Short description of Real data type

A

Fractions or number with decimal points

22
Q

Short description of Boolean data type

A

True or False

23
Q

What are the uses of floating point form?

A

Allows for a greater range of positive and negative numbers to be stored in the same number of bits

24
Q

What are the advantages of representing numbers in floating point forms?

A

There is a greater range of positive and negative numbers can be stored in the same number of bits

25
Q

What are the disadvantages of representing numbers in floating point form?

A

Numbers aren’t normally stored in completely accurately
They require more complex processing
There is no exact representation of zero

26
Q

What are the advantages of representing numbers in integer form?

A

They are 100% accurate

27
Q

What are the disadvantages of representing numbers in integer form?

A

A limited range of numbers that can be represented using the available bits