You must complete Graphics: Introduction to CorelDRAW to unlock this Lesson.

BASIC PROGRAMMING: ONE-DIMENSIONAL ARRAY

CONTENT

  1. Defining One-dimensional Array
  2. Operations on an Array
  3. Review of the (i) FOR-NEXT Statement, WHILE…END Statement, etc.

 

What is an Array?

An array is a group of data items given the same name for processing. Students’ scores in some subjects, when listed or arranged under a name, constitute an array.  OR

An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier. Also arrangement of items of computerized data in tabular form for easy reference and identification is regarded as an array.

 

Defining One-dimensional Array

An array whose values or items are arranged in only one direction is referred to as one-dimensional array. It is also called a linear list. E.g.  [2, 4, 3, 6, 7, 10, 12], [Ade, Ngozi, Zainab, Bello]

Numeric array:

It contain a set of numbers. The set is given a single name and each number in the array is called an element of the array.

Lesson tags: Computer Science Lesson Notes, Computer Science Objective Questions, SS3 Computer Science, SS3 Computer Science Evaluation Questions, SS3 Computer Science Evaluation Questions Second Term, SS3 Computer Science Objective Questions, SS3 Computer Science Objective Questions Second Term, SS3 Computer Science Second Term
Back to: COMPUTER SCIENCE/ICT – SS3 > Second Term
© [2022] Spidaworks Digital - All rights reserved.
error: Alert: Content is protected !!