Tuesday 1 September 2020

Unit 1 Classification of Data, Array

 

Classification of Data

The process of arranging data into homogenous groups or classes according to some common characteristics present in the data is called classification.

For example: During the process of sorting letters in a post office, the letters are classified according to the cities and further arranged according to streets.


Bases of Classification

There are four important bases of classification:

(1) Qualitative Base   (2) Quantitative Base    (3) Geographical Base (4) Chronological or Temporal Base

(1) Qualitative Base

When the data are classified according to a quality or attribute such as sex, religion, literacy, intelligence, etc.



2) Quantitative Base

When the data are classified by quantitative characteristics like height, weight, age, income, etc.

(3) Geographical Base

When the data are classified by geographical regions or location, like states, provinces, cities, countries, etc.

(4) Chronological or Temporal Base

When the data are classified or arranged by their time of occurrence, such as years, months, weeks, days, etc.



Read more: https://www.emathzone.com/tutorials/basic-statistics/classification-of-data.html#ixzz6Wnm7JpBY


Classification of Array.... 
Arrays can of following types:

1. One dimensional (1-D) arrays or Linear arrays
2. Multi dimensional arrays
(a) Two dimensional (2-D) arrays or Matrix arrays
(b) Three dimensional arrays

1. One dimensional (1-D) arrays or Linear arrays:

In it each element is represented by a single subscript. The elements are stored in consecutive memory locations. E.g. A [1], A [2], ….., A [N].

2. Multi dimensional arrays:
(a) Two dimensional (2-D) arrays or Matrix arrays:

In it each element is represented by two subscripts. Thus a two dimensional m x n array A has m rows and n columns and contains m*n elements. It is also called matrix array because in it the elements form a matrix. E.g. A [2] [3] has 2 rows and 3 columns and 2*3 = 6 elements.

(b) Three dimensional arrays:
In it each element is represented by three subscripts. Thus a three dimensional m x n x l array A contains m*n*l elements. E.g. A [2] [3] [2] has 2*3*2 = 12 elements.

No comments:

Post a Comment