StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Abstract Data Structures - Essay Example

Cite this document
Summary
A data type is acknowledged as an abstract data type when it is expressed in terms of processes on it, and its implementation is concealed.In fact, the majority of object-oriented programming languages encompass the characteristics of user defined abstract data types…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER98.8% of users find it useful
Abstract Data Structures
Read Text Preview

Extract of sample "Abstract Data Structures"

DATA STRUCTURES By Table of Contents Introduction A data type is acknowledged as an data type when it is expressed in terms of processes on it, and its implementation is concealed (with the intention that it can be replaced with another application such as effectiveness purposes, as well as this will not change anything in the existing computer program). In fact, the majority of object-oriented programming languages encompass the characteristics of user defined abstract data types. For example in C++ this operation can be performed by using a class that has no protected/public data members (simply private), nor some techniques, nor friends that return references/pointers to some of the private fields (C2, 2008). This paper presents an overview of various abstract data structures that are used in computing. An Overview of Abstract Data Type The design of a computer program can be made much easier and simpler by making use of the abstract data structures. In this scenario, the program’ data and information can be arranged into abstract data structures (or simply ADS). For instance, we can use arrays (where an array is a set or sequence of consecutive memory locations that has the same name and same type) to form a table that has 3 columns and an undefined number of rows, in the scenario of an array with 2 dimensions: 1-a huge amount of rows, and 2three columns. In addition, a vital characteristic of contemporary computer programs is the capacity to operate abstract data structures with measures or techniques that are pre-defined by the software designer or programmer. However, for this purpose data structure should be used cautiously, with consideration, and in detail (Schmalz, 2007). Sometimes the term ‘abstract data structure’ is used in place of abstract data type. The basic idea here is that we are involved in the real structures to store data. In this scenario, the one most simple abstract data structure is the Linked List. Basically, a linked list is described through the techniques that are applied on it, which includes tail, head, cons and is-empty. In addition, a list based data structure is an ordered linear structure. In this scenario, its head is the initial element in line; list data structure tail is the list composed of all the elements besides the first. The cons of an element of a list is the list data structure whose head is that element, as well as whose tail is the unique list. Moreover, a list can be empty; in that scenario it could generate an error if someone attempts to access its tail or head; however an element can be considered to it to have a new list (Huntbach, 1999). What is Abstraction? The fundamental idea of abstraction is that a data type should be described simply in the form of processes that are applicable on objects of its kind, not in scenario of how the category is applied on a real computer (for example, an array or a stack). In this scenario, the objects of a specific category are built and checked simply through processes calls that raise the access functions for that particular type. In addition, it allows the programmers to change the data type without making any change outside the module of code in which that type is defined. Moreover, a common instance of an abstract data structure is a stack. In this case functions can be performed to generate an empty stack, to drive values onto a stack, as well as to pop values from a stack (BookRags, Inc., 2012). Main Features and importance for Computing From the perspective of abstract data structures, an abstract class is a class that does not encompass an application for one or more techniques. In fact, the abstract data structures do not have any direction of what to perform in response of a call to the process that is abstract. In addition, in order to generate an object for the abstract class we need to generate a real subclass and create an object for it to access it (GeekInterview, 2007; BookRags, Inc., 2012; C2, 2008). Additionally, an abstract class can encompass concrete techniques and fields. Actually, an abstract class can work fine without having some abstract techniques. In this scenario, the abstract modifier basically specifies that the class is not instantiated. In addition, we cannot generate an object for object class as it is believed to be utilized in inheritance hierarchy. In this scenario, the abstract class can hold abstract techniques that the inherited class should apply. As well, the abstract class cannot hold an abstract technique however can be defined abstract immediately in an attempt to stop instantiation. Moreover, in order to generate objects we need to make use of new keyword mentioning ultimately the size to deal out the memory. In view of the fact that we do not have knowledge of the size occupied by abstract techniques consequently we are not able to create object for abstract methods (GeekInterview, 2007; BookRags, Inc., 2012; C2, 2008). Furthermore, an abstract class is a partial class (it is a class that performs as Prototype Model for actual classes). In addition, an abstract class can have one or more pure virtual programming functions. Therefore, as being an instantiation of an object of similar class, the compiler is not capable to put the reference for all the member functions, therefore the formation of an object of simpler class (abstract class) can cause compiler error, as well as do not allow a programmer to create it (GeekInterview, 2007; BookRags, Inc., 2012; C2, 2008). Usefulness Abstract data types allow the programmers to create the instances with distinct and well-defined characteristics and operations. In addition, in object-oriented programming languages, abstract data types are known as classes. Consequently, a class is defined with the properties of objects that are the instances in an object-oriented paradigm. Basically, the abstract data types define operations by paying greater attention to the concerned data, their structure, operations and prerequisites. Thus, the object-oriented programming is basically the “programming with abstract data types” for the reason that it combines the functionality of a variety of ADTs to solve a problem. In this scenario, instances (objects) of ADTs (classes) are dynamically generated, destroyed and utilized (Mueller, 1997). Conclusion A data type is acknowledged as an abstract data type when it is expressed in terms of processes on it, and its implementation is concealed (with the intention that it can be replaced with another application such as effectiveness purposes, as well as this will not change anything in the existing computer program). In fact, the majority of object-oriented programming languages encompass the characteristics of user defined abstract data types. This paper has presented a detailed analysis of various “abstract data structures” used in computing. This paper has discussed the importance of abstract data types in object oriented programming languages. References BookRags, Inc., 2012. Abstract Data Types. [Online] Available at: http://www.bookrags.com/research/abstract-data-types-wcs/ [Accessed 28 March 2012]. C2, 2008. Abstract Data Type. [Online] Available at: http://c2.com/cgi/wiki?AbstractDataType [Accessed 25 March 2012]. GeekInterview, 2007. Why can't we create object for an abstract class? [Online] Available at: http://www.geekinterview.com/question_details/50704 [Accessed 28 March 2012]. Huntbach, M., 1999. The List Abstract Data Structure. [Online] Available at: http://www.eecs.qmul.ac.uk/~mmh/ItP/resources/lists.html [Accessed 26 March 2012]. Mueller, P., 1997. 3 Abstract Data Types. [Online] Available at: http://www.desy.de/gna/html/cc/Tutorial/node4.html [Accessed 26 March 2012]. Schmalz, M.S., 2007. PASCAL Programming: § 5: Abstract Data Structures and Files. [Online] Available at: http://www.cise.ufl.edu/~mssz/Pascal-CGS2462/ADS-files.html [Accessed 28 March 2012]. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Abstract Data Structures Essay Example | Topics and Well Written Essays - 1000 words”, n.d.)
Retrieved from https://studentshare.org/information-technology/1446377-the-nature-of-computing
(Abstract Data Structures Essay Example | Topics and Well Written Essays - 1000 Words)
https://studentshare.org/information-technology/1446377-the-nature-of-computing.
“Abstract Data Structures Essay Example | Topics and Well Written Essays - 1000 Words”, n.d. https://studentshare.org/information-technology/1446377-the-nature-of-computing.
  • Cited: 0 times

CHECK THESE SAMPLES OF Abstract Data Structures

Nature of Work Groups With Respect to Organizational Behavior

Most workgroups share external and internal information, exchange data and expertise, discuss current trends, and provide information and feedback to organizational experts, customers, and others outside of the group.... This paper "Nature of Work Groups With Respect to Organizational Behavior" presents a detailed overview and discussion about the nature of workgroups in respect to organizational behavior....
6 Pages (1500 words) Research Paper

The Reliability of Structures

Theoretically structures are referred to those things which have definite shape and size.... structures can be classified into different categories.... Some of these are Natural structures are those that are not built by people.... On the other hand ‘manufactured structures' are usually built by people.... Many of the manufactured structures are modelled in accordance to some natural structures....
17 Pages (4250 words) Essay

Manipulating Data and Structured Programming

An object can be the abstract data type which has a state and behavior both.... This programming method is aimed to improve the quality, clarity, and development time of computer programs through the extensive use of block structures and subroutines instead of simple tests such as GOTO statements resulting in spaghetti code which makes it difficult to maintain and follow (Agarwal, 2009, p.... In the past 60 years, there have been many different ways through… which programming has evolved in collective grouping and manipulating data by spaghetti code, structured programming, modular programming, and object-oriented programming. Spaghetti code is a particular programming code which was initially used in programming....
2 Pages (500 words) Essay

Design Specification for the Structural Health Monitoring System of London Water Supply System

Wireless sensor networks (WSN) provide viable solutions towards monitoring of the environment, health conditions of structures as well as the security and safety of the water.... Building codes and design methods are used to produce structures safe for public utility.... At times, structures are exposed to harsh conditions through loads and the surroundings not planned for during the design process.... structures, therefore, need continuous assessment through various techniques....
9 Pages (2250 words) Case Study

Practical Indexing the ATED in Library

rom the five articles, the abstract presents the key concepts applied in the ATED library management style including the dialect, Pronunciation, broader and narrower terms, related terms, indoctrination, parenthetical qualifier and subject category.... This paper discusses library management system using the ATED Method of Australia....
8 Pages (2000 words) Assignment

Creation of a Data Structure

The paper 'Creation of a Data Structure' focuses on data structures implementation which requires the help of programs.... Contrary to traditional ways of understanding the data structures, which rely upon the static examples and textbook diagrams provide some aspects of the execution of a program.... It is learned that how data structures are created by using computers.... Before the reading of data structure and algorithm, a mental picture about storing the data structure is perceived differently from real storing of data structures....
6 Pages (1500 words) Case Study

Data Structure - Tree-Based Structures and Hash Tables

The data structures connecting records of various files and connecting the records of a file for a given record of a different file can be categorized as stack data structure, queue data structure, sorted list data structure, ring data structure, inverted list data structure, multi-list data structure, and tree data structure.... Although some provide multidimensional data structures such as variants of quadtrees and R-trees and a few also support bit-vectors and multi-table join indexes, most database systems support B-Trees and Hash tables....
9 Pages (2250 words) Coursework

Information Systems and Process of Making Decision

This essay "Information Systems and Process of Making Decision" discusses the assimilated vision of Database, Big data, DSS, and BI within the context of information system and process of making a decision, assisting relevant authorities to be able to create chances of resolving the precise problem.... hellip; Ultimately, Big data, BI, Database, and DSS can be very valuable if well applied in information systems management.... This study gives a highlight of a subset of the fundamentals joined to define an assimilated model necessary for decision making by means of the database, big data, business intelligence, decision sustenance systems as well as organizational erudition....
8 Pages (2000 words) Essay
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us