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

Data Structures full notes

Rating
-
Sold
-
Pages
90
Grade
A+
Uploaded on
18-09-2024
Written in
2024/2025

Data Structures full notes

Institution
Bsc. Computer Science
Course
Bsc. Computer science











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

Written for

Institution
Bsc. Computer science
Course
Bsc. Computer science

Document information

Uploaded on
September 18, 2024
Number of pages
90
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

9/18/24, 1:39 Data Structures full
PM notes




DATA STRUCTURES

UNIT I
Data structure is a particular way of organizing data in a computer so that it
can be used effectively.

Data Structures are widely used in almost every aspect of Computer Science i.e.
Operating System, Compiler Design, Artificial intelligence, Graphics and many
more.

Data Structures are the main part of many computer science algorithms as they
enable the programmers to handle the data in an efficient way. It plays a vital
role in enhancing the performance of a software or a program as the main
function of the software is to store and retrieve the user's data as fast as possible

Example of data structures

1. Arrays

An array is a structure of fixed-size, which can hold items of the same
data type. It can be an array of integers, an array of floating-point
numbers, an array of strings or even an array of arrays (such as 2-
dimensional arrays). Arrays are indexed, meaning that random access is
possible.

2. Linked Lists

A linked list is a sequential structure that consists of a sequence of
items in linear order which are linked to each other. Hence, you have to
access data sequentially and random access is not possible.




about:blan 1/90
k

,9/18/24, 1:39 Data Structures full
PM notes




3. Stacks

A stack is a LIFO (Last In First Out 4 the element placed at last can
be accessed at first) structure which can be commonly found in many
programming languages. This structure is named as 5stack” because it
resembles a real-world stack 4 a stack of plates.

4. Queues

A queue is a FIFO (First In First Out 4 the element placed at first can
be accessed at first) structure which can be commonly found in many
programming languages. This structure is named as 5queue” because
it resembles a real-world queue 4 people waiting in a queue.

5. Trees

A tree is a hierarchical structure where data is organized hierarchically
and are linked together. This structure is different than a linked list
whereas, in a linked list, items are linked in a linear order.

6. Graphs

A graph consists of a finite set of vertices or nodes and a set
of edges connecting these vertices.




Elementary Data Organization

Data: Data can be defined as an elementary value, for example, student's name
and his roll number are the data about the student.

Group Items: Data items which have subordinate data items are called Group
item, for example, name of a student can have first name and the last name.




about:blan 2/90
k

,9/18/24, 1:39 Data Structures full
PM notes




about:blan 3/90
k

, 9/18/24, 1:39 Data Structures full
PM notes




Examples: int, float, double Examples: stacks, queues, tree




Categories of data structure
Data structures can be classified as follows




Primitive Data Structures

These are the structures which are supported at the machine level, they can be

used to make non-primitive data structures. These are integral and are pure in

form. They have predefined behavior and specifications.


Examples: Integer, float, character etc




about:blan 4/90
k
$14.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
EXAMSHAVEN1

Also available in package deal

Thumbnail
Package deal
Bsc. Computer science (BCS2B02)
-
22 2024
$ 249.28 More info

Get to know the seller

Seller avatar
EXAMSHAVEN1 Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
2
Member since
1 year
Number of followers
0
Documents
873
Last sold
5 months ago
A+ GRADE FOR NURSING EXAMS

Success is the sum of small efforts - repeated day in and day out. I am here to help in the precise way possible. Day in day out I will be updating you \'all with the latest exams not only in nursing but also in other areas. Don\'t forget to check out my store and recommend it to a friend. I will be uploading LATEST TESTBANKS TOO.

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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

Frequently asked questions