Unit 1 Digital Information 1

Unit 1 Digital Information 1

10th Grade

20 Qs

quiz-placeholder

Similar activities

Unit 1 Review

Unit 1 Review

9th - 12th Grade

17 Qs

CSP Unit 1 Review

CSP Unit 1 Review

9th - 12th Grade

15 Qs

AP CSP Unit 1 Review (code.org)

AP CSP Unit 1 Review (code.org)

10th - 12th Grade

19 Qs

Data Representation (Computer science)

Data Representation (Computer science)

9th - 12th Grade

21 Qs

Code.org Chapter 1 (2019)

Code.org Chapter 1 (2019)

9th - 12th Grade

16 Qs

1.4 Data Representation (Images)

1.4 Data Representation (Images)

9th - 11th Grade

20 Qs

GCSE Comp Sci - Unit 2 Data Part 1

GCSE Comp Sci - Unit 2 Data Part 1

10th Grade

20 Qs

Data Representation

Data Representation

10th Grade

20 Qs

Unit 1 Digital Information 1

Unit 1 Digital Information 1

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Chris Barnabei

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 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.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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 more items can be uniquely identified.

10 more items can be uniquely identified.

2 times as many items can be uniquely identified.

10 times as many items can be uniquely identified.

3.

MULTIPLE CHOICE QUESTION

30 sec • 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.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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 attempted to perform an operation that is considered an undecidable problem.

The precision of the result is limited due to the constraints of using a floating-point representation.

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

The program cannot represent integers; the integers are converted into decimal approximations, leading to rounding errors.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The player controls in a particular video game are represented by numbers. The controls and their corresponding binary values are shown in the following table. Control Binary Value ← 01000 ↑ 01001 → 01011 ↓ 01111 Jump 11000 Run 11001 Pause 11011 Reset 11111 The numeric values for the controls can also be represented in decimal (base 10). What control is represented by the decimal value 15?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

I only

I and II only

II and III only

I, II, and III

7.

MULTIPLE CHOICE QUESTION

30 sec • 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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?