AP Comp Sci Principles Key Terms

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

1/24

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.

25 Terms

1
New cards

Abstraction

The process of reducing complexity by hiding details and showing only essential features, often using functions.

2
New cards

Algorithm

A precise sequence of instructions for solving a problem or performing a task.

3
New cards

Function (Procedure)

A named block of code designed to perform a specific task; it can be reused throughout a program.

4
New cards

Parameter

A variable used in a function to accept input values when the function is called.

5
New cards

Return Value

The output that a function sends back to the part of the program that called it.

6
New cards

Call (Function Call)

An instruction in a program that executes a function.

7
New cards

Sequence

The specific order in which program instructions are executed.

8
New cards

Selection

The use of conditional statements (like if or if/else) to control which code runs based on certain conditions.

9
New cards

Iteration

The repetition of a section of code using loops (for, while, etc.).

10
New cards

Loop

A control structure that repeats code while a condition is true or for a set number of times.

11
New cards

Boolean Expression

An expression that evaluates to true or false, used in conditions.

12
New cards

Variable

A named storage location that holds a value which can be changed during program execution.

13
New cards

List (Array)

An ordered collection of elements stored under one variable name.

14
New cards

Index

The position of an item in a list, usually starting from 0.

15
New cards

Input

Data received by a program, often from the user or another system.

16
New cards

Output

Data sent out by a program, such as printed text, visual display, or returned results.

17
New cards

Event

An action that triggers code to run, such as a mouse click or key press.

18
New cards

Event Handler

A block of code that responds to an event when it occurs.

19
New cards

Debugging

The process of finding and fixing errors in a program.

20
New cards

Syntax Error

A mistake in the code that breaks the rules of the programming language.

21
New cards

Logic Error

An error where the program runs but gives the wrong output due to incorrect reasoning in the code.

22
New cards

Development Process

The steps taken to design, code, test, and improve a program.

23
New cards

Testing

Running a program to check if it behaves as expected.

24
New cards

Comment

Text in code meant for human readers to explain what the code does; ignored by the computer.

25
New cards

Condition

An expression used to make decisions in code, usually involving comparison operators like ==, >, or <.