100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary SCC 120 Abstract Data Types Review

Rating
-
Sold
-
Pages
1
Uploaded on
20-08-2025
Written in
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!!









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
August 20, 2025
Number of pages
1
Written in
2022/2023
Type
Summary

Content preview

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.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
anyiamgeorge19 Arizona State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
60
Member since
2 year
Number of followers
16
Documents
7001
Last sold
2 weeks ago
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! ✌️

Read more Read less
3.4

5 reviews

5
2
4
0
3
2
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions