Lecture Notes on Number Representations, Logarithms, and Algorithms

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards based on lecture notes covering number representations, logarithms, polynomial-time algorithms, and modular arithmetic.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

Base-10 Representation

Representation of an integer as a sum of powers of 10, e.g., 41025 = 4 * 10^4 + 1 * 10^3 + 0 * 10^2 + 2 * 10^1 + 5 * 10^0

2
New cards

Base-b Representation

A way to represent integers using a base b > 1, where the digits are between 0 and b-1.

3
New cards

Binary Representation

Base 2

4
New cards

Octal Representation

Base 8

5
New cards

Decimal Representation

Base 10

6
New cards

Hexadecimal Representation

Base 16. Uses digits 0-9 and letters A-F to represent values 10-15.

7
New cards

Logarithm

An inverse of an exponential function. logb(x) = y means b^y = x.

8
New cards

Base of Logarithm

The base of the logarithmic function, denoted as b in logb(x).

9
New cards

Polynomial-Time Algorithms

Algorithms with running times that are polynomial functions of the input size, e.g., (input size)^c.

10
New cards

Input Size of Integer m

The number of digits needed to represent m, proportional to log m.

11
New cards

Residue of m modulo n

The remainder when m is divided by n. Written as m mod n.