Beruflich Dokumente
Kultur Dokumente
Window Installation
NTFS vs FAT
Digital Representation
Coding Scheme
Numbering System
Binary, Octal, Decimal and Hexadecimal
Conversion from one number system to other
Binary to Others
Decimal to Others
Octal to Others
Hexadecimal to Others
Window XP Installation
Window Installation
http://www.echoproject.net/en/index.html
AbduSalam
FAT vs NTFS
Formatting
Formatting a disk means configuring the disk with a file system so
that Windows can store information on the disk.
Formatting erases any existing files on a hard disk. If you format a
hard disk that has files on it, the files will be deleted.
FAT32
FAT32, were used in earlier versions of Windows operating systems,
including Windows 95, Windows 98, and Windows Millennium Edition.
FAT32 does not have the security that NTFS provides,
FAT32 also has size limitations.
You cannot create a FAT32 partition greater than 32GB in this
version of Windows, and
You cannot store a file larger than 4GB on a FAT32 partition.
AbduSalam
FAT vs NTFS (Cont’d)
NTFS
The capability to recover from some disk-related errors automatically, which
FAT32 cannot.
Improved support for larger hard disks.
Better security because you can use permissions and encryption to restrict
access to specific files to approved users.
Quick format
Quick format is a formatting option that creates a new file table on a hard
disk but does not fully overwrite or erase the disk. A quick format is much
faster than a normal format, which fully erases any existing data on the hard
disk.
A partition is an area of a hard disk that can be formatted and assigned a
drive letter.
The terms partition and volume are often used interchangeably.
Your system partition is typically labeled with the letter C.
Letters A and B are reserved for removable drives or floppy disk drives.
AbduSalam
Digital Representation
AbduSalam
Data Representation (Cont’d)
Step 4. Step 3.
After processing, the binary code The signal for the capital letter D is
for the capital letter D is converted converted to its ASCII binary code
to an image, and displayed on the (01000100) and is stored in memory
output device. for processing.
AbduSalam
Digital Representation (Cont’d)
Different coding schemes are used like BCD, EBCDIC, ANSI.
E.g.
In EBCDIC letter “a” is represented by
10000001
In ASCII letter “a” is represented by
01100001
The standard ASCII code uses now 8-bit to represent 255 symbols
including upper-case letters, lower-case letters, special control codes,
numeric digits & certain punctuation symbols.
For example
A----Z, a----z, 0---9, (,), +, -, *, /, ?, <, >, shift, ctrl, enter etc…
AbduSalam
Data Representation (Cont’d)
ASCII
EBCDIC
Unicode—coding scheme capable of representing all
world’s languages
AbduSalam
Numbering System
Basic understanding of the number system.
e.g.
The number of students attending class, the number of
subjects taken per student and also use numbers to
represent grades achieved by students in class.
AbduSalam
Types Of Numbering System
NON-POSITIONAL NUMBERING SYSTEM
In early days, human being counted on fingers, stones, pebbles
or sticks were used to indicate values.
This method of counting an additive approach or the non-
positional number system.
In this system, symbols such as I, II, III, IV etc.
AbduSalam
Types of Positional Number Systems
Used by Used in
System Base Symbols humans? computers?
Decimal 10 0, 1, … 9 Yes No
Binary 2 0, 1 No Yes
Octal 8 0, 1, … 7 No No
Hexa-decimal 16 0, 1, … 9, No No
A, B, … F
AbduSalam
Base or Radix Number Systems
Each number system has a number of different digits which is called
the radix or the base of the number system.
• Decimal Base = 10
• Binary Base = 2
• Octal Base = 8
• Hexadecimal (Hex) Base = 16
AbduSalam
Types of Positional Numbering System (Cont’d)
“BInary
BI digiT” is often referred to by the common abbreviation
BIT.
BIT Thus, a “bit” in a computer terminology means either a 0
or a 1.
AbduSalam
Types of Positional Numbering System (Cont’d)
The base is equal to ten because there are altogether ten digits (1,
2, 3, 4, 5, 6, 7, 8, 9)10
AbduSalam
Types of Positional Numbering System (Cont’d)
AbduSalam
Binary Number System
Base (Radix) 2
Digits 0, 1
e.g. 11102
1 1 1 0
The digit 1 in the third position from the right represents the
value 4 and the digit 1 in the fourth position from the right
represents the value 8.
AbduSalam
Decimal Number System
Base (Radix) 10
Digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
e.g. 747510
The magnitude represented by a digit is decided by the
position of the digit within the number.
1000 100 10 1
7 4 7 5
1 6 2 3
Base (Radix) 16
Digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
A, B, C, D, E, F
e.g. 2F4D 16
2 F 4 D
0 0 0 0
1 1 1 1
2 10 2 2
3 11 3 3
4 100 4 4
5 101 5 5
6 110 6 6
7 111 7 7
AbduSalam
Quantities/Counting (2 of 3)
Hexa-
Decimal Binary Octal decimal
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
AbduSalam
Quantities/Counting (3 of 3)
Hexa-
Decimal Binary Octal decimal
16 10000 20 10
17 10001 21 11
18 10010 22 12
19 10011 23 13
20 10100 24 14
21 10101 25 15
22 10110 26 16
Etc.
23 10111 27 17
AbduSalam
Conversion Among Bases
The possibilities:
Decimal Octal
Binary Hexadec
imal
AbduSalam
Quick Example
Base
AbduSalam
Decimal to Decimal (just for fun)
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Weight
Base
AbduSalam
Binary to Decimal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Binary to Decimal
Technique
Multiply each bit by 2n, where n is the “weight” of the bit
The weight is the position of the bit, starting from 0 on the right
Add the results
AbduSalam
Example
Bit “0”
1010112 => 1 x 20 = 1
1 x 21 = 2
0 x 22 = 0
1 x 23 = 8
0 x 24 = 0
1 x 25 = 32
4310
AbduSalam
Octal to Decimal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Octal to Decimal
Technique
Multiply each bit by 8n, where n is the “weight” of the bit
The weight is the position of the bit, starting from 0 on the right
Add the results
AbduSalam
Example
7248 => 4 x 80 = 4
2 x 81 = 16
7 x 82 = 448
46810
AbduSalam
Hexadecimal to Decimal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Hexadecimal to Decimal
Technique
Multiply each bit by 16n, where n is the “weight” of the bit
The weight is the position of the bit, starting from 0 on the right
Add the results
AbduSalam
Example
AbduSalam
Decimal to Binary
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Decimal to Binary
Technique
Divide by two, keep track of the remainder
First remainder is bit 0 (LSB, least-significant bit)
Second remainder is bit 1
Etc.
AbduSalam
Example
12510 = ?2 2 125
2 62 1
2 31 0
2 15 1
2 7 1
2 3 1
2 1 1
0 1
12510 = 11111012
AbduSalam
Octal to Binary
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Octal to Binary
Technique
Convert each octal digit to a 3-bit equivalent binary representation
AbduSalam
Example
7058 = ?2
7 0 5
7058 = 1110001012
AbduSalam
Hexadecimal to Binary
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Hexadecimal to Binary
Technique
Convert each hexadecimal digit to a 4-bit equivalent binary
representation
AbduSalam
Example
10AF16 = ?2
1 0 A F
10AF16 = 00010000101011112
AbduSalam
Decimal to Octal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Decimal to Octal
Technique
Divide by 8
Keep track of the remainder
AbduSalam
Example
123410 = ?8
8 1234
8 154 2
8 19 2
8 2 3
0 2
123410 = 23228
AbduSalam
Decimal to Hexadecimal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Decimal to Hexadecimal
Technique
Divide by 16
Keep track of the remainder
AbduSalam
Example
123410 = ?16
16 1234
16 77 2
16 4 13 = D
0 4
123410 = 4D216
AbduSalam
Binary to Octal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Binary to Octal
Technique
Group bits in threes, starting on right
Convert to octal digits
AbduSalam
Example
10110101112 = ?8
1 3 2 7
10110101112 = 13278
AbduSalam
Binary to Hexadecimal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Binary to Hexadecimal
Technique
Group bits in fours, starting on right
Convert to hexadecimal digits
AbduSalam
Example
10101110112 = ?16
10 1011 1011
2 B B
10101110112 = 2BB16
AbduSalam
Octal to Hexadecimal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Octal to Hexadecimal
Technique
Use binary as an intermediary
AbduSalam
Example
10768 = ?16
1 0 7 6
2 3 E
10768 = 23E16
AbduSalam
Hexadecimal to Octal
Decimal Octal
Hexadec
Binary
imal
AbduSalam
Hexadecimal to Octal
Technique
Use binary as an intermediary
AbduSalam
Example
1F0C16 = ?8
1 F 0 C
1 7 4 1
4
1F0C16 = 174148
AbduSalam
Exercise – Convert ...
Hexa-
Decimal Binary Octal decimal
33
1110101
703
1AF
AbduSalam
Common Powers (2 of 2)
Base 2 Power Preface Symbol Value
AbduSalam
Example
In the lab…
1. Double click on My Computer
2. Right click on C:
3. Click on Properties
/ 230 =
AbduSalam