QUIZ 2 | PRELIM EXAM Flashcards

1
Q

These are high-level data structures that are defined by their behavior and the operations that can be performed on them, rather than by their implementation details.

A

ABSTRACT DATA TYPES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is a fundamental data structure used to store a fixed-size, ordered collection of elements, all of which must be of the same data type.

A

ARRAYS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

It is a linear collection of elements of the same data type

A

ONE-DIMENSIONAL ARRAY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The most common form of multi-dimensional arrays.

A

Two-DImensional Array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

An array that used to represent grids, matrices, tables, and more complex data structures.

A

MULTI-DIMENSIONAL ARRAY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A linear data structure in which elements, called nodes, are connected sequentially via references or links.

A

LINKED LIST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It contains a data element and a reference (or link) to the next node in the sequence.

A

NODE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

each node contains two links - one points to the next node, and the other points to the previous node

A

DOUBLY LINKED LIST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The first and last nodes of the list are linked together.

A

CIRCULAR LINKED LIST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Often used to implement linked structures like singly linked lists, doubly linked lists, and trees.

A

POINTERS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

often used to describe the connection between nodes in a linked list, whether it’s a singly linked list (where each node has a link/reference to the next node) or a doubly linked list (where each node has links/references to both the next and previous nodes).

A

LINK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A data structure containing zero or more nodes that are linked together in a hierarchical fashion.

A

TREES (ROOTED TREE GRAPH)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Also called a last-in first-out (LIFO) system, is a linear list in which insertions and deletions can take place only at one end, called the top.

A

STACK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Also called a first-in first-out (FIFO) system, is a linear list in which deletions can take place only at one end of the list the “rear” of the list.

A

QUEUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A data structure operation that accessing each record exactly once so that certain items in the record may be processed.

A

TRAVERSING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Four major Operation in Data Structure

A
  • Traversing
  • Searching
  • Inserting
  • Deleting
17
Q

STACK OR QUEUE

Lunch Line at School Cafe: Students from a line to get their lunch

A

Queue

First to get in line is first to get out of line.

18
Q

STACK OR QUEUE

Pile of books on a table: You place one book on top of the other

A

Stack

Last to be put in the file, is the first out to be picked up

19
Q

STACK OR QUEUE

Print Job _______in a computer: Print jobs are submitted to a printer

A

Queue

First to be sent in printer is first to be printed out

20
Q

STACK OR QUEUE

Call ______ in a programming language: Functions are called and added to the stack

A

Stack

21
Q

Rows in arrays starts at what index?

A

0

22
Q

Columns in arrays starts at what index?

A

0

23
Q

3 Types of Arrays?

A

One Dimensional
Two Dimensional
Three Dimensional