100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Resumen

Summary SCC 120 Abstract Data Types Review

Puntuación
-
Vendido
-
Páginas
1
Subido en
20-08-2025
Escrito en
2022/2023

This is a comprehensive and detailed summary on;abstract data types for fundamentals of computer science course. An Essential Study resource just for YOU!!

Institución
Grado








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Estudio
Desconocido
Grado

Información del documento

Subido en
20 de agosto de 2025
Número de páginas
1
Escrito en
2022/2023
Tipo
Resumen

Temas

Vista previa del contenido

Lecture 11 – Abstract Data Types
Abstraction: The removal of layers of detail to simplify a viewpoint.

Encapsulation: The bundling together of methods and data that are used together. Enables data to
be hidden as ‘private’ data types and only accessed through public methods. This a fundamental
principle of OOP and is very useful in



Abstract data types are data structures and types that do not exist as an intrinsic data type or
structure in a language. They must be created by the programmer using other data types and certain
functions to ensure their use.

Most ADTs utilise abstraction to make it easier for the user to use them. An ADT may be provided in
a library in such a way that the user knows how to use the ADT in their code, but not exactly how
they were implemented in the first place. They have an abstracted view of the ADT. This may be
achieved by encapsulating the necessary data and methods in a class.

An example of an ADT is a queue. A queue is a static data structure that may be circular and
operates on a First in, First out basis (FIFO). Data is added to the ‘rear’ and removed from the ‘front’,
both of which are kept track of with pointers. A queue should also be present with the enqueue(),
dequeue() and peek() methods to add and remove data, as well as check what item is at the front of
the queue. There should also be an isEmpty() method to check whether the queue is empty and
size() method to check its size.



Arrays
Arrays aren’t an abstract data type, but they are one of the data types upon which many ADTs can
be built. In some languages, such as Java, the compiler will throw an error if one tries to access
indexes outside the bounds of the array. Others, like C, will not do this and will simply return the
value that happens to be in that index in memory, even though it is not in the array.

Different languages provide different means to loop through arrays. Some languages simply index all
arrays starting from 0. Others let the programmer specify the upper and lower bounds of the array
so that they can be looped though more easily, i.e. position 1 might have an index 18, instead of 0.
Some languages also allow the programmer to use other discrete values, such as characters, as
indexes for and array.
$15.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
anyiamgeorge19 Arizona State University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
60
Miembro desde
2 año
Número de seguidores
16
Documentos
7001
Última venta
2 semanas hace
Scholarshub

Scholarshub – Smarter Study, Better Grades! Tired of endless searching for quality study materials? ScholarsHub got you covered! We provide top-notch summaries, study guides, class notes, essays, MCQs, case studies, and practice resources designed to help you study smarter, not harder. Whether you’re prepping for an exam, writing a paper, or simply staying ahead, our resources make learning easier and more effective. No stress, just success! A big thank you goes to the many students from institutions and universities across the U.S. who have crafted and contributed these essential study materials. Their hard work makes this store possible. If you have any concerns about how your materials are being used on ScholarsHub, please don’t hesitate to reach out—we’d be glad to discuss and resolve the matter. Enjoyed our materials? Drop a review to let us know how we’re helping you! And don’t forget to spread the word to friends, family, and classmates—because great study resources are meant to be shared. Wishing y'all success in all your academic pursuits! ✌️

Lee mas Leer menos
3.4

5 reseñas

5
2
4
0
3
2
2
0
1
1

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes