CS Flashcards

1
Q

define concurrent thinking

A

it means something happens as the same time as something else happens

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

what is a collection

A

a collection is a data structure that stores a group of elements that have the same or different types

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

characteristics of a collection

A
  1. allow us to store integers, arrays, booleans, etc.
    2.have methods to help access and iterate over the data.
  2. resizable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

advantages of sub-procedures

A
  1. enabling code reuse over multiple programs
  2. breaking complex jobs into simple jobs
  3. reducing program code duplication in the same program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

fundamental operation/ compound operations

A

fundamental operations:
add, compare retrieve, and store

compound operations:
a combination of fundamental operations

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