College Board CSP 2.1 Binary Numbers

College Board CSP 2.1 Binary Numbers

Assessment

Flashcard

Information Technology (IT)

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

6 questions

Show all answers

1.

FLASHCARD QUESTION

Front

A Certain programming language uses 4-bit binary sequences to represent nonnegative integers. For example, the binary sequence 0101 represents the corresponding decimal value 5. Using this programming language, a programmer attempts to add the decimal values 14 and 15 and assign the sum to the variable total. Which of the following best describes the result of this operation?

Back

An overflow error will occur because 4 bits is not large enough to represent 29, the sum of 14 and 15.

2.

FLASHCARD QUESTION

Front

A video game character can face toward one of eight directions: north, south, east, west, northwest, northeast, southwest, and southeast. How must the eight directions be stored in memory?

Back

Four bits are enough to store the eight directions.

3.

FLASHCARD QUESTION

Front

Which of the following are true statements about the data that can be represented using binary sequences? I. Binary sequences can be used to represent strings of characters. II. Binary sequences can be used to represent colors. III. Binary sequences can be used to represent audio recordings.

Back

I, II, and III

4.

FLASHCARD QUESTION

Front

Consider the 4-bit binary numbers 0011, 0110, and 1111. Which of the following decimal values is NOT equal to one of these binary numbers? Options: 3, 6, 9, 15

Back

9

5.

FLASHCARD QUESTION

Front

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?

Back

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

6.

FLASHCARD QUESTION

Front

Which of the following lists the values in order from least to greatest? Binary 1011 Binary 1101 Decimal 5 Decimal 12

Back

Decimal 5, binary 1011, decimal 12, binary 1101