[AP CSP] number systems

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

base 10

1 / 9

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

10 Terms

1

base 10

decimal; 10 digits from 0 to 9

good at performing arithmetic on small to medium sized numbers

New cards
2

base 2

binary; 2 digits which are 0 and 1

computers use binary as their native language, representing all data & instructions; well suited for electronic devices bc it’s easy to represent using voltage levels

simplifies digital logic design & is the foundation of modern computer systems

New cards
3

why is understanding how to convert between decimal and binary important?

converting can optimize storage space + design more efficient data compression algorithms; form of digital literacy

New cards
4

logic error

mistake in the algorithm or program that causes it to behave incorrectly/unexpectedly

New cards
5

syntax error

mistake in the algorithm or program where the rules of the programming language are not followed

New cards
6

runtime error

mistake in the program that occurs during the execution of a program

New cards
7

overflow error

type of RUNTIME ERROR where programs try to use numbers outside of their fixed# of bits which limits the range of integer values it can represent

New cards
8

base 16

hexadecimal; 0-9 and then A-F

often used in computing as a more human friendly repres. of binary; each hexadecimal digit = 4 bits

commonly used in programming & debugging, esp. when dealing with memory address & low level data manipulation

New cards
9

base 8

octal; fewer applications today, historically used in early systems for simplifying hardware design and programming —> replaced by hexadecimal

compact repres. on binary; each octal digit = 3 bits

each segment of an IP address is an octal

New cards
10

hexadecimal pros

compact representation (useful for large binary numbers), alignment with memory addressing, representation of data patterns (digital design), representation of color !! , system programming (registers)

New cards

Explore top notes

note Note
studied byStudied by 635 people
... ago
4.8(5)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
4.5(2)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 93 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (32)
studied byStudied by 47 people
... ago
4.0(1)
flashcards Flashcard (22)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (500)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (90)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (118)
studied byStudied by 9 people
... ago
4.0(1)
flashcards Flashcard (25)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (30)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (88)
studied byStudied by 559 people
... ago
5.0(1)
robot