0% found this document useful (0 votes)
13 views

Computer Science

The document discusses binary, the base-2 numbering system computers use to represent information. It defines binary, bits, bytes and other units of measurement. It also covers binary addition, conversions between binary and decimal, and logic gates.

Uploaded by

xt2hhrxmby
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Computer Science

The document discusses binary, the base-2 numbering system computers use to represent information. It defines binary, bits, bytes and other units of measurement. It also covers binary addition, conversions between binary and decimal, and logic gates.

Uploaded by

xt2hhrxmby
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

computer science revision!

What is Binary?
Binary describes a numbering scheme in which the two possible values for each
digit is either 0 or 1. A bit is the smallest unit of data. Binary is the only language
the computer understands.

Continuing:

➔ Computers are not human


➔ They run on electricity, that means they have to use electricity to represent
info.
➔ Electricity has 2 states. On and off, (no dormant.)
Glossary
Binary: Base 2 number system. Uses digits and 1,0 Unicode: A character set that uses 16 bits
only. to store 65535 characters.
Denary: Base 10 number system. Uses digits 0-9. Boolean logic: Boolean is one of the main
Pixel: Picture element. It is a single point within a data types in computer. Boolean logic
reflects the binary logic of logic gates and
bitmap image.
transistors in a computer's CPU.
BIT: Binary Digit. A single value of either 0 or 1.
Logic Gate: AND, OR, NOT A logic gate is an
ASCII: American Standard code for information elementary building blocks of a digital
interchange. A character set that uses 7 bits to circuit.
store 128 characters.
Truth Table: A diagram of the outputs
Extended ASCII: A character set that uses 8 bits to from all the possible combinations of
store 256 characters input.
Units of Measurement
0 or 1 - A bit
8 bit - 1 byte
1 nibble - 4 bits, (half a byte.)
1024 bytes = 1 kilobyte (kb)
1024kb= 1 megabyte (mb)
1024 mb = 1 gigabyte
1 byte = 1 character of text
1 terabyte = 1000 gigabytes
1 megabyte = 1,000,000 bytes
Binary Addition Rules:
0 1 0 1 1
+0 +0 1
+1 +1 +1
—- —--
—- —--- —---
0 1
0 1 carry
1 but 1
carry 1010
1 +1001
—------
10011
revise incase!
conversions:
Denary to binary: E.g: 177

128 64 32 16 8 4 2 1

1 0 1 1 0 0 0 1

It’s about adding up, which


numbers fit in and which don’t!
conversions:
➔ E.g,
Binary to denary:
10001101

128 64 32 16 8 4 2 1

1 0 0 0 1 1 0 1

128+13 = 141
thank you for doing my course!

You might also like