AP Computer Science Principles Unit 5

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

1/19

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.

20 Terms

1
New cards

List

A collection used to store multiple related pieces of data.

2
New cards

Array

In JavaScript, an array is a type of list that allows storage, access, and manipulation of items.

3
New cards

Indexing

The method of accessing each item in a list using its position, typically starting from zero.

4
New cards

Dynamic List

A list that can change in size, accommodating a variable amount of data.

5
New cards

Loop

A programming structure that repeats a block of code a defined number of times or while a condition is true.

6
New cards

Iteration

The process of repeatedly executing a procedure or section of code.

7
New cards

For Loop

A control flow statement for specifying iteration, iterating over a sequence.

8
New cards

Append Function

A method used to add an item to the end of a list.

9
New cards

Remove Function

A method that deletes an item from a list, requiring knowledge of the index.

10
New cards

Insert Function

A method used to add an item at a specified index in a list.

11
New cards

List Length

The number of items currently in a list, accessed using the syntax 'list.length'.

12
New cards

Zero-Based Indexing

A numbering system where the first item is at index 0.

13
New cards

While Loop

A control flow statement that executes a block of code as long as a specified condition is true.

14
New cards

Counter Variable

A variable used to track the number of iterations in a loop.

15
New cards

Re-indexing

The process of adjusting the indices of items in a list after elements have been added or removed.

16
New cards

Dynamic Indexing

Refers to the ability to modify list items based on their dynamic indices.

17
New cards

Printing List Values

Using a loop to display every item in a list.

18
New cards

Clarity of Code

The practice of writing code that is easy to read and understand, often enhanced through the use of loops.

19
New cards

Power of Loops

The capability of loops to perform repetitive tasks efficiently, leveraging the computer's processing power.

20
New cards

Updating List Values

The process of modifying the value of specific items in a list using their indices.