Professional Documents
Culture Documents
EHB208E
1
Grading
Grading Method
Two Midterm Exams: %50
One Homework: %10
Final Exam: %40
2
Bad programmers worry about the code.
• Example: library
– is composed of elements
(books)
– Accessing a particular book
requires knowledge of the
arrangement of the books
What is Data Structures?
In computer science, data structure is a data
organization, management and storage format that
enables efficient access and modification.
• Linear lists
• Trees
• Graphs
CHAR DATA TYPE (ASCII) = 0100 0010 0100 0001 0100 0010 0100 0001
B A B A
16 BIT INTEGER = 0100 0010 0100 0001 0100 0010 0100 0001
16961 16961
32 BIT INTEGER= 0100 0010 0100 0001 0100 0010 0100 0001
1111573057
Understanding Data And Structure
Data = Information
Structure = Organization
Fixed Size
Stacks
One End For Addition And The Other End For Removal
Of Data
Linked List
No Fixed Size
Tree
Consists Of :
• Root Node
• Parent Child Relationship
• Leaf Nodes
Graph
Consists Of:
• Edges
• Vertices
Also known as
Adjacency Matrix
Which Data Structure Is Right For You?