0% found this document useful (0 votes)
9 views6 pages

Computer Science Notes

Uploaded by

freya shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

Computer Science Notes

Uploaded by

freya shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Ch 1 Data representation

Big to Small >> divide (factorise)


Small to Big >> multiply (exponents)
conversion decimal binary
241,0 12
11000
multiply >> exponent >>> if its binary to decimal, the base should be
2 multiplied by the face value)

135110 12
1000011112

us

1111010172

Binary 0,1
Decimal denary 0 9
octal 0 8
Hexadecimal 0 9 A 10 Bell 2 12 D 13 E 14 F 15

Conversion binary decimal I


101112 C 710

1 23 0 22 1 2 1 20
8 0 2 1

11 111,0

100110112 C to

1 26 0 25 0 29 1 23 1 22 0 2 t 1 20

64 0 0 8 4 0 7

77110

0011010112 Clio

0 2 t 0 2 t 1 25 1 24 0 23 1 22 0 2 1 20
0 0 32 16 0 4 to I

53710

conversion octal decimal

5918 7 110
5 8 4 80

40 4

144110
12618 1110
1 82 2 8 t 6 80

64 16 6
186110

for hexa to deci >> big to small will be multi(expo)


Conversion Hexadecimal decimal

2DA3 16
10 X 16^2
2 161 13 164 10 16 3 160

8192 3328 160 3

111683110

CUB 6

4 16 11 160
64 11

75710

Activity 11

3 uses of hexadecimal are

debugging
Ip adresses

Error messages

converting text and images to binary


image 0 white
1 black

each colour has it's own binary value rgb


rgb is mainly to visualise

Cmyk is used for printing

each image has a resolution and colour depth

resolution no of pixels
colourdepth the number of bits used to create each colour

Antivity 1.2
Computer Science is Fun
Binary addition

257,0 151,0

4.1
a 40110

Rules for binary

0 o

I 0

1 1 0 cwith carry forward 17

1011 11

1 00 10 10 0

Q 31 00011001

01011100
00100110
t.fi i 0111110

1 10111 23

4 987 1001000

2 110011 51

t.it inooo

3 010101

1000001

You might also like