Where we were last time :
So there is the BINARY and the DECIMAL
So lets say we want to convert from binary to decimal
and
from decimal to binary
Binary to Decimal
We have the number 1001 base 2
8 4 2 1
1 0 0 1
8+1=9
1001 base 2 - 9 base 10
Decimal to Binary
9 base 10
8 4 2 1
1 0 0 1
9 base 10 - 1001 base 2
There is hexadecimal too !
It's base is 16
It has 15 numbers but with a difference -
1
2
3
4
5
6
7
8
9
10-A
11-B
12-C
13-D
14-E
15-F
Convert Binary to Hexadecimal
011010 base 2 - 1A base 16
8421 8421
0001 1010
1 8+2=10
Convert Hexadecimal to Binary
1A base 16 - 00011010 base 2
1 A (10) Working
0001 1010 8 4 2 1
0 0 0 1
8 4 2 1
1 0 1 0
Convert Decimal to Hexadecimal
27 base 10 - 1B bas 16
Convert to Binary
16 8 4 2 1
1 1 0 1 1
Convert to hexadecimal
8 4 2 1 8 4 2 1
0 0 0 1 1 0 1 1
1 8+2+1=11
Convert Hexadecimal to Decimal
A1 base 16 - 10100001 base 10
Convert to Binary
A 1
1010 0001
10100001 base 2
Convert to decimal
128 64 32 16 8 4 2 1
1 0 1 0 0 0 0 1
A. Converting BINARY TO DECIMAL
B. Converting DECIMAL TO BINARY
C.Converting BINARY TO HEXADECIMAL
D.Converting HEXADECIMAL TO BINARY
E.Converting DECIMAL TO HEXADECIMAL
F.Converting HEXADECIMAL TO DECIMAL
Representations of Characters
Besides numbers, characters are also used in everyday life to express information. This means that characters also have to be represented in binary using a unique binary code. This is called the character code.
ASCII
ASCII ( American Standard Code for Information Interchange) is an 8-bit code used to represent characters in binary.
Unicode
Unicode by using 16 bits to represent each character. These 16 bit binary numbers allow 2 base 16 different combinations to be represented, which gives us a system that can encode up to 65,535 different characters. For the moment at least, this system should suit purposes.
Analogue and Digital data
Analogue - An analogue device is one in which data is represented by some quantity which is continuously changing.
Digital Data - Digital data is a device that shows data at discrete intervals.
Modem (MODulator - DEModulator)
To convert between the analogue signals used in telephone cables and digital signals used by a computer
Sound Card
A sound card is needed to output for music or speech from programs.
Network Card
A network card lets computer communicate with other computers that are networked together.
Thursday, 15 November 2012
Wednesday, 14 November 2012
Computer Logic (part 1)
What is a 2-state device??
A 2-state device is like a switch on the wall, it can be only one of two possible states at any given time. i.e it may be either ON or OFF
Binary
Binary is a number system. It is the ideal number system to represent two-state device because it has only two digits : O , 1 . It is imp. to notice that in the number system we use everyday life (called decimal system) ten digits are used: 0,1,2,3,4,5,6,7,8,9.
Binary, then, with its 0s and 1s, is a very convenient method of representing the two internal states of a computer's electronic components. Binary digits do not actually exist inside computers, only electrical charges. So, for example +5 volts can be represented by binary 1 and the absence of charge (zero volts) by binary 0.
Bit - stores 0 , 1
Byte - 8 bits = 1 character
Kilobyte-1024 byte
Megabyte- 1024 x 1024
Gigabyte - 1024 x 1024 x 1024
Terabyte - 1024 x 1024 x 1024 x 1024
So there is the BINARY the DECIMAL
So lets say we want to convert from binary to decimal
and
from decimal to binary
Continue in the next part..... :)
A 2-state device is like a switch on the wall, it can be only one of two possible states at any given time. i.e it may be either ON or OFF
Binary
Binary is a number system. It is the ideal number system to represent two-state device because it has only two digits : O , 1 . It is imp. to notice that in the number system we use everyday life (called decimal system) ten digits are used: 0,1,2,3,4,5,6,7,8,9.
Binary, then, with its 0s and 1s, is a very convenient method of representing the two internal states of a computer's electronic components. Binary digits do not actually exist inside computers, only electrical charges. So, for example +5 volts can be represented by binary 1 and the absence of charge (zero volts) by binary 0.
Bit - stores 0 , 1
Byte - 8 bits = 1 character
Kilobyte-1024 byte
Megabyte- 1024 x 1024
Gigabyte - 1024 x 1024 x 1024
Terabyte - 1024 x 1024 x 1024 x 1024
So there is the BINARY the DECIMAL
So lets say we want to convert from binary to decimal
and
from decimal to binary
Continue in the next part..... :)
WordProcessing
Functions of a Word Processor
Columns
Columns are mainly used in newspapers and magazines. Column capability wraps words to the next line within each column. Magazine-style columns flow words from the bottom of one column to the top of the next.
Mail Merge
Mail merge is used to create personalised letters by combining together a form letter and a list of data ( that may include names, addresses etc.. )
Table of Contents
A table of contents is a list of the headings in a documents. You can use a table of contents to get an overview of the topics discussed in a document.
Indexes
An index lists the terms and topics discussed in a document, along with the pages they appear on.
Columns
Columns are mainly used in newspapers and magazines. Column capability wraps words to the next line within each column. Magazine-style columns flow words from the bottom of one column to the top of the next.
Mail Merge
Mail merge is used to create personalised letters by combining together a form letter and a list of data ( that may include names, addresses etc.. )
Table of Contents
A table of contents is a list of the headings in a documents. You can use a table of contents to get an overview of the topics discussed in a document.
Indexes
An index lists the terms and topics discussed in a document, along with the pages they appear on.
A few last things in Chapter 1
Main Components of a computer
The Central Processing Unit (CPU) and the Main Memory (RAM and ROM) are found in the system unit.
The CPU is the brain of the computer, it governs the overall speed of your computer.
The Main Memory is a part of a computer system where data instructions are held for use by the CPU and where the CPU puts results it generates.
There are three types of buses that are always going from the CPU to the Main Memory(RAM and ROM) These are :
- Address Bus
- Data Bus
- Control Bus
A bus is a set of parallel wires connecting two or more components of a computer.
Subscribe to:
Posts (Atom)