Data%20Structure%20Arrays%20and%20Records - PowerPoint PPT Presentation

About This Presentation
Title:

Data%20Structure%20Arrays%20and%20Records

Description:

Data Structure. Arrays and Records. Annie Kanner. Data Structures: Helpful Vocabulary. Data structure: collection of data with related variables. ... – PowerPoint PPT presentation

Number of Views:264
Avg rating:3.0/5.0
Slides: 9
Provided by: technology2
Learn more at: http://www.cs.loyola.edu
Category:

less

Transcript and Presenter's Notes

Title: Data%20Structure%20Arrays%20and%20Records


1
Data StructureArrays and Records
  • Annie Kanner

2
Data Structures Helpful Vocabulary
  • Data structure collection of data with related
    variables.
  • Loops make array processing easier by , -, x, /
  • Histogram diagram representation of a frequency
    array.
  • Field smallest element of named data.

3
Data Structure
  • What is a data structure?
  • A data structure allows computers to store
    information so it can be found in an efficient
    and easy way.
  • Data structures represent sets of data that has
    connections between them.

4
Data Structure Array
  • What is an array?
  • An array is considered the simplest type of data
    structure, it contains fixed-sized data elements.
  • Each array has a subscript that tells what the
    ordinal number of each element from the beginning
    on.

5
Arrays continued
  • A frequency array indicates how many elements
    have the same value within a series of numbers.
  • These types of arrays are one-dimensional because
    the data is organized linearly.

6
Arrays continued again
  • Are there different types of arrays?
  • Yes, another type of array is known as a
    two-dimensional array.
  • They have rows and columns.

7
Records
  • What other data structures are there?
  • Another type of data structure is a record.
  • A record collects data with similar elements
    (fields).
  • Each element or field has a different name.

8
Record continued
  • Elements that are in a record should all be
    somehow related to one subject, but they can have
    different categories.
  • This is unlike an array because in an array
    everything must be the same type.
Write a Comment
User Comments (0)
About PowerShow.com