← CodeChallenge.com

Coding · Facts & stats

Code facts & stats

8 fact-checked facts about computer code and programming, each with the reason behind it. 4 more are in today's round and join this page after it closes.

Play today's round

The basics

In software, what is a bug?

AnswerAn error or flaw that causes wrong behavior

A bug is a mistake in code or design that makes a program behave unexpectedly.

Which two digits does binary use?

Answer0 and 1

Binary is base 2, representing all values with just 0s and 1s.

Going deeper

How many bits are in a byte?

Answer8

A byte is 8 bits, enough to represent 256 different values.

What does IDE stand for?

AnswerIntegrated development environment

An IDE bundles an editor, build tools and a debugger in one application.

In languages like C, Java and Python, what index does the first element of an array have?

Answer0

These languages use zero-based indexing, so the first element is at index 0.

What does CSS stand for?

AnswerCascading Style Sheets

CSS controls the look of web pages, such as colors, fonts and layout.

Expert level

What is the decimal value of binary 1010?

Answer10

Binary 1010 is 8 + 0 + 2 + 0, which equals 10.

Ada Lovelace wrote what is often called the first published algorithm for which machine?

AnswerThe Analytical Engine

In 1843 Lovelace published notes including an algorithm for Charles Babbage's proposed Analytical Engine.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round