AP CSP Binary Numbers (2.1)

AP CSP Binary Numbers (2.1)

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Inspire - AI Trivia

Inspire - AI Trivia

11th Grade

10 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

Numeracion y electricidad

Numeracion y electricidad

11th Grade

10 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

AP CSP Binary Numbers (2.1)

AP CSP Binary Numbers (2.1)

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Herman Galioulline

Used 106+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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.

I only

I and II only

II and III only

I, II, and III

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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?

3

6

9

15

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider the following numeric values.

Binary 1011

Binary 1101

Decimal 5

Decimal 12

Which of the following lists the values in order from least to greatest?

Decimal 5, binary 1011, decimal 12, binary 1101

Decimal 5, decimal 12, binary 1011, binary 1101

Decimal 5, binary 1011, binary 1101, decimal 12

Binary 1011, binary 1101, decimal 5, decimal 12

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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?

The correct sum of 29 will be assigned to the variable total.

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

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

A round-off error will occur because the decimal values 14 and 15 are represented as approximations due to the fixed number of bits used to represent numbers.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A video game character can face toward one of four directions: north, south, east, and west. Each direction is stored in memory as a sequence of four bits. A new version of the game is created in which the character can face toward one of eight directions, adding northwest, northeast, southwest, and southeast to the original four possibilities. Which of the following statements is true about how the eight directions must be stored in memory?

Four bits are not enough to store the eight directions. Five bits are needed for the new version of the game.

Four bits are not enough to store the eight directions. Eight bits are needed for the new version of the game.

Four bits are not enough to store the eight directions. Sixteen bits are needed for the new version of the game.

Four bits are enough to store the eight directions.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?