Data Structure And Functions Flashcards

1
Q

What is a variable that can hold multiple pieces of data, often grouped together?

A

Composite variables

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

Arrays and structures allow programmers to store and manage multiple:________

A

Data Items

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

What is a named collection of homogeneous items?

A

Array

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

Each value in an array is accessed by its:_______

A

Place within the collection

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

What is the place within the collection?

A

Index

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

Looking for items within an algorithm is called:_______

A

Searching

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

Putting items in a list in order is called:________

A

Sorting

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

A phase that encompasses all other computing done to or with items in an array is called:________

A

Processing

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

What is a group of items that individual items are accessed by name?

A

Record

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

Integers, real numbers, strings or any other type of data are data types a ______ can contain.

A

Record

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

How are records accessed?

A

By the record variables, dot and field name.

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

When is it a good choice to use a record?

A

When bundling items together that relate to the same object.

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

What is a container whose properties are specified independently of any particular implementation.

A

Abstract data types

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

Why are abstract data types used?

A

To reduce complexity

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

What are the three perspectives we view data from?

A

Application level, logical level, and implementation level

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

What is the view of data within a certain problem?

A

Application-level view

17
Q

What is an abstract view of the domain and the operations that manipulate them?

A

Logical level view

18
Q

What is a representation of the structure that holds the data items and coding of operations in programming language?

A

Implementation

19
Q

An abstract composite structure in which accesses are made at only one end?

20
Q

First item in is the first item out refers to?

A

Last in First out (LIFO)

21
Q

What is it called to add an item to a stack?

22
Q

What is it called to remove an item from a stack?

23
Q

Determining if a stack is empty because trying to pop an empty stack is an error is what operation?