AP CompSci P Unit 3

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:43 PM on 2/7/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

Algorithm

A finite set of instructions that accomplish a specific task.

2
New cards

Code statement

A part of program code that expresses an action to be carried out.

3
New cards

Expression

Can consist of a value, a variable, an operator, or a procedure call that returns a value; expressions are evaluated to produce a single value.

4
New cards

Execute

The process of running a computer software program, script, or command.

5
New cards

Behavior

How a program functions during execution; often described by how a user interacts with it.

6
New cards

Program inputs

Data sent to a computer for processing by a program; it can come in a variety of forms, such as tactile, audio, visual, or text.

7
New cards

Program outputs

Any data sent from a program to a device; can come in a variety of forms, such as tactile, audio, visual, or text.

8
New cards

Event

An occurrence; things that happen; usually associated with an action (i.e. mouse click, button pressed).

9
New cards

Event handler

A part of code that 'handles' or listens for a specific type of event; when that event occurs, the code inside the event handler is run.

10
New cards

Program documentation

A written description of the function of a code segment, event, procedure, or program and how it was developed.

11
New cards

Comments

A form of program documentation written into the program that helps explain what the code is doing. Comments in a program do not affect how a program runs.

12
New cards

Logic error

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

13
New cards

Syntax error

A mistake in the program where the rules of the programming language are not followed.

14
New cards

Run-time error

A mistake in the program that occurs during the execution of a program; programming languages define their own run-time errors.

15
New cards

Overflow error

An error that occurs when a computer attempts to handle a number that is outside of the defined range of values.

16
New cards

Testing

Using defined inputs to ensure that an algorithm or program is producing the expected outcomes, in the development process.

17
New cards

Sequencing

The application of each step of an algorithm in the order in which the code statements are given.

18
New cards

Selection

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

19
New cards

Nested conditional statements

Consist of conditional statements within conditional statements.

20
New cards

Iteration

A repeating portion of an algorithm; iteration repeats a specified number of times or until a given condition is met.

21
New cards

Variable

An abstraction inside a program that can hold a value; each variable has associated data storage that represents one value at a time.

22
New cards

Variable Types

Some programming languages provide types to represent data, including numbers, Booleans, arrays/lists, and strings.

23
New cards

Element

An individual value in an array/list that is assigned a unique index.

24
New cards

Index

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

25
New cards

String

An ordered sequence of characters.

26
New cards

String concatenation

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

27
New cards

Substring

Part of an existing string.

28
New cards

Boolean value

A variable that is either true or false.

29
New cards

Data abstraction

Provides a separation between the abstract properties of a data type and the concrete details of its representation.

Explore top notes

note
June exam
Updated 1019d ago
0.0(0)
note
Analysing Non-Fiction (OCR)
Updated 391d ago
0.0(0)
note
DNA: History and Functions
Updated 1249d ago
0.0(0)
note
Chapter 5: Nuclear Chemistry
Updated 1151d ago
0.0(0)
note
Chapter 20: Reversible Reactions
Updated 1059d ago
0.0(0)
note
Invisible Man Chapter 14
Updated 1174d ago
0.0(0)
note
June exam
Updated 1019d ago
0.0(0)
note
Analysing Non-Fiction (OCR)
Updated 391d ago
0.0(0)
note
DNA: History and Functions
Updated 1249d ago
0.0(0)
note
Chapter 5: Nuclear Chemistry
Updated 1151d ago
0.0(0)
note
Chapter 20: Reversible Reactions
Updated 1059d ago
0.0(0)
note
Invisible Man Chapter 14
Updated 1174d ago
0.0(0)

Explore top flashcards

flashcards
PD- Khan
42
Updated 294d ago
0.0(0)
flashcards
BS Financial perspective
56
Updated 1219d ago
0.0(0)
flashcards
drawing slay
20
Updated 1191d ago
0.0(0)
flashcards
BACTERIOLOGY
305
Updated 1189d ago
0.0(0)
flashcards
NEURO DIENCEPHALON MIXED
29
Updated 1093d ago
0.0(0)
flashcards
Français leçon 5
110
Updated 1196d ago
0.0(0)
flashcards
Criminology Unit 3
20
Updated 1218d ago
0.0(0)
flashcards
PD- Khan
42
Updated 294d ago
0.0(0)
flashcards
BS Financial perspective
56
Updated 1219d ago
0.0(0)
flashcards
drawing slay
20
Updated 1191d ago
0.0(0)
flashcards
BACTERIOLOGY
305
Updated 1189d ago
0.0(0)
flashcards
NEURO DIENCEPHALON MIXED
29
Updated 1093d ago
0.0(0)
flashcards
Français leçon 5
110
Updated 1196d ago
0.0(0)
flashcards
Criminology Unit 3
20
Updated 1218d ago
0.0(0)