DS Important
DS Important
Introduction
Course Code: CSC2106
Course Title: Data Structure
About Me
Research Interest
Internet of Things (IoT)
Mobile Ad Hoc Networks (MANETs)
Wireless Sensor Networks (WSNs)
3
Lecture Outline
Vision
AMERICAN INTERNATIONAL UNIVERSITY-BANGLADESH (AIUB) envisions
promoting professionals and excellent leadership catering to the technological progress and
development needs of the country.
Mission
AMERICAN INTERNATIONAL UNIVERSITY-BANGLADESH (AIUB) is committed to
provide quality and excellent computer-based academic programs responsive to the
emerging challenges of the time
It is dedicated to nurture and produce competent world class professional imbued with strong
sense of ethical values ready to face the competitive world of arts, business, science, social
science and technology.
5
Goals of AIUB
Vision
Provides leadership in the pursuit of quality and excellent computer education
and produce highly skilled and globally competitive IT professionals.
Mission
Committed to educate students to think analytically and communicate
effectively; train them to acquire technological, industry and research-oriented
accepted skills; keep them abreast of the new trends and progress in the world
of information communication technology; and inculcate in them the value of
professional ethics.
7
Goals of CS Department
Enrich the computer education curriculum to suit the needs of the industry-
wide standards for both domestic and international markets
Equip the faculty and staff with professional, modern technological and
research skills
Upgrade continuously computer hardware's, facilities and instructional
materials to cope with the challenges of the information technology age
Initiate and conduct relevant research, software development and outreach
services.
Establish linkage with industry and other IT-based organizations/institutions
for sharing of resources and expertise, and better job opportunities for
students
8
Course Evaluation
Classroom Policies
Late in Class:
Student coming after 10 minutes of due time is considered late.
1 late attendances are considered as one absent.
Late during quiz is not given additional time.
Students who are regularly late might have additional deduction of marks.
A late student will be allowed to enter the class.
Don’t ask permission to enter the class, just get in slowly and silently.
To leave class you will need to ask for permission.
10
Attendance
Makeup Evaluation
Grading Policies
All the evaluation categories & marks will be uploaded to the VUES within one
week of the evaluation process except the attendance & performance, which will be
uploaded along with the major (mid/final term) written exam marks.
Letter grades ‘A+’ through ‘F’ is counted as grades. Other grades ‘I’ and ‘UW’ are
considered as temporary grades which are counted/calculated as ‘F’ grade in the
CGPA. These grades must/will be converted to the actual grades, i.e. ‘A+’ through
‘F’.
‘I: INCOMPLETE’ is given to students who have missed at most 30% of
evaluation categories (quiz/assignment/etc.). Students must contact the course teacher
for makeup, through valid application procedures immediately after grade release.
‘UW: UNOFFICIAL WITHDRAW’ is given when the missing evaluation
categories are too high (more than 30%) to makeup. A student getting ‘UW’ has no
option but to drop the course immediately after grade release
13
Grading Policies…
Once a student’s gets ‘I’ or ‘UW’ and unable to fulfill the requirements with the
course teacher for makeup, must drop the course within officially mentioned time
period from the registration department.
Students in probation or falls into the probation due to ‘I’/’UW’ grade are not
allowed to drop the course.
Unable to do so will result in the automatic conversion of the grades ‘I’/’UW’
to ‘F’ grade after the 4th week of the following semester.
Any problem with the mark/grade must be consulted with the course teacher
within one week of the release of grades.
14
Dropping Course
Must fill up the drop form and get it signed by the course teacher, write an
application to the vice chancellor and get it signed by the department Head,
and finally submit the form & application to the registration department.
The course teacher must write down the grades (if any) obtained in midterm,
final, and grand total on the drop form.
No drop is accepted during the following periods:
One week before midterm exam – grade release date of midterm
exam.
One week before final term exam – grade release date of final grade.
Student with ‘F’ grades in midterm, final term, or grand total cannot drop.
Probation student are not allowed to drop any course.
15
Contacts
Update & correct your email address & phone number at VUES, as the
teacher will contact/notify you of anything regarding the course through these
information in VUES.
16
Finally
For any problems that could not be solved/understood during the lecture,
students are advised to contact during the consultation hours and solve the
problem
Always check/visit the AIUB home page for notices, rules & regulations of
academic/university policies and important announcement for deadlines (Course
drop, Exam permit, Exam Schedule, etc.).
17
Course Prerequisite
Using IDE.
Basic conception of Data Storage, Data types, Variable, Array (single &
multidimensional), Pointers, String, Functions, Recursion, Scope of variable &
function, etc.
Course Objective
The objective of this course is to introduce the subject of data structures with
the explanation of how data can be stored or manipulated in computer in an
optimized way.
Data structure is required for all areas of computer science – especially for
the basic concept of programming.
This course will give the basic for the understanding of the courses –
Algorithms, Database, Artificial Intelligence, object oriented programming,
etc.
This course will give the basic for the understanding of the concepts – Data
storage, converting data into information, manipulation of data, etc.
20
Course Content
Mid-term
Arrays [1D & 2D]
Pointer, String, Structure
Stack & Queue
Application of Stack & Queue
Searching & Sorting
Final-term
Linked Lists [Singly & Doubly]
Introduction to Trees
Binary Search Tree, Heap Tree
Introduction to Graphs
Generating Minimum Spanning Tree from Graph [Prim’s & Kruskal’s Algorithms]
Graph Traversals [BFS & DFS]
Data & Structures
What is Data?
o Data means raw facts or information that can be processed to get results.
What is Structure?
o Some elementary items constitute a unit and that unit may be considered as a
structure.
o A structure may be treated as a frame where we organize some elementary items
in different ways.
Data Structures
Definition
Types of Elementary data items: Character, Integer, Floating point numbers etc.
However, a data structure may be an element of another data structure. That means
a data structure may contain another data structure. For example: Array, Structure,
Stack, etc.
Basic
o Insertion (addition of a new element in the data structure)
o Deletion (removal of the element from the data structure)
o Traversal (accessing data elements in the data structure)
Additional
o Searching (locating a certain element in the data structure)
o Sorting (Arranging elements in a data structure in a specified order)
o Merging (combining elements of two similar data structures)
o Etc.
Algorithm
Definition
Set of instructions that can be followed to perform a task. In other words, sequence
of steps that can be followed to solve a problem.
o The third section is output, where we display or get the result with the help of
the previous two sections.
Program
Like an algorithm, generally a program has three sections such as input, processing
and output.
For a particular problem (usually for a complex problem), at first we may write an
algorithm. Later, the algorithm may be converted into a program.
In a program usually we use a large amount of data. Most of the cases these data are
not only elementary items, where exists structural relationship between elementary
data items.
o That means the program uses data structures.
Books
1. https://en.wikipedia.org/wiki/Data_structure