Karteikarten
Ohne Titel
Karten in diesem Stapel (12)
- 1Data Primitives(in java)char, byte, short, int, long, float, double, boolean
- 2Stringsnot primitives(actually objects). but can sometimes be treated like they are
- 3Abstract data type (ADT)a set of operations, where each operation satisfies pre-conditions and post conditions; a conceptual view of data and how it can be used
- 4Data StructureAn implementation/representation of an ADT; a software artefact for storing and manipulating data
- 5SetA set is a collection of data that contains no sublicates
- 6Operations that define a set as a mathematical ADTadd, hasElement, remove, contains, intersection, union, etc...
- 7Implementation of setsDefine a class that supports representation and manipulation of data elements within a set, Which includes creating a public interface of methods for all desired operations as efficient implementations that operate on the representation in the desired way.
- 8BehaviourShould behave in the way we say and do nothing else
- 9ListsCollection of items, with duplicates, ordered in some way(random, etc) in the sense that there is a first, last and i-th item
- 10Operations that define lists as an ADTadd, remove, has_item, is_empty, first_item. i-th_item, length etc... insert
- 11Implementation of listsmay be represented inside a computer program in a number of different ways, An array. eg.. allows many of the standard list operations to be performed quite simply. but others are computationally expensive because they require moving around alot of elements in the array or copying items into a new array to represent a bigger list
- 12—
Informationen
- Beschreibung
- Karteikarten am Ohne Titel, erstellt von Cherese Eriepa am 15/04/2016.
- Erstellt von
- Cherese Eriepa
- Aufrufe
- 1
- Bewertung