User Tools

Site Tools


notes:c4eng:fall2022:projects:dtr0

This is an old revision of the document!


BACKGROUND

Number systems are a way in which one can represent quantitative values. Certain number systems are used for certain applications.

For example, the decimal number system, also known as base-10, is our typical counting numbers used in daily math. This uses the numbers 0 through 9 to represent a given value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

BINARY NUMBERS

The prefix “bi” stands for two. This means that binary uses two numbers to count based on zeroes and ones. Computers use binary to store and manipulate data. Zeroes represents no flow of electricity, whereas one represents electricity being allowed to flow.

The binary number system, also known as base-2, is the numbers used by computers. This uses the numbers 0 and 1 to represent a given value: 000000, 000001, 000010, 000011, 000100, 000101, 000110, 000111, 001000, 001001, 001010

HEXADECIMAL NUMBERS

DATA TYPES IN C

PRINTF FORMAT SPECIFIERS

PROGRAM SPECIFICATIONS

notes/c4eng/fall2022/projects/dtr0.1662357395.txt.gz · Last modified: 2022/09/05 05:56 by rgerbino