Mastering Objects & Data Types in Programming 🖥️
Discover essential data types and object-oriented programming concepts in this comprehensive guide. Perfect for learners aiming to deepen their understanding of data structures!

Universitat Politècnica de València - UPV
54 views • Mar 20, 2018

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
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
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
54
Duration
7:11
Published
Mar 20, 2018
Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now