Computer Science Project

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 5

HEXADECIMAL USES

BY: FARAN AHMAD_S150515_9-A


WHAT ARE ERROR CODES?
In computer programming, a return code or an error code is a numbered or alphanumeric
code that is used to determine the nature of an error, and why it occurred.

IT’S EASY TO CONVERT NUMBERS FROM ONE RADIX TO ANY OTHER, AND MOST CALCULATORS, OR
EVEN GOOGLE, CAN DO IT FOR YOU WITHOUT NEEDING TO UNDERSTAND HOW.

OFTEN, WHEN ERRORS OCCUR, THE PASSAGE OF CODE THAT EMITS THE ERROR MESSAGE WANTS TO BE
AS SMALL AS POSSIBLE, AND ALSO TO BE RELIANT ON AS LITTLE OTHER CODE AS POSSIBLE. THE CODE
TO CREATE PRINTABLE STRINGS IN HEX IS TRIVIAL, AND MUCH EASIER THAN IN ANY OTHER RADIX, SO
IT CAN BE DONE WITH VERY LITTLE HELPER CODE FROM LIBRARIES AND SUCH.
WHAT IS A MAC ADDRESS

 A media access control address (MAC address) is a unique identifier assigned to a


network interface controller (NIC) for use as a network address in communications
within a network segment.
 MAC Address is a 12-digit hexadecimal number (6-Byte binary number), which is
mostly represented by Colon-Hexadecimal notation. First 6-digits of MAC Address
identifies the manufacturer, called as OUI (Organizational Unique Identifier)
 The rightmost six digits represents Network Interface Controller, which is assigned by
manufacturer.
EXPLANATION OF IPV6 AND HTML COLOUR CODES

IPv6 HTML Color codes


 Internet Protocol version 6 (IPv6) is the most recent  HTML colour codes are hexadecimal triplets
version of the Internet Protocol (IP), the representing the colours red, green, and blue
communications protocol that provides an (#RRGGBB).
identification and location system for computers on
 These colour codes can change the colour of the
networks and routes traffic across the Internet. IPv6
was developed by the Internet Engineering Task Force background, text, and tables on a web page.
(IETF) to deal with the long-anticipated problem of  Hex colour codes start with a pound sign or hashtag
IPv4 address exhaustion. (#) and are followed by six letters and/or numbers.
 IPv6 addresses are 128 bits in length and written as a The first two letters/numbers refer to red, the next
string of hexadecimal digits. Every 4 bits can be two refer to green, and the last two refer to blue. The
represented by a single hexadecimal digit, for a total of color values are defined in values between 00 and FF
32 hexadecimal values (instead of from 0 to 255 in RGB).

You might also like