We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [hexadecimal]

Hexadecimal, also known as base 16, is a number counting system using the digits 0—9 and A—F. Use this tag for challenges related to hexadecimal.

Filter by
Sorted by
Tagged with
46
votes
58answers
3k views

Print the f × f times table

Your task is to print the hexidecimal times table: ...
23
votes
32answers
2k views

Convert a number to Hexadecimal

Challenge Here's a simple one. Write a function or program when given a number in base 10 as input, it will return or print that number's value in Hexadecimal. Examples ...
42
votes
48answers
5k views

Numbers that are actually letters

Given a non-negative integer input, write a program that converts the number to hexadecimal and returns a truthy value if the hexadecimal form of the number contains only the characters ...
10
votes
35answers
5k views

Hexadecimal Counter

Hexadecimal is a base 16 counting system that goes from 0 to f. Your job is to make a counter that will display these numbers. ...
30
votes
15answers
1k views

Output the HTML colors

The 16-color CGA palette (also known as the HTML colors) is a set of 16 colors used by early graphics adapters. The goal of this challenge is to output all 16 of them, in hex format (...
20
votes
32answers
3k views

Swap the Endianness

As most of you probably know, (byte-addressable) hardware memories can be divided into two categories - little-endian and big-endian. In little-endian memories the bytes are numbered starting with 0 ...
-2
votes
1answer
208 views

Generate a hexdump of a file! [duplicate]

In this task, your goal is to write a program for generating hexdumps of files of arbitrary types. Input The input consists of a (relative or absolute) path to the file to be processed. It may be ...