AP Comp Sci Principles

studied byStudied by 42 people
0.0(0)
Get a hint
Hint

Bit

1 / 80

flashcard set

Earn XP

Description and Tags

81 Terms

1

Bit

  • A contraction of “Binary Digit”

  • The single unit of information in a computer

New cards
2

Byte

8 bits

New cards
3

Overflow Error

Error from attempting to represent a number that is too large

New cards
4

Round-off Error

  • Error from attempting to represent a number that is too precise

  • Value is rounded

New cards
5

Analog Data

  • Data with values that change continuously, or smoothly, over time

  • Ex: music, colors of a painting, or position of a sprinter during a race

New cards
6

Digital Data

Data that changes discreetly through a finite set of possible values

New cards
7

Sampling

A process for creating a digital representation of analog data by measuring the analog data at regular intervals called samples

New cards
8

Lossless Compression

  • A process for reducing the number of bits needed to represent something without losing any information

  • Reversible

New cards
9

Lossy Compression

  • A process for reducing the number of bits needed to represent something in which some information is lost or thrown out

  • Not reversible

New cards
10

Binary

A way of representing information using only two options

New cards
11

Creative Commons

A collection of public copyright licenses that enable the free distribution of an otherwise copywriter work, used when an author wants to give people the right to share, use, and build upon a work that they have created

New cards
12

Data Compression

A process for reducing the number of bits needed to represent a piece of information

New cards
13

Decimal

A system for representing numbers using combinations of digits 0-9

New cards
14

Intellectual Property

A work or invention that is the result of creativity, such as a piece of writing or a design, to which one has rights and for which one may apply for a patent, copyright, trademark, etc.

New cards
15

Open Access

Online research output free of any and all restriction on access and free of many restrictions on use license restrictions

New cards
16

Open Source

Programs that are made freely available and may be redistributed and modified

New cards
17

Computing Device

A machine that can run a program, including computers, tablets, servers, routers, and smart sensors

New cards
18

Computing System

A group of computing devices and programs working together for a common purpose

New cards
19

Computing Network

A group of interconnected computing devices capable of sending or receiving data

New cards
20

Path

The series of connections between computing devices on a network starting with a sender and ending with a receiver

New cards
21

Bandwidth

The maximum amount of data that can be sent in a fixed amount of time, usually measured in bits per second

New cards
22

Protocol

An agreed-upon set of rules that specify the behavior of some system

New cards
23

IP Address

The unique number assigned to each device on the internet

New cards
24

Internet Protocol (IPP)

A protocol for sending data across the Internet that assigns unique numbers (IP addresses) to each connected device

New cards
25

Router

A type of computer that forwards data across a network

New cards
26

Redundancy

The inclusion of extra components so that a system can continue to work even if individual components fail

New cards
27

Fault Tolerant

  • Can continue to function even in the event of individual component failures

  • Important because elements of complex systems like a computer network fail at unexpected times, often in groups

New cards
28

HTTP

  • HyperText Transfer Protocol

  • The protocol used for transmitting web pages over the Internet

New cards
29

Internet

A computer network consisting of interconnected networks the use standardized, open communication protocols

New cards
30

Packet

  • Chunk of data sent over a network

  • Larger messages are divided into packets that may arrive at a destination in order, out-of-order, or not at all

New cards
31

Packet Metadata

Data added to packets to help route them through the network and reassemble the original message

New cards
32

Routing

The process of finding a path from sender to receiver

New cards
33

UDP

A protocol used on the internet for fast transmission of information but with minimal error checking

New cards
34

World Wide Web

A system of linked pages, programs, and files

New cards
35

Router

A type of computer that forwards data across a network

New cards
36

Certificate Authority

Issue digital certificates that validate the ownership of encryption keys used in secure communications and are based on a trust model

New cards
37

Digital Divide

Differing access to computing devices and the Internet, based on socioeconomic, geographic, or demographic characteristics

New cards
38

Debugging

Finding and fixing problems in an algorithm or program

New cards
39

Development Process

  • The steps or phases used to create a piece of software

  • Typical phases include investigating, designing, prototyping, and testing

New cards
40

Event

  • Associated with an action and supplies input data to a program

  • Can be generated when a key is pressed, a mouse is clicked, a program is started, or by any other defined action that affects the flow of execution

New cards
41

Incremental Development Process

A design approach that breaks the problem into smaller pieces and makes sure each piece works before adding it to a whole

New cards
42

Iterative Development Process

A design approach requires refinement and revision based on feedback, testing, or reflection throughout the process

New cards
43

Program Requirements

Descriptions of how a program functions and may include a description of user interactions that a program must provide

New cards
44

Program Specification

A description of all the requirements for the program

New cards
45

Design Specifications

Describing the requirements for how a program will work or users will interact with it

New cards
46

Strings

An arbitrary length sequence of ASCII characters

New cards
47

Expression

A combination of operators and values that evaluates to a single value

New cards
48

Assignment Operator

Allows a program to change the value represented by a variable

New cards
49

Variable

A named reference to a value that can be used repeatedly throughout a program

New cards
50

Boolean Value

A data type that is either true or false

New cards
51

Comparison Operators

Indicate a Boolean Expression

New cards
52

Function

A named group of programming instructions

New cards
53

Function Call

A command that executes the code within a function

New cards
54

Arithmetic Operator

Part of most programming languages and includes addition, subtraction, multiplication, division, and modulus operators

New cards
55

Boolean Expression

Evaluates to either true or false

New cards
56

Concatenation

Joins together two or more strings end-to-end to make a new string

New cards
57

Conditional Statement

Affect the sequential flow of control by executing different statements based on the value of a Boolean expression

New cards
58

Evaluate

Expressions are evaluated to produce a single value

New cards
59

Expression

A programming statement that can consist of a value, a variable, an operator, or a procedure call that returns a value

New cards
60

Logical Operator

NOT, AND, and OR, which evaluate to a Boolean value

New cards
61

Procedure

Used to test the relationship between two variables, expressions, or values

New cards
62

Selection

Determines which parts of an algorithm are executed based on a condition being true or false

New cards
63

List

An ordered collection of elements

New cards
64

Element

An individual value in a list that is assigned a unique index

New cards
65

Index

A common method for referencing elements in a list or string using numbers

New cards
66

Iteration

A repetitive portion of an algorithm which repeats a specified number of times or until a condition is met

New cards
67

Infinite Loop

Occurs when the ending condition will never evaluate to true

New cards
68

Traversal

The process of accessing each item in a list one at a time

New cards
69

Append

Add elements to the end of a list

New cards
70

Data Abstraction

Manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation

New cards
71

Loops

Change the sequential flow of control by repeating a set of statements zero or more times, until a stopping condition is met

New cards
72

Logic Error

A mistake in the algorithm or program that causes it to behave incorrectly or unexpectadly

New cards
73

Simulation

Abstractions of more complex objects or phenomena for a specific purpose

New cards
74

Substring

Part of an existing string

New cards
75

Linear Search

A search algorithm which checks each element of a list, in order, until the desired value is found or all elements in the list have been checked

New cards
76

Binary Search

A search algorithm that starts at the middle of a sorted set of numbers and removes half the data; this process repeats until the desired value is found or all elements have been eliminated

New cards
77

Sequential Computing

A model in which programs run in order, one command at a time

New cards
78

Parallel Computing

A model in which programs are broken down into small pieces, some of which are run simultaneously

New cards
79

Distributed Computing

A model in which programs are run by multiple devices

New cards
80

Parameter

A variable in a function definiton

New cards
81

Argument

The value passed through the parameter

New cards

Explore top notes

note Note
studied byStudied by 57 people
... ago
5.0(1)
note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 31 people
... ago
5.0(2)
note Note
studied byStudied by 440 people
... ago
5.0(2)
note Note
studied byStudied by 28 people
... ago
5.0(2)
note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 19 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (64)
studied byStudied by 80 people
... ago
5.0(5)
flashcards Flashcard (22)
studied byStudied by 33 people
... ago
5.0(2)
flashcards Flashcard (22)
studied byStudied by 70 people
... ago
5.0(2)
flashcards Flashcard (177)
studied byStudied by 7 people
... ago
5.0(2)
flashcards Flashcard (116)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (36)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (125)
studied byStudied by 30 people
... ago
5.0(1)
robot