• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

Module 1: Introduction to Data Structures and Algorithm Questions and Answers

Document preview thumbnail
Preview 1 out of 2 pages

Module 1: Introduction to Data Structures and Algorithm Data Structure - Answer- a particular way of storing and organizing data in a computer so that it can be used efficiently; physical implementation of abstract data type Linear Data Structure - Answer- elements form a sequence or a linear list Non-Linear Data Structure - Answer- elements does not form a sequence or a linear list. Traversal - Answer- travel through the data structure Search - Answer- traversal through the data structure for a given element Insertion - Answer- Adding new elements to the data structure Deletion - Answer- removing an element from the data structure Sorting - Answer- arranging the elements in some type of order Merging - Answer- combining two similar data structures into one Arrays - Answer- linear data structure; a sequence of n items of the same data type that are stored contiguously in computer memory and made accessible by specifying a value of the array's index Properties of Arrays - Answer- fixed length, contiguous memory locations, direct access, insert/delete Linked List - Answer- linear data structure; a sequence of zero or more nodes each containing two kinds of information: some data and one or more links called pointers to other nodes of the linked list Properties of Linked Lists - Answer- dynamic length, arbitrary memory locations, access by following links, insert/delete Stacks - Answer- linear data structure; uses last in first out (LIFO) ordering and allows reading and writing on the top element only Properties of Stacks - Answer- insertion/deletion can be done only at the top, LIFO Two operations in Stacks - Answer- push and pop Queues - Answer- linear data structure; collection with access only to t

Content preview

Module 1: Introduction to Data
Structures and Algorithm
Data Structure - Answer- a particular way of storing and organizing data in a
computer so that it can be used efficiently; physical implementation of abstract data
type

Linear Data Structure - Answer- elements form a sequence or a linear list

Non-Linear Data Structure - Answer- elements does not form a sequence or a linear
list.

Traversal - Answer- travel through the data structure

Search - Answer- traversal through the data structure for a given element

Insertion - Answer- Adding new elements to the data structure

Deletion - Answer- removing an element from the data structure

Sorting - Answer- arranging the elements in some type of order

Merging - Answer- combining two similar data structures into one

Arrays - Answer- linear data structure; a sequence of n items of the same data type
that are stored contiguously in computer memory and made accessible by specifying
a value of the array's index

Properties of Arrays - Answer- fixed length, contiguous memory locations, direct
access, insert/delete

Linked List - Answer- linear data structure; a sequence of zero or more nodes each
containing two kinds of information: some data and one or more links called pointers
to other nodes of the linked list

Properties of Linked Lists - Answer- dynamic length, arbitrary memory locations,
access by following links, insert/delete

Stacks - Answer- linear data structure; uses last in first out (LIFO) ordering and
allows reading and writing on the top element only

Properties of Stacks - Answer- insertion/deletion can be done only at the top, LIFO

Two operations in Stacks - Answer- push and pop

Queues - Answer- linear data structure; collection with access only to the term that
has been present the longest; uses first in first out

Document information

Uploaded on
August 18, 2024
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$9.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
Freshy
3.6
(11)
Sold
65
Followers
4
Items
6964
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions