WGU DSA1 C949 V3 FREQUENTLY TESTED QUESTIONS WITH CORRECT ANSWERS | BRAND NEW!

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

1/53

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:50 PM on 6/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

54 Terms

1
New cards

ID bubble sort

'swap', 'exchange' keywords so result 'bubbles' to the top

2
New cards

ID bucket sort

distributes values into buckets, then buckets are sorted

3
New cards

ID binary search

continually halving

4
New cards

ID merge sort

continually splits a list in half

5
New cards

ID quick sort

'pivot'

6
New cards

ID radix sort

sorting by least/most significant digits

7
New cards

Insertion Sort big O

n^2

8
New cards

Merge Sort big O

n log n

9
New cards

Quick Sort big O

n log n

10
New cards

Radix Sort big O

nk

11
New cards

Selection Sort big O

n^2

12
New cards

Shell Sort big O

(n log n)^2

13
New cards

Binary Search big O

worst: log n

avg: log n

best: 1

14
New cards

Heap Sort big O

n log n

15
New cards

Array big O

Access: 1

Search: n

Insert: n

Delete: n

worst-case

16
New cards

Stack/Queue/LinkedList big O

Access: n

Search: n

Insert: 1

Delete: 1

worst-case

17
New cards

Hash Table big O

Access: 1 or n/a

Search: n

Insert: n

Delete: n

best is 1 for everything

18
New cards

Binary Search Tree big O

worst: n

best: log n

19
New cards

B-Tree big O

log n

20
New cards

Red-Black Tree big O

log n

21
New cards

AVL Tree big O

log n

22
New cards

Efficiency

algo performs task quickly and uses minimal resources

23
New cards

Correctness

must produce the correct and accurate output for all valid inputs

24
New cards

Clarity

should be easy to understand and comprehend, making it maintainable and modifiable

25
New cards

Scalability

should handle larger data sets and problem sizes without a significant decrease in performance

26
New cards

Reliability

should consistently deliver correct results under different conditions and environments

27
New cards

Optimality

striving for the most efficient solution within given constraints

28
New cards

Robustness

capable of handling unexpected inputs or errors gracefully

29
New cards

Adaptability

can be applied to a range of related problems with minimal adjustments

30
New cards

Simplicity

simple as possible while meeting requirements, avoids unnecessary complexity

31
New cards

record

stores subitems, often called fields, with a name associated with each subitem.

32
New cards

array

stores an ordered list of items, where each item is directly accessible by a positional index.

33
New cards

linked list

stores an ordered list of items in nodes, where each node stores data and has a pointer to the next node.

34
New cards

binary tree

each node stores data and has up to two children, known as a left child and a right child.

35
New cards

hash table

stores unordered items by mapping (or hashing) each item to a location in an array.

36
New cards

heap

A max-heap is a tree that maintains the simple property that a node's key is greater than or equal to the node's childrens' keys. A min-heap is a tree that maintains the simple property that a node's key is less than or equal to the node's childrens' keys.

37
New cards

graph

data structure for representing connections among items, and consists of vertices connected by edges. A vertex represents an item in a graph. An edge represents a connection between two vertices in a graph.

38
New cards

list

ADT - holding ordered data

under: array, linked list

39
New cards

dynamic array

A dynamic array is an ADT for holding ordered data and allowing indexed access.

under: array

40
New cards

stack

ADT in which items are only inserted on or removed from the top of a stack.

under: linked list

41
New cards

queue

ADT in which items are inserted at the end of the queue and removed from the front of the queue.

under: linked list

42
New cards

deque

ADT in which items can be inserted and removed at both the front and back.

under: linked list

43
New cards

bag

ADT for storing items in which the order does not matter and duplicate items are allowed.

under: array, linked list

44
New cards

set

ADT for collection of distinct items

under: bst, hash table

45
New cards

priority queue

each item has a priority, and items with higher priority are closer to the front of the queue than items with lower priority.

under: heap

46
New cards

dict / map

ADT that associates (or maps) keys with values.

under: hash table, bst

47
New cards

growth rate function order

1

log n

n

n log n

n^2

2^n

48
New cards

constant time

O(1)

49
New cards

logarithmic time

O(log n)

50
New cards

linear time

O(n)

51
New cards

log-linear time

O(n log n)

52
New cards

quadratic time

O(N^2)

53
New cards

exponential time

O(c^n)

54
New cards

bubble sort big O

n^2