Prelude to Programming: Chapter 2- Data Representation

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Positive/zero/negative mix

What does it mean when integers are said to be signed?

All nonnegative

What does it mean when integers are said to be unsigned?

000000

What hexadecimal digit represents the color black?

0000FF

What hexadecimal digit represents the color blue?

00FF00

What hexadecimal digit represents the color green?

FF0000

What hexadecimal digit represents the color red?

FFFFFF

What hexadecimal digit represents the color white?

A

What is 10 in hexadecimal?

B

What is 11 in hexadecimal?

C

What is 12 in hexadecimal?

D

What is 13 in hexadecimal?

E

What is 14 in hexadecimal?

F

What is 15 in hexadecimal?

Bit

What is a single binary digit called?

5

What is the base in the following: 5^2

2

What is the exponent in the following: 5^2

Base 10 System

What type of system is the decimal system?

Negative

When an exponent is in the denominator of a fraction, it is considered to be a ________ exponent.

Overflow

When an unsigned integer that is bigger than the maximum unsigned value that can be handled by the computer is attempted to be stored, this condition occurs

two-eight-A

How is 28A read in the hexadecimal system?

4

How many bits are in a single hexadecimal digit?

10

In binary, what is 1 plus 1?

110

In binary, what is 101 + 1?

100

In binary, what is 11 + 1?

One's complement method

In this method, positive integers are represented as the would be in sign-and-magnitude format. The leftmost bit is still used to represent the sign (i.e. -,+)

Range

The span of numbers, from the smallest to the largest, that can be represented

Absolute value

The value of the number without its sign

Binary Notation

This handles enormous strings of data, which is all represented in 0's and 1's

Binary point

This has the same function as a point. The only difference is that this is used with binary numbers

Magnitude

This is a number's absolute value

Point

This is the name of the dot between the integer and the fraction

Floating point number

This number has both an integer part and a fractional part

Unsigned form of an integer

This occurs when 0's are added to the left of a number in order to fill up the memory needed for a memory location

Sign and magnitude format

This provides a way to represent negative integers. The left-most bit represents the symbol (i.e. -, +)

Decimal System

This system uses a base of 10

Complement

To do this to a binary digit, you change a 1 to a 0, or a 0 to a 1

0-9/A-F

What are the hexadecimal digits?

Base 10 System

A number system in which all numbers are expressed using the digits 0-9

Hexadecimal Notation

A number system that uses 16 digits to represent numbers; also called a base 16 number system

Binary System

A system in which numbers are represented using only the digits 0 and 1

Two's complement

A system used in some computers to represent negative numbers in binary. Each bit of the number is inverted (zeros are replaced with ones and vice versa), as for ones complement, but then one (000...0001) is added (ignoring overflow). This avoids the two representations for zero found in ones complement by using all ones to represent -1.

Expanded Notation

A way of writing numbers in which the numbers are written to show the place value of each digit (639 = 600 + 30 + 9)

Hexadecimal System

Base-16 number system. Hexadecimal numbers are written with sixteen digits, 0-9 and A-F, with power-of-16 positional multipliers


संबंधित स्टडी सेट्स

AP Gov Ch 8: Political Participation

View Set

ATMS 1001 Final Review (Leppert) (ULM)

View Set