Task 7 Computer Skills
Task 7 Computer Skills
TASK 7
Bit ordering
In computing, the least significant bit (LSB) is the bit position in a binary integer representing
the binary 1s place of the integer. Similarly, the most significant bit (MSB) represents the
highest-order place of the binary integer. The LSB is sometimes referred to as the low-order
bit or right-most bit, due to the convention in positional notation of writing less significant digits
further to the right. The MSB is similarly referred to as the high-order bit or left-most bit. In both
cases, the LSB and MSB correlate directly to the least significant digit and most significant digit
of a decimal integer.
Bit indexing correlates to the positional notation of the value in base 2. For this reason, the bit
index is not affected by how the value is stored on the device, such as the value's byte order.
Rather, it is a property of the numeric value in the binary itself. This is often utilized in
programming via bit shifting: A value of 1 << n corresponds to the nth bit of a binary integer
(with a value of 2n).
Hexadecimal notation
Hexadecimal notation is a numbering system that uses a base (radix) of 16. Unlike decimal
notation (base 10) or binary notation (base 2), uses 16 digits: 0,1,2,3, 4, 5, 6, 7,8, 9, A, B, C, D,
E, and F. Programmers use it as a convenient way to represent binary notation, which is difficult
to read and prone to error when manipulated by humans. The two notational systems are easily
translated into one another because 16 is a power of 2. In contrast, decimal numbers are more
difficult to translate into binary numbers because they are in base 10, and they are not a power of
2. So also each hexadecimal number can represent 16 quantities, and a single hexadecimal
number can stand for four binary digits (for example, 1111 [15 in decimal] = F [hexadecimal]).
See binary notation, byte, decimal notation, and octal notation.
Technipages Explains Hexadecimal Notation
Hexadecimal is a numbering system used by programmers to simplify the binary numbering
system. Using and understanding the binary numbering system can sometimes be hard for
programmers to use, as computers use binaries, but programmers use the hexadecimal numbering
system to simplify the binary codes. The notation is in base 16, and it is made up of 16 digits: 0 –
9 and six more, which is A through to F.
In the binary system, 16 is equivalent to 24, and there is a linear relationship between the
numbers 2 and 16, hence, the relationship between the binary notation and the hexadecimal
notation. It means that one hexadecimal digit is equivalent to four binary digits. It can be used to
write large binary codes in simple digits, making it more human-friendly.
Hexadecimal is a helpful method to express binary numbers in present-day PCs in which a byte
is quite often characterized as containing eight binary digits. When demonstrating the substance
of PC stockpiling, one hexadecimal digit can speak to the course of action of four binary digits.
Two hexadecimal digits can speak to eight binary digits or a byte.
Common Uses of Hexadecimal Notation
You can use StandardColors or common color codes: hexadecimal notation
To include arbitrary characters into a string using octal or hexadecimal notation.
The decimal number “10” in hexadecimal notation, is “A”.
Common Misuses of Hexadecimal Notation
Hexadecimal Notations were used to write poetic letters in the early days of human
evolution
Merits of Hexadecimal notation
The main advantage of using Hexadecimal numbers is that it uses less memory to store more
numbers, for example, they store 256 numbers in two digits whereas decimal number stores 100
numbers. This number system is also used to represent Computer memory addresses. It uses only
4 bits to represent any digit in binary and is easy to convert from hexadecimal to binary and vice-
versa. It is easier to handle input and output in the hexadecimal form. There is a wide number of
advantages in the data science field, artificial intelligence, and machine learning.
The major disadvantage of the Hexadecimal number system is that it may not an easy to read and
write for people, and also difficult to perform operations like multiplications, and divisions using
a hexadecimal number system. Hexadecimal numbers are the most difficult number system for
dealing with Computer data.
Characters
Computers work in binary. As a result, all characters, whether they are letters, punctuation, or
digits are stored as binary numbers. All of the characters that a computer can use are
called character sets.
Two standard character sets in common use are:
ASCII code
ASCII uses seven bits, giving a character set of 128 characters. The characters are represented in
a table, called the ASCII table. The 128 characters include:
Extended ASCII
Extended ASCII uses eight bits, giving a character set of 256 characters. This allows for special
characters such as those with accents in languages such as French and Spanish.
Unicode
While suitable for representing English characters, 256 characters are far too small to hold every
character in other languages, such as Chinese or Arabic. Unicode uses 16 bits, giving a range of
over 65,000 characters. This makes it more suitable for those situations.