Data structure and algorithm

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

1/30

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.

31 Terms

1
New cards

Array

collection of item stored in contiguous memory location

2
New cards

Array index

location of an element in an array

3
New cards

void

none

4
New cards

w chart_t

used by Windows w/ 16

bit character

5
New cards

Traverse

print all the array elements one by one

6
New cards

Insertion

adds an element at the given index

7
New cards

Deletion

deletes an element in the given index

8
New cards

Search

searches an element using the given index or by the value

9
New cards

Update

updates an element in the given index .

manually search and update

10
New cards

Display

displays the context of the array

11
New cards

Data Structure

named location that can be use to store and organize data

12
New cards

Algorithm

collection of steps to solve a particular problem

13
New cards

Linked List

Linear data structure that’s made up of a number of interconnected nodes

14
New cards

Singly Linked List

entry is merely connected to its next element by a pointer, rather than being

stored in consecutive memory regions

15
New cards

Doubly Linked List

each node has a reference to both the node before it and the node after it in the

linked list

16
New cards

Circular Linked List

every node is connected to every other node in a circle

17
New cards

Queues

FIFO(First In First Out) Data Structure

-structure of SEQUENTIALLY ORDERED ELEMENTS

18
New cards

ENQUEUE

responsible for INSERTING or PUSHING an element to the queue

19
New cards

DEQUEUE

responsible for REMOVING an element from the queue

20
New cards

SIMPLE QUEUE

also known as "LINEAR QUEUE"

-most basic type of queue

21
New cards

CIRCULAR QUEUE

the ELEMENT of the circular queue ACT as a CIRCULAR RING

-similar to linear queue except the LAST ELEMENT CONNECTED to the FIRST

ELEMENT

22
New cards

PRIORITY QUEUE

SPECIAL type of QUEUE"

- ARRANGES ELEMENTS based on SOME PRIORITY

23
New cards

Multi - programming

when MULTIPLE PROGRAMS are RUNNING in the MAIN MEMORY of the pc

24
New cards

Network

queue is used in the DEVICES such as ROUTER or a SWITCH

25
New cards

Job Scheduling

computer has a task to EXECUTE PARTICULAR NUMBER OF JOBS that are

SCHEDULED TO BE EXECUTED one after another

26
New cards

Shared Resources

use as WEIGHING LIST for a SINGLE SHARED RESOURCE

27
New cards

SEQUENTIAL ALLOCATION

-queue IMPLEMENTED using an ARRAY

-organize LIMITED NUMBER of elements

28
New cards

LINKED LIST ALLOCATION

-queue IMPLEMENTED using a LINKED LIST

-organize an UNLIMITED NUMBER of elements

29
New cards

STACK

-piece that was inserted last is accessed first in this data structure

-structure of sequential and ordered elements and it based on the principle Last In

First Out(LIFO)

30
New cards

PUSH

responsible for inserting or pushing a new element to the stack

* push()

31
New cards

POP

responsible for removing the most recent element from the stack

*pop()