AP CSP

Ace your homework & exams now with Quizwiz!

0001 + 0001

0010

1001 + 0111 (Answer in 5 Place Values)

10000

1100 + 0101 (Answer in 5 Place Values)

10001

0100 + 0101

1001

Each student that enrolls at a school is assigned a unique ID number, which is stored as a binary number. The ID numbers increase sequentially by 1 with each newly enrolled student. If the ID number assigned to the last student who enrolled was the binary number 1001 0011, what binary number will be assigned to the next student who enrolls?

1001 0100

10101 + 01111

100100

What are the three binary numbers equivalent to 75, 0, and 130 respectively?

1001011, 0, and 10000010

1000 + 0011

1011

An online store uses 6-bit binary sequences to identify each unique item for sale. The store plans to increase the number of items it sells and is considering using 7-bit binary sequences. Which of the following best describes the result of using 7-bit sequences instead of 6-bit sequences?

2 times as many items can be uniquely identified.

How many times bigger is a 128-bit address than a 32-bit address?

2^96

What are the decimal equivalents of the binary numbers 0011, 0110, and 1111?

3, 6, and 15

What is the decimal number equivalent to the binary number 1001010?

74

If a programmer tries to add decimal numbers 14 and 15 using a binary system with only four bits, what will the result be?

An overflow error will occur because 4 bits is not large enough to represent either of the values 14 or 15.

List the following numbers in order from least to greatest:-Binary 1011-Binary 1101-Decimal 5-Decimal 12

Decimal 5,binary 1011,decimal 12,binary 1101

The position of a runner in a race is a type of analog data. The runner's position is tracked using sensors. Which of the following best describes how the position of the runner is represented digitally?

The position of the runner is sampled at regular intervals to approximate the real-word position, and a sequence of bits is used to represent each sample.

In a certain computer program, two positive integers are added together, resulting in an overflow error. Which of the following best explains why the error occurs?

The program can only use a fixed number of bits to represent integers; the computed sum is greater than the maximum representable value.

Which of the following are true statements about the data that can be represented using binary sequences?

They can be used to represent strings of characters, colors, and audio recordings.

Can 8 different patterns of bits be represented by 4 bits?

yes


Related study sets

Chapter 4: Physiological Aspects of Antepartum Care by Durham & Chapman

View Set

Lesson 1 Management of Care Questions

View Set

NUR 204 ATI Safety and Infection Control Ch. 10-15

View Set

Prevention and Care Test Questions

View Set

Consumer Behavior Chapters 1-9, 14, 15

View Set

AP Psychology Module 23 Launchpad

View Set