data representation Flashcards

1
Q

what is data representation

A

it refers to the form in which date is stored, processed and transferred

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a bit

A

it is the smallest unit of data in computers, it represents a binary state of 0 and 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

why do we need hexadecimal

A

. computers operate with binary numbers represented with 0 and 1
. can be very long and hard for humans to understand
. hexadecimal is shorter and easier to understand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

uses of hexadecimal

A

. color codes in websites
.machine code and assembly language
. mac address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is binary coded decimal

A

it is a way of representing decimal numbers using binary digits. each decimal number is represented by a group of 4 binary digits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

uses of bcd

A

any scenario where a single digit needs to be displayed eh calculator and digital clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe how danery integers larger than 9 can be converted into bcd

A

each danery digit would be written as a 4 bit binary number for eg 46 would be 0100 0110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

describe how a 8 bit bcd can be converted into a danery digit

A

the binary digits will be split into groups of 4 bits, starting from the right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

unsigned binary numbers

A

a way of representing numbers using 1 and 0, there is no concept of positive or negative numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

signed binary numbers

A

a way of representing numbers using both negative and positive values , 0 means positive and 1 means negative

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

state how an overflow can occur when adding two binary numbers

A

computers have fixed memory spaces, sometimes after calculation the number of bits end up being more than the amount which can be stored

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

why was ASCII developed

A

back then different manufacturers used different character codes, this made it difficult for computers of different companies to communicate, ASCII was developed to set the same codes for text characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

describe charcteristics of ASCII

A

A= 65 a= 97
there is 7 bits
128 characters can be represented 0-127
it is standard american code
64 32 16 8 4 2 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

charcteristics of extended ASCII

A

8 bits
256 characters can be represented
128 64 32 16 8 4 2 1
128 to 255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what are disadvantages of ASCII codes

A

only 128 characters can be represented
many characters in other languages cannot be represented
in extended ASCII the characters from 128-255 may be coded differently in different systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

how unicode is designed to overcome the disadvantages of ASCII

A

unicode uses upto 32 bits
it is designed to be a superset if ASCII
it is designed so most characters in other languages can be represented