Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

DATA STRUCTURES IN PROGRAMMING EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
2
Grade
A
Uploaded on
28-07-2025
Written in
2024/2025

DATA STRUCTURES IN PROGRAMMING EXAM QUESTIONS AND ANSWERS

Institution
DATA STRUCTURES
Course
DATA STRUCTURES

Content preview

DATA STRUCTURES IN
PROGRAMMING EXAM QUESTIONS
AND ANSWERS



Array - Correct Answers -Is a collection of items stored together in memory locations.
The idea is simply to store multiple items of the same type together.

Linked List - Correct Answers -Is a linear data structure, in which the elements are not
stored at contiguous memory locations. Simply, a linked list consists of nodes where
each node contains a data field and a reference to the next node in the list.
Binary Tree - Correct Answers -Is a tree whose elements have at most 2 children. Since
each element in a binary tree can have only 2 children, you would typically name them
the left and right child. The Binary Tree node also contains the data, pointer to the left
and pointer to the right.

Binary Search Tree - Correct Answers -Is a node-based binary tree data structure which
shows the left sub tree of a node and contains only nodes with keys lesser than the
node's key. The right sub tree of a node contains only nodes with keys greater than the
node's key and the left and right sub tree each must also be a binary search tree.

Heap - Correct Answers -Is a special Tree-based data structure in which the tree is a
complete binary tree. Generally, Heaps can be of two types: A Max Heap or a Min
Heap.

Stack - Correct Answers -Is a linear data structure which follows a particular order in
which the operations are performed. The order could be LIFO (Last In First Out) or FILO
(First In Last Out).

Queue - Correct Answers -Is a linear structure which follows a particular order in which
the operations are performed. The order is First In First Out (FIFO). A good example of
a queue is any queue of consumers for a resource where the consumer that came first
is served first. The difference between stacks and queues is in removing. In a stack we
remove the item the most recently added; in a queue, we remove the item the least
recently added.

Hashing - Correct Answers -Is an important Data Structure which is designed to use a
special function called the Hash function which is used to map a given value with a

Written for

Institution
DATA STRUCTURES
Course
DATA STRUCTURES

Document information

Uploaded on
July 28, 2025
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.99
Get access to the full document:

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

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.
millyphilip West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
2921
Member since
4 year
Number of followers
1958
Documents
44266
Last sold
1 hour ago
white orchid store

EXCELLENCY IN ACCADEMIC MATERIALS ie exams, study guides, testbanks ,case, case study etc

3.6

551 reviews

5
239
4
87
3
104
2
32
1
89

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 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