Objects and data structures: Data Types | | UPV
Título: Objects and data structures: Data Types Descripción automática: In this video, the presenter discusses data types in object-oriented programming (O...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Thailand under the topic 'สภาพอากาศ'.
About this video
Título: Objects and data structures: Data Types
Descripción automática: In this video, the presenter discusses data types in object-oriented programming (OOP). They explain that while OOP includes primitive data types like numbers, strings, booleans, etc., it also utilizes objects, with strings being an example of a class. The video introduces abstract data types (ADTs), which are custom data types created by combining data with operations, resembling the definition of a class.
The presenter gives an example of an ADT with arrays, describing them as collections of data items, often homogeneous with elements of the same type. The array's data and operations are highlighted, including getting and setting elements at specific positions, as well as checking if the array is full or empty.
The limitations of arrays, specifically the inefficiency associated with inserting elements, are addressed. To answer this problem, the video describes linked lists as an alternative ADT. Linked lists are more adaptable as elements can be easily inserted or deleted without the need to shift other elements, due to the use of pointers. The data and operations of linked lists are outlined, including prepending and appending elements, as well as insertion and deletion at specific positions.
The video concludes by promising to explore more data structures in subsequent parts.
Autor/a: Vos Tanja Ernestina
+ Universitat Politècnica de València UPV: https://www.upv.es
+ Más vídeos en: https://www.youtube.com/valenciaupv
+ Accede a nuestros MOOC: https://upvx.es
#adt # array # linked lists # computer science
Video Information
Views
54
Total views since publication
Duration
7:11
Video length
Published
Mar 20, 2018
Release date
Quality
hd
Video definition
Captions
Available
Subtitles enabled
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.