MODULE 1: DATA STRUCTURE AND ALGORITHMS

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

24 Terms

1
New cards

DATA STRUCTURE

A data structure is an arrangement  of data in a computer’s memory or disk storage space.

2
New cards

Linear

there is a unique first and unique last  element and every other element has a unique  predecessor and a unique successor.

3
New cards

Non-Linear

There is no unique first or last element.

4
New cards

Sequential Access

Elements  must  be  accessed  in some specified order.

5
New cards

Direct Access

Elements can be accessed at  random, in any order. Any element can be  accessed without accessing its predecessor or  successor.

6
New cards

Homogenous

All the elements in the structure  are of the same data type.

Ex. Arrays

7
New cards

Heterogenous

The  elements  in  the  structure  are of different data types.

Example: Record in C++

8
New cards

DATA STRUCTURE OPERATIONS

Traversing

Searching

Inserting

Deleting

Ordering

Categorizing

9
New cards

Traversing

Accessing each record exactly  once in order that same items in the records may be processed.

10
New cards

Searching

Finding the location of the record with  a given unique identifier or finding the locations of all records, which satisfy one or more conditions.

11
New cards

Inserting

Adding a new record to the  structure.

12
New cards

Deleting

Removing a record from the  structure.

13
New cards

Ordering

Arranging of items in some  sequence and/or in different sets, and accordingly.

14
New cards

Categorizing

Grouping and labelling items with similar properties together.

15
New cards

ALGORITHM

Algorithm can  be  defined  as  a  sequence  of definite and effective instructions, which terminates with the production of correct output  from the given input.

16
New cards

SPECIFYING ALGORITHM

Plain English

Programming Language

Pseudocode – an outline of a program written in a form that can be  easily converted into real programming language.

17
New cards
18
New cards
19
New cards
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards