Big Idea 2 Flashcards
What is all digital data represented by at the lowest level?
bits (binary digits)
What can bits be grouped to represent?
Abstractions such as numbers, characters, and color.
What are number bases such as binary and hexadecimal used to represent?
They are used to represent and investigate digital data.
At the lowest levels of abstraction, digital data is represented in binary (base 2), represented using combinations of what to digits?
0 and 1.
Why is hexadecimal (base 16) used to represent digital data?
It is used because hexadecimal representation uses fewer digits than binary.
Can numbers be converted from any base to another base?
Yes.
What representation is used to model the infinite mathematical concept of a number?
A finite one.
What limitation in programming languages can result in overflow or other errors?
The fixed number of bits used to represent characters or integers which limits the range of integer values and mathematical operations.
What limitation in programming languages can result in round off and other errors?
The fixed number of bits used to represent real numbers (as floating-point numbers) which limits the range of floating-point values and mathematical operations.
What might a sequence of bits represent?
Instructions or data (different types of data can be used in different contexts).
What does the developing of an abstraction involve?
It involves the removing of details and generalizing functionality.
What does an abstraction accomplish?
An abstraction generalizes functionality with input parameters that allow software reuse.
What are five ways in which one could express an abstraction?
Constants, expressions statements, procedures, and libraries.
What do different programming languages offer?
Different levels of abstraction.
What do high-level programming languages typically offer?
They provide more abstractions for the programmer and make it easier for people to read and write a program.