Binary

Binary

12th Grade

16 Qs

quiz-placeholder

Similar activities

AP CSP Unit 1 Vocab (Code.org)

AP CSP Unit 1 Vocab (Code.org)

9th - 12th Grade

12 Qs

Premiere Pro CC File Formats

Premiere Pro CC File Formats

6th Grade - University

12 Qs

CS-P  Unit 2 Test

CS-P Unit 2 Test

10th - 12th Grade

21 Qs

APCSP - Unit 1 Review

APCSP - Unit 1 Review

10th - 12th Grade

15 Qs

Overall Review

Overall Review

9th - 12th Grade

20 Qs

Crash Course Computer Science #21 - Compression

Crash Course Computer Science #21 - Compression

9th - 12th Grade

17 Qs

GCSE Computer Science Data Rep Pre Test Help

GCSE Computer Science Data Rep Pre Test Help

12th Grade

18 Qs

CSP Unit 2: The Internet - Review

CSP Unit 2: The Internet - Review

9th - 12th Grade

20 Qs

Binary

Binary

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Ms Seccafico

Used 21+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 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

3.

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

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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 determined by calculating the time difference between the start and the end of the race and making an estimation based on the runner’s average speed.

The position of the runner is measured and rounded to either 0 or 1 depending on whether the runner is closer to the starting line or closer to the finish line.

The position of the runner is predicted using a model based on performance data captured from previous races.

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.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is an advantage of a lossless compression algorithm over a lossy compression algorithm?

A lossless compression algorithm can guarantee that compressed information is kept secure, while a lossy compression algorithm cannot.

A lossless compression algorithm can guarantee reconstruction of original data, while a lossy compression algorithm cannot.

A lossless compression algorithm typically allows for faster transmission speeds than does a lossy compression algorithm.

A lossless compression algorithm typically provides a greater reduction in the number of bits stored or transmitted than does a lossy compression algorithm.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A user wants to save a data file on an online storage site. The user wants to reduce the size of the file, if possible, and wants to be able to completely restore the file to its original version. Which of the following actions best supports the user’s needs?

Compressing the file using a lossless compression algorithm before uploading it

Answer A: Compressing the file using a lossless compression algorithm before uploading it

Compressing the file using a lossy compression algorithm before uploading it

Compressing the file using both lossy and lossless compression algorithms before uploading it

Uploading the original file without using any compression algorithm

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A programmer is developing software for a social media platform. The programmer is planning to use compression when users send attachments to other users. Which of the following is a true statement about the use of compression?

Lossless compression of video files will generally save more space than lossy compression of video files.

Lossless compression of an image file will generally result in a file that is equal in size to the original file.

Lossy compression of an image file generally provides a greater reduction in transmission time than lossless compression does.

Sound clips compressed with lossy compression for storage on the platform can be restored to their original quality when they are played.

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?