AP Comp Sci Principles

0.0(0)
studied byStudied by 47 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/80

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

81 Terms

1
New cards

Bit

  • A contraction of “Binary Digit”
  • The single unit of information in a computer
2
New cards

Byte

8 bits

3
New cards

Overflow Error

Error from attempting to represent a number that is too large

4
New cards

Round-off Error

  • Error from attempting to represent a number that is too precise
  • Value is rounded
5
New cards

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
6
New cards

Digital Data

Data that changes discreetly through a finite set of possible values

7
New cards

Sampling

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

8
New cards

Lossless Compression

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

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
10
New cards

Binary

A way of representing information using only two options

11
New cards

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

12
New cards

Data Compression

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

13
New cards

Decimal

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

14
New cards

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.

15
New cards

Open Access

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

16
New cards

Open Source

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

17
New cards

Computing Device

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

18
New cards

Computing System

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

19
New cards

Computing Network

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

20
New cards

Path

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

21
New cards

Bandwidth

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

22
New cards

Protocol

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

23
New cards

IP Address

The unique number assigned to each device on the internet

24
New cards

Internet Protocol (IPP)

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

25
New cards

Router

A type of computer that forwards data across a network

26
New cards

Redundancy

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

27
New cards

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
28
New cards

HTTP

  • HyperText Transfer Protocol
  • The protocol used for transmitting web pages over the Internet
29
New cards

Internet

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

30
New cards

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
31
New cards

Packet Metadata

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

32
New cards

Routing

The process of finding a path from sender to receiver

33
New cards

UDP

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

34
New cards

World Wide Web

A system of linked pages, programs, and files

35
New cards

Router

A type of computer that forwards data across a network

36
New cards

Certificate Authority

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

37
New cards

Digital Divide

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

38
New cards

Debugging

Finding and fixing problems in an algorithm or program

39
New cards

Development Process

  • The steps or phases used to create a piece of software
  • Typical phases include investigating, designing, prototyping, and testing
40
New cards

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
41
New cards

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

42
New cards

Iterative Development Process

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

43
New cards

Program Requirements

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

44
New cards

Program Specification

A description of all the requirements for the program

45
New cards

Design Specifications

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

46
New cards

Strings

An arbitrary length sequence of ASCII characters

47
New cards

Expression

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

48
New cards

Assignment Operator

Allows a program to change the value represented by a variable

49
New cards

Variable

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

50
New cards

Boolean Value

A data type that is either true or false

51
New cards

Comparison Operators

Indicate a Boolean Expression

52
New cards

Function

A named group of programming instructions

53
New cards

Function Call

A command that executes the code within a function

54
New cards

Arithmetic Operator

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

55
New cards

Boolean Expression

Evaluates to either true or false

56
New cards

Concatenation

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

57
New cards

Conditional Statement

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

58
New cards

Evaluate

Expressions are evaluated to produce a single value

59
New cards

Expression

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

60
New cards

Logical Operator

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

61
New cards

Procedure

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

62
New cards

Selection

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

63
New cards

List

An ordered collection of elements

64
New cards

Element

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

65
New cards

Index

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

66
New cards

Iteration

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

67
New cards

Infinite Loop

Occurs when the ending condition will never evaluate to true

68
New cards

Traversal

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

69
New cards

Append

Add elements to the end of a list

70
New cards

Data Abstraction

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

71
New cards

Loops

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

72
New cards

Logic Error

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

73
New cards

Simulation

Abstractions of more complex objects or phenomena for a specific purpose

74
New cards

Substring

Part of an existing string

75
New cards

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

76
New cards

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

77
New cards

Sequential Computing

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

78
New cards

Parallel Computing

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

79
New cards

Distributed Computing

A model in which programs are run by multiple devices

80
New cards

Parameter

A variable in a function definiton

81
New cards

Argument

The value passed through the parameter