answersLogoWhite

0

Hexadecimal is commonly used in comoputing to represent a memory byte.

User Avatar

Wiki User

17y ago

What else can I help you with?

Continue Learning about Engineering

How many five digit hexadecimal strings are there?

Considering the lowest five digit hexadecimal number is 10000 (65,536) and the highest is FFFFF (1,048,575), there are 983,040 different hexadecimal numbers that are five digits.


What is the hexadecimal numbers for 66?

42


What is IC 74154?

hexadecimal decoder


What is the hexadecimal of 990?

990 = 3DE


Write a program that prints a table of the binary octal and hexadecimal equivalents of the decimal numbers in the range 1 through to 256?

import java.util.Scanner; public class NumberSystem { public void displayConversion() { Scanner input = new Scanner(System.in); System.out.printf("%-20s%-20s%-20s%-20s\n", "Decimal", "Binary", "Octal", "Hexadecimal"); for ( int i = 1; i <= 256; i++ ) { String binary = Integer.toBinaryString(i); String octal = Integer.toOctalString(i); String hexadecimal = Integer.toHexString(i); System.out.format("%-20d%-20s%-20s%-20s\n", i, binary, octal, hexadecimal); } } // returns a string representation of the decimal number in binary public String toBinaryString( int dec ) { String binary = " "; while (dec >= 1 ) { int value = dec % 2; binary = value + binary; dec /= 2; } return binary; } //returns a string representation of the number in octal public String toOctalString( int dec ) { String octal = " "; while ( dec >= 1 ) { int value = dec % 8; octal = value + octal; dec /= 8; } return octal; } public String toHexString( int dec ) { String hexadecimal = " "; while ( dec >= 1 ) { int value = dec % 16; switch (value) { case 10: hexadecimal = "A" + hexadecimal; break; case 11: hexadecimal = "B" + hexadecimal; break; case 12: hexadecimal = "C" + hexadecimal; break; case 13: hexadecimal = "D" + hexadecimal; break; case 14: hexadecimal = "E" + hexadecimal; break; case 15: hexadecimal = "F" + hexadecimal; break; default: hexadecimal = value + hexadecimal; break; } dec /= 16; } return hexadecimal; } public static void main( String args[]) { NumberSystem apps = new NumberSystem(); apps.displayConversion(); } }

Related Questions

What number bases are most commonly used in computers?

binary and hexadecimal


What is the meaning of the sequence 1a0001?

#1a0001 is a hexadecimal color, used commonly to make text or background on a webpage a certain color. It is a very deep red, almost black color. #000000 is the hexadecimal code for black, which would be more commonly used.


How many digits are used in the hexadecimal system?

The hexadecimal system is base 16.


What are hexadecimal numbers?

hexadecimal numbers are the a positional numeral system with a radix, or base, of 16.16 distinct symbols are used in the hexadecimal numbers.


What letter is used to represent the number 11 in hexadecimal?

The number 11, (in hexadecimal) is the letter 'b'


What are some areas where the hexadecimal system is used?

A hexidecimal numeral system is most commonly used by software designers for computer systems. This is due to the need to group numbers together in computers.


What is n in the hexadecimal?

n isn't used in the hexadecimal system, any more than it's used in decimal (everyday) numbers.


What are the advantage of hexadecimal numbering system?

Each hexadecimal digit represents four binary digits (bits) (also called a "nibble"), and the primary use of hexadecimal notation is as a human-friendly representation of values in computing and digital electronics. For example, binary coded byte values can range from 0 to 255 (decimal) but may be more conveniently represented as two hexadecimal digits in the range 00 through FF. Hexadecimal is also commonly used to represent computer memory adresses.


What is a hexdecimal system?

That is "hexadecimal". The decimal system we often used is based on powers of 10 (each place-value is worth 10 times as much as the one to the right); the hexadecimal system is based on powers of 16, and therefore needs 16 different digits. The "digits" commonly used are the digits 0-9, the "A" for 10, "B" for 11, ... "F" for 15.This is commonly used in computers, as a sort of shorthand for writing binary (base-2) numbers.


Who invented hexadecimal and when?

The first use of the term hexadecimal dates to 1954. It is unclear who invented the current hexadecimal notation - most likely IBM. Not all computers used hexadecimal until the end of the 70s or later. Hewlett-Packard continued to use octal instead of hexadecimal until after 1980.


What are hexadecimals?

hexadecimal numbers are the a positional numeral system with a radix, or base, of 16.16 distinct symbols are used in the hexadecimal numbers.


How is Hexadecimal values used in a webpage?

god knows