CS Flashcards
1
Q
define concurrent thinking
A
it means something happens as the same time as something else happens
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
3
Q
characteristics of a collection
A
- allow us to store integers, arrays, booleans, etc.
2.have methods to help access and iterate over the data. - resizable
4
Q
advantages of sub-procedures
A
- enabling code reuse over multiple programs
- breaking complex jobs into simple jobs
- reducing program code duplication in the same program
5
Q
fundamental operation/ compound operations
A
fundamental operations:
add, compare retrieve, and store
compound operations:
a combination of fundamental operations