APCSP Final Review

5.0(2)
studied byStudied by 3 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/147

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

148 Terms

1
New cards

Abstraction

The process of simplifying complex systems by focusing on the essential features while ignoring the irrelevant details

helps in managing complexity in programming and problem-solving

2
New cards

Algorithm

a step by step process that describes how to solve a problem in a way that always gives a correct answer

3
New cards

Boolean logic

takes two statements or expressions and applies a logical operator to generate a value that can be either true or false

4
New cards

Comment

a note in the code explaining a portion of it

necessary if there is a reader besides the creator

5
New cards

Compilation

The process of source code being translated into machine code

6
New cards

Debugging

The process of identifying and removing errors from a computer program

7
New cards

Decomposition

the process of breaking down a complex problem or system into smaller parts that are more manageable and easier to understand

8
New cards

Documentation

written materials, such as user manuals or technical guides, that provide information about how to use and maintain a software program

9
New cards

Flow Chart

a visual representation of an algorithm or process, showing the steps and their order using shapes and arrows

10
New cards

Function

how the code achieves its purpose

11
New cards

Purpose

the specific reason or goal for which a program or function is designed, outlining what it aims to accomplish

12
New cards

Input

data received by a program or function for processing

13
New cards

Iteration

The repetition of steps in an algorithm or program for a certain amount of times or until a certain condition is met

14
New cards

Logic Error

A mistake in an algorithm or program that causes it to behave unexpectedly or return the incorrect value

15
New cards

For loop

a control structure used to repeat a block of code a specified number of times

16
New cards

While Loop

repeatedly executes a block of code as long as a specified condition remains true

17
New cards

Output

the result or value produced by a program or function after it has been executed

18
New cards

Fair Programming

the practice of writing code that is transparent, understandable, and promotes collaboration and inclusivity among programmers

19
New cards

Parameter

a special kind of variable used in a function to refer to one of the pieces of data provided as input to the function

20
New cards

Procedure

a set of instructions that perform a specific task and can be reused in different parts of a program

21
New cards

Pattern recognition

the ability to see similarities or trends in data, which helps in problem-solving and algorithm development

22
New cards

Pseudocode

a detailed yet readable description of what a computer program or algorithm should do, written in a readable style using natural syntax

23
New cards

Runtime Error

errors that can only be detected while the program is running

24
New cards

Scalability

the measure of a system's ability to increase or decrease in performance and cost in response to changes in application and system processing demands

25
New cards

Syntax Error

A mistake in typed code that violates the rules of the programming language. Typically, code will not run

26
New cards

Array

a special variable that can hold more than one value at a time

27
New cards

Binary Tree

a tree data structure in which each node has at most two children, referred to as the left child and the right child

commonly used for efficient storage and retrieval of data, with various operations such as insertion, deletion, and traversal

28
New cards

Boolean Data Type

a data type that has one of two possible values (usually denoted true and false) which is intended to represent the two truth values of logic

29
New cards

Character data type

a data type with the size of exactly one byte

30
New cards

Data Type

a classification that specifies the type of data a variable or object can hold

31
New cards

First-in-first-out (FIFO)

a method for organizing the manipulation of a data structure where the oldest/first entry, or "head" of the queue, is processed first

32
New cards

Hash Table

a data structure that implements an associative array, also called a dictionary or simply map

33
New cards

Integer Data Table

a data type that represents some range of mathematical numbers

34
New cards

Last-in-first-out (LIFO)

a data structure in which the newest element added to the stack is processed first

35
New cards

Primitive Data Type

a set of basic data types from which all other data types are constructed

36
New cards

Queue

a collection of entities that are maintained in a sequence and can be modified by the addition of entities at one end of the sequence and the removal of entities from the other end of the sequence

37
New cards

Stack

a data structure used in computer science which operates based on the last-in-first-out (LIFO) principle

38
New cards

String Data Type

a data type that is a sequence of characters

39
New cards

2 to the power of n

the number of possible values that can be represented by a binary number with n bits

40
New cards

Binary

number system that only uses 0 and 1

41
New cards

Decimal

the standard base-10 number system used in everyday life

42
New cards

Hexadecimal

a base-16 number system that uses digits 0-9 and letters A-F (representing 10-15)

used for colors

43
New cards

Operators

symbols that perform specific actions on data, like mathematical calculations or logical comparisons

44
New cards

+

addition

45
New cards

-

subtraction

46
New cards

*

multiplication

47
New cards

/

division

48
New cards

%

modulus - remainder of division

ex: 10 ___ 3 = 1

49
New cards

**

exponentation

50
New cards

//

floor division - rounds down to the nearest whole number

51
New cards

=

assign

52
New cards

+=

add and assign

53
New cards

-=

subtract and assign

54
New cards

*=

multiply and assign

55
New cards

/=

divide and assign

56
New cards

%=

modulus and assign

57
New cards

//=

floor divide and assign

58
New cards

**=

exponentiate and assign

59
New cards

!=

not equal to

60
New cards

==

equal to

61
New cards

>

greater than

62
New cards

<

less than

63
New cards

>=

greater than or equal to

64
New cards

<=

less than or equal to

65
New cards

And

returns True if both operands are true

66
New cards

OR

returns True if at least one operand is true

67
New cards

NOT

reverses the boolean value of the operand

68
New cards

n! (factorial)

is the product of all positive integers up to n, where n is a non-negative integer

ex: 1 × 2 × 3 × 4…. × n

69
New cards

nth term of a fibonacci series

finding the specific value at a particular position in the Fibonacci sequence

70
New cards

Central Processing Unit (CPU)

responsible for executing instructions and processing data

71
New cards

Graphics Card

a computer expansion card that generates a feed of graphics output to a display device such as a monitor

72
New cards

Hard Drive

a physical computer component that stores data, including programs, pictures, documents and your operating system

73
New cards

RAM

the short-term memory that software can use to store data quickly and temporarily

74
New cards

I/O (Binary Power)

Input/Output operations in computing that manage the data interchange between the computer and external devices

75
New cards

Accelerometer

a device that measures the acceleration forces acting on it, used in smartphones and other devices to detect orientation and movement

76
New cards

Light sensor

a device that detects and measures light levels

77
New cards

Buttons

Devices that allow users to input commands or control actions on electronic devices or interfaces

78
New cards

Keyboard

a set of keys that input data or commands into a computer or device, often used for typing or gaming

79
New cards

LEDs Display

a series of light-emitting diodes used to visually display information or indicators

80
New cards

Database

a structured collection of data that can be easily accessed, managed, and updated

81
New cards

HTML/CSS

languages used for creating and styling web pages.

82
New cards

NoSQL (“Not only SQL”)

databases that come in a variety of types based on their data model. The main types are document, key-value, wide-column, and graph. They provide flexible schemas and scale easily with large amounts of big data and high user loads.

83
New cards

Structured Query Language (SQL)

a programming language for storing and processing information in a relational database

84
New cards

Webpage

A document that is displayed in a web browser and can be accessed through the World Wide Web, often created using HTML and styled with CSS

85
New cards

Website

A collection of related web pages that are typically identified by a common domain name and can include multimedia content.

Are hosted on web servers and accessed via the internet.

86
New cards

Authentication

the process of verifying the identity of a user or device attempting to access a system or network

87
New cards

Compression

the process of encoding information using fewer bits than the original representation

88
New cards

Cybersecurity

the practice of protecting systems, networks, and programs from digital attacks

89
New cards

Distributed Denial of Service (DDOS)

an attack that occurs when multiple compromised computers flood a target system with an overwhelming amount of internet traffic, causing it to become overloaded and unavailable to legitimate users

90
New cards

Digital Signatures

a way to sign a document to verify the identity of the sender. The signature is created by compressing the message into a digest and encrypting it with the sender's private key

91
New cards

Encryption

The process of scrambling data to prevent unauthorized access

92
New cards

Phishing

An attack where a user is tricked into revealing private information, often via a deceptive email

93
New cards

Personal Identification Number (PIN)

numerical passcode used in the process of authenticating a user accessing a system

  • commonly used in banking, telecommunications, and security systems

94
New cards

Privacy

the ability of a person to determine for themselves when, how, and to what extent personal information about them is shared with or communicated to others

95
New cards

Ransomware

holds system captive and demands a ransom

96
New cards

.CSV (Comma Separated Values)

file format for storing data

97
New cards

.DOC

file type to document projects, explain code, or provide research notes

98
New cards

.JPG (also called JPEG)

used for images

  • lossy

  • makes quality worse by averaging pixels to even out colors

99
New cards

.MP4

a popular video format used to share, download, and stream video content. The format can store audio, images, and subtitles

100
New cards

.PDF (Portable Document Format)

the format used when you need to save files that can’t be modified but still need to be easily shared and printed