• 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 3 pages
Exam (elaborations)

Data Structures And Algorithims Questions And Answers

Document preview thumbnail
Preview 1 out of 3 pages

DATA STRUCTURES AND ALGORITHIMS Examples of Linear and Non-Linear Types - Answer- Linear: Array, List, Stack, Que Non-Linear: Tree, Graph Considerations for choosing a Data Structure (5) - Answer- 1. Size of data 2. Speed and manner of data use 3. Data dynamics (how much/frequency of editing/changing) 4. Size of required storage 5. Fetch time of info from data structures Name 6 Common Data structures - Answer- (linear) 1. Lists 2. Arrays 3. Records 4. Trees 5. Tables 6. Graphs What is a data structure? - Answer- The scheme of organizing related information Used to store data in an organized fashion Basic Data Operations (6) - Answer- 1. Traversing 2. Searching 3. Insertion 4. Deletion 5. Sorting 6. Merging Describe the "Divide and Conquer" strategy/algorithm for manipulating data - Answer- 1. Divide problem into sub-problems 2. Find solution to each sub-problem 3. Merge sub-solutions into final solution What is an algorithm? - Answer- A step by step procedure, which defines a set of instructions to be executed in certain order to get the desired output. Important Algorithm Categories/Functions (5) - Answer- 1. Search − Algorithm to search an item in a datastructure. 2. Sort − Algorithm to sort items in certain order 3. Insert − Algorithm to insert item in a datastructure 4. Update − Algorithm to update an existing item in a data structure 5. Delete − Algorithm to delete an existing item from a data structure

Content preview

DATA STRUCTURES AND
ALGORITHIMS
Examples of Linear and Non-Linear Types - Answer- Linear: Array, List, Stack, Que
Non-Linear: Tree, Graph

Considerations for choosing a Data Structure (5) - Answer- 1. Size of data
2. Speed and manner of data use
3. Data dynamics (how much/frequency of editing/changing)
4. Size of required storage
5. Fetch time of info from data structures

Name 6 Common Data structures - Answer- (linear)
1. Lists
2. Arrays
3. Records
4. Trees
5. Tables
6. Graphs

What is a data structure? - Answer- The scheme of organizing related information
Used to store data in an organized fashion

Basic Data Operations (6) - Answer- 1. Traversing
2. Searching
3. Insertion
4. Deletion
5. Sorting
6. Merging

Describe the "Divide and Conquer" strategy/algorithm for manipulating data -
Answer- 1. Divide problem into sub-problems
2. Find solution to each sub-problem
3. Merge sub-solutions into final solution

What is an algorithm? - Answer- A step by step procedure, which defines a set of
instructions to be executed in certain order to get the desired output.

Important Algorithm Categories/Functions (5) - Answer- 1. Search − Algorithm to
search an item in a datastructure.
2. Sort − Algorithm to sort items in certain order
3. Insert − Algorithm to insert item in a datastructure
4. Update − Algorithm to update an existing item in a data structure
5. Delete − Algorithm to delete an existing item from a data structure

Document information

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

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
63
Followers
4
Items
6981
Last sold
6 days 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