Computer Science

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

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:08 AM on 3/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

O(n²) complexity type

Polynomial

2
New cards

O(n) complexity type

Linear

3
New cards

Asymmetric encryption

Public key - encrypts data
Recipient’s private key - decrypts data

One way algorithm

More secure than symmetric encryption

4
New cards

Insertion sort

Best Case - O(n)
Average/Worst Case - O(n²)

5
New cards

Run-Length Encoding

Lossless data compression

Replaces consecutive data elements with the element and the number of instances

6
New cards

Binary tree

Worst case - O(n) when everything unbalanced

Average case - O(log n)

Best case - O(1)

7
New cards

O(log n) complexity type

Logarithmic

8
New cards

Bubble sort

Worst/average case - O(n^2)

Best case - O(1)

9
New cards

Merge sort

Every case - O(n log n)

10
New cards

O(n log n) complexity type

Logarithmic linear time

11
New cards

While loop

Pre-condition

Checks condition at the start of the loop

May never run if condition is already met

12
New cards

Do loop

Post-condition

Checks condition at the end of the loop

Always runs at least once

13
New cards

Stack

Allocated data structure of memory

LIFO

Can be static or dynamic

Examples:

Call stacks

Browser history for back and forwards

Undo/Redo

Operations:

isEmpty() checks if empty

push(value) adds value to the end of the list (overflow risk)

peek() returns top value from the stack

pop() removes and returns stack top value (under flow risk)

size()

isFull()

14
New cards
15
New cards

Mutable

Data can be changed at runtime

16
New cards

Static

Array size cannot change at runtime

17
New cards

Dynamic

List size can change at runtime

18
New cards

Array

Mutable

Static

Values stores contiguously

19
New cards

Contiguous

Physically adjacent and unbroken memory addresses

20
New cards

Lists

Mutable

Dynamic

21
New cards

Tuple

Immutable

Static

22
New cards

records

Made up of fields, a row in a table

Explore top notes

note
Spelling, Punctuation and Grammar
Updated 783d ago
0.0(0)
note
APWH UNIT 1TOPIC 1.1 SPICE T
Updated 1266d ago
0.0(0)
note
The American Revolution
Updated 270d ago
0.0(0)
note
APHUG-All Units
Updated 532d ago
0.0(0)
note
Chapter 1- Kinetic Particle Theory
Updated 1278d ago
0.0(0)
note
Chemical Changes
Updated 1353d ago
0.0(0)
note
Spelling, Punctuation and Grammar
Updated 783d ago
0.0(0)
note
APWH UNIT 1TOPIC 1.1 SPICE T
Updated 1266d ago
0.0(0)
note
The American Revolution
Updated 270d ago
0.0(0)
note
APHUG-All Units
Updated 532d ago
0.0(0)
note
Chapter 1- Kinetic Particle Theory
Updated 1278d ago
0.0(0)
note
Chemical Changes
Updated 1353d ago
0.0(0)

Explore top flashcards

flashcards
Spelling 1
22
Updated 938d ago
0.0(0)
flashcards
Chapter 3
46
Updated 1148d ago
0.0(0)
flashcards
G1 2nd Semester Grammar Review
60
Updated 1044d ago
0.0(0)
flashcards
House part 한국어7
28
Updated 296d ago
0.0(0)
flashcards
6.1.1 Earth, Moon, & Sun System
30
Updated 937d ago
0.0(0)
flashcards
maatschappijleer p2
57
Updated 1150d ago
0.0(0)
flashcards
Geometry Midterm Review RBC
136
Updated 463d ago
0.0(0)
flashcards
Apol Obj. Test
64
Updated 1167d ago
0.0(0)
flashcards
Spelling 1
22
Updated 938d ago
0.0(0)
flashcards
Chapter 3
46
Updated 1148d ago
0.0(0)
flashcards
G1 2nd Semester Grammar Review
60
Updated 1044d ago
0.0(0)
flashcards
House part 한국어7
28
Updated 296d ago
0.0(0)
flashcards
6.1.1 Earth, Moon, & Sun System
30
Updated 937d ago
0.0(0)
flashcards
maatschappijleer p2
57
Updated 1150d ago
0.0(0)
flashcards
Geometry Midterm Review RBC
136
Updated 463d ago
0.0(0)
flashcards
Apol Obj. Test
64
Updated 1167d ago
0.0(0)