4.1.3
Representing Numbers
Binary
Binary
In everyday life, we use the denary number system. Computers use binary instead.
Denary
Denary
- In everyday life, we use a denary number system.
- We use 10 symbols to represent each digit.
- Each digit's place value is multiplied by 10 as we move from right to left.
Binary
Binary
- Binary is an identical system, except using two symbols for each digit.
- Only 1 and 0 are used in binary.
- Each digit's place value is multiplied by two as we move from right to left.
Hexadecimal
Hexadecimal
- Hexadecimal uses 16 different symbols for each place.
- Hexadecimal uses the digits 0-9 then A-F:
- A = 10 in denary, B = 11 ...
- Each digit's place value is multiplied by 16 as we move from right to left.
Sign and Magnitude
Sign and Magnitude
Sign and magnitude is a method of differentiating between positive and negative binary numbers
Most significant bit
Most significant bit
- In sign and magnitude representation, the first bit in any byte is called the ‘most significant bit’ (MSB).
- The MSB determines whether it is a positive or a negative number.
- If the MSB is a 0, the number is positive.
- If the MSB is a 1, the number is negative.
Example
Example
- For example:
- 00000100 represents the number 4
- 10000100 represents the number -4
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Jump to other topics
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Unlock your full potential with GoStudent tutoring
Affordable 1:1 tutoring from the comfort of your home
Tutors are matched to your specific learning needs
30+ school subjects covered