Computer Science 50 Flashcards Advanced 100% Free

AP - Computer Science Principles:: Data

Created by Chat Robotics Community  ·  Updated 2026-08-31

Curriculum Overview

Topics & Key Concepts

Ap Computer Science Principles

Sample Flashcard Questions & Answers

Showing 8 of 50 cards
Question #1 Active Recall

What is a BIT, the most fundamental unit of digital information?

- **A)** A group of exactly 8 binary digits
- **B)** A single binary digit that can hold exactly one of two possible values: 0 or 1
- **C)** A synonym for an entire computer program
- **D)** A unit that can hold any one of 10 possible values (0-9)

Answer & Explanation:
**Answer: B)**

The bit (binary digit) is the smallest unit of digital information, representing one of exactly two states.
Question #2 Active Recall

What is a BYTE?

- **A)** A single binary digit (0 or 1)
- **B)** A group of exactly 1,000 bits
- **C)** A synonym for a pixel
- **D)** A group of 8 bits, commonly used as a standard unit for measuring data size

Answer & Explanation:
**Answer: D)**

A byte (8 bits) is a standard grouping used throughout computing for representing characters, small numbers, and as a basic unit for measuring data/file sizes.
Question #3 Active Recall

Why do computers represent ALL data (numbers, text, images, sound, video) using BINARY (0s and 1s), rather than some other number system?

- **A)** Computers are physically incapable of representing more than two total pieces of information ever
- **B)** Binary can only be used for representing whole numbers, never any other kind of data
- **C)** Digital electronic circuits can most easily and reliably distinguish between just two physical states (e.g., 'on/off' or 'high voltage/low voltage'), making binary a natural and robust fit for digital hardware
- **D)** Binary was chosen purely by historical accident and has no technical advantage over other systems

Answer & Explanation:
**Answer: C)**

The reliability of distinguishing just two clear physical states (rather than many finely-graded ones) is the core reason binary became the standard representation for digital systems.
Question #4 Active Recall

How many DIFFERENT values can be represented using a group of \(n\) bits?

- **A)** Exactly \(n\) different values
- **B)** \(2^n\) different values
- **C)** \(n^2\) different values
- **D)** \(10^n\) different values

Answer & Explanation:
**Answer: B)**

Each additional bit DOUBLES the number of representable values, since each bit independently can be either 0 or 1: \(2 \times 2 \times ... \times 2\) (n times) = \(2^n\).
Question #5 Active Recall

How many different values can be represented using exactly 1 BYTE (8 bits)?

- **A)** \(8\)
- **B)** \(64\)
- **C)** \(16\)
- **D)** \(256\)

Answer & Explanation:
**Answer: D)**

\(2^8 = 256\) different values can be represented using 8 bits -- this is why a single byte can represent values from 0 to 255.
Question #6 Active Recall

What is DATA COMPRESSION?

- **A)** Encoding data using FEWER bits than its original representation, in order to reduce file size for storage or transmission
- **B)** A process that always increases a file's total size
- **C)** A technique that only applies to text files, never to images, audio, or video
- **D)** A synonym for encryption

Answer & Explanation:
**Answer: A)**

Compression reduces the number of bits needed to represent data, which is especially valuable for storage space and transmission speed/bandwidth.
Question #7 Active Recall

What is the difference between LOSSLESS and LOSSY data compression?

- **A)** LOSSLESS compression allows the original data to be perfectly reconstructed with NO information lost, while LOSSY compression permanently discards SOME information to achieve smaller file sizes, meaning the original cannot be perfectly recovered
- **B)** Lossless compression can only ever be applied to image files, never to any other data type
- **C)** Lossless and lossy compression always produce identical results with no meaningful difference
- **D)** Lossy compression always produces LARGER files than the original, uncompressed data

Answer & Explanation:
**Answer: A)**

This distinction matters practically: lossless is essential when perfect accuracy is required (e.g., text documents, program code), while lossy is often acceptable for media (e.g., photos, music) where a small quality reduction is an acceptable trade-off for a much smaller file.
Question #8 Active Recall

Why might LOSSY compression be considered ACCEPTABLE for a photograph, but generally NOT acceptable for a text document or computer program's source code?

- **A)** A photograph can often lose some fine visual detail while still looking acceptable to the human eye, but text or program code requires every single character to be EXACTLY correct -- even one incorrect character could change a word's meaning or make code fail to run
- **B)** Text documents are physically impossible to compress using any method
- **C)** Lossy compression is always equally acceptable for every single type of data, with no meaningful difference
- **D)** Photographs can never be compressed using any lossy technique

Answer & Explanation:
**Answer: A)**

The acceptability of lossy compression depends heavily on whether small, imperceptible inaccuracies are tolerable for that particular type of data -- true for many images/audio, but not for precise text or code.

Want to study all 50 flashcards with spaced repetition?

Practice with Anki-style scheduling, Hands-Free audio commute mode, and AI Tutor explanations.

Start Studying Full Deck Now

How You Can Study This Deck on Chat Robotics

Anki Spaced Repetition (SRS)

Algorithms schedule review intervals automatically so you retain 90%+ in minimum study time.

Hands-Free Audio Commute Mode

High-fidelity Neural Text-To-Speech reads questions and answers aloud with customizable delay timers.

Built-in AI Tutor Assistant

Stuck on a tricky concept? Click "Ask AI" on any card to receive instant deep-dive step-by-step explanations.

Subdeck & Tag Organization

Organize and filter by topic tags or drill entire subdeck hierarchies sequentially in Subdeck Scheduler.