CS 355-01 (Chapter 1.1)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

21 Terms

1
New cards

True or False? A linked list stores items in an unspecified order.

False — linked lists ARE ordered.

2
New cards

A node in a binary tree can have zero, one, or two children.

True

3
New cards

A list node's data can store a record with multiple subitems.

True

4
New cards

Items stored in an array can be accessed using a positional index.

True

5
New cards

Insert at end of 999-item array

0 items shifted

6
New cards

Insert at end of 999-item linked list

0 items shifted

7
New cards

Insert at beginning of 999-item array

999 items shifted

8
New cards

Insert at beginning of 999-item linked list

0 items shifted

9
New cards
10
New cards

Do ARRAYS shift?

Yes

11
New cards

Do LINKED LISTS shift?

NO

12
New cards

What is a data structure?

A way to organize, store, and work with data.

13
New cards

What operations can be done on data structures?

Access, update, search, insert, remove.

14
New cards

What is a record?

One item with multiple labeled fields.

15
New cards

What is an array?

An ordered list where items are accessed by index.

16
New cards

What is a linked list?

A list of nodes where each node points to the next.

17
New cards

Why are linked lists good for inserting data?

No shifting is required.

18
New cards

What is a binary tree?

A tree where each node has up to two children.

19
New cards

What is a hash table used for?

Fast access using hashed keys.

20
New cards

What is a heap?

A tree that keeps the largest or smallest item at the top.

21
New cards

What is a graph?

A structure that represents connections using vertices and edges.