Number Systems - Foundations of Computer Science

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

Flashcards covering concepts of number systems, including positional and non-positional systems, decimal, binary, hexadecimal, and octal systems, and conversion methods between these bases.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Number System

Defines how a number can be represented using distinct symbols.

2
New cards

Positional Number System

A system where the position a symbol occupies in the number determines the value it represents.

3
New cards

Non-positional Number System

A system where the position a symbol occupies in the number normally bears no relation to its value, and the value of each symbol is fixed. The total value is typically found by adding the values of all symbols.

4
New cards

Base (Radix)

The number of distinct symbols or digits used in a positional number system.

5
New cards

Decimal System

A positional number system with base b = 10, using ten symbols: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}.

6
New cards

Binary System

A positional number system with base b = 2, using two symbols: {0, 1}. Its symbols are often referred to as 'bits'.

7
New cards

Hexadecimal System

A positional number system with base b = 16, using sixteen symbols: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F}, where A-F represent values 10-15 respectively.

8
New cards

Octal System

A positional number system with base b = 8, using eight symbols: {0, 1, 2, 3, 4, 5, 6, 7}.

9
New cards

Bits (Binary Digits)

The symbols {0, 1} used in the binary system.

10
New cards

Conversion (Any Base to Decimal)

To convert a number from any base to decimal, multiply each digit by its corresponding place value (power of the base) and sum the results.

11
New cards

Conversion (Decimal Integer to Any Base)

To convert a decimal integer to another base, continuously divide the decimal number by the destination base, recording the remainders. The result is the sequence of remainders from last to first.

12
New cards

Conversion (Decimal Fractional Part to Any Base)

To convert a decimal fraction to another base, continuously multiply the fractional part by the destination base, recording the integral part of each result. The result is the sequence of integral parts from first to last.

13
New cards

Binary-Hexadecimal Conversion

Binary numbers can be converted to hexadecimal by grouping bits into patterns of four, starting from the decimal point, and then converting each 4-bit pattern to its hexadecimal equivalent.

14
New cards

Binary-Octal Conversion

Binary numbers can be converted to octal by grouping bits into patterns of three, starting from the decimal point, and then converting each 3-bit pattern to its octal equivalent.

15
New cards

Roman Numerals

A non-positional number system example where symbols (I, V, X, L, C, D, M) have fixed values, but with specific rules for interpretation (e.g., IV = 4, VI = 6) that introduce exceptions to simple addition.

16
New cards

Minimum Number of Digits (K)

The minimum number of digits 'K' required to represent a decimal number 'N' in a specific base 'b' is given by K = ⌈logb N⌉.

17
New cards

Minimum Digits (Cross-Base Conversion)

The minimum number of digits 'x' needed in a destination base 'b2' to represent numbers up to 'k' digits in a source base 'b1' is given by x = ⌈k × (logb1 / logb2)⌉.