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

Data structure - 2 (BCA)

Rating
-
Sold
-
Pages
14
Uploaded on
26-08-2025
Written in
2024/2025

Understand the working of stacks, queues, and linked lists. Implement linear data structures using C language. Apply stacks and queues to solve real-world computational problems. Gain knowledge of dynamic memory allocation through linked lists.

Show more Read less
Institution
Course

Content preview

Data structure using-C

Data Structure:
Data structures are the fundamental building blocks of computer
programming. They define how data is organized, stored, and
manipulated within a program. Understanding data structures is very
important for developing efficient and effective algorithms.


What is Data Structure?
A data structure is a storage that is used to store and organize data.
It is a way of arranging data on a computer so that it can be accessed
and updated efficiently.
A data structure is not only used for organizing the data. It is also
used for processing, retrieving, and storing data. There are different
basic and advanced types of data structures that are used in almost
every program or software system that has been developed. So we must
have good knowledge about data structures.
Classification of Data Structure:




1. Linear Data Structure: Data structure in which data elements are

SHIVAKUMAR C.R , A.G.B First Grade College, Davangere 1

, Data structure using-C

arranged sequentially or linearly, where each element is attached to its
previous and next adjacent elements, is called a linear data structure.

Example:

 Array,

 Stack,

 Queue

 , Linked List, etc.

i. Static Data Structure: Static data structure has a fixed memory
size. It is easier to access the elements in a static data structure.

Example: array.

ii. Dynamic Data Structure: In dynamic data structure, the size is not
fixed. It can be randomly updated during the runtime which may be
considered efficient concerning the memory (space) complexity of the
code.

Example: Queue, Stack, etc.

2. Non-Linear Data Structure: Data structures where data elements are
not placed sequentially or linearly are called non-linear data structures. In
a non-linear data structure, we can’t traverse all the elements in a single
run only.

Examples: Trees and Graphs.




SHIVAKUMAR C.R , A.G.B First Grade College, Davangere 2

Written for

Institution
Course

Document information

Uploaded on
August 26, 2025
Number of pages
14
Written in
2024/2025
Type
Class notes
Professor(s)
..
Contains
All classes

Subjects

$5.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
keerthanahn

Also available in package deal

Get to know the seller

Seller avatar
keerthanahn Indian institute of technology Bombay
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
8 months
Number of followers
0
Documents
11
Last sold
-

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

Working on your references?

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

Working on your references?

Frequently asked questions