Computer Science, asked by ladlisharma176, 11 hours ago

what is array I programming language? defined it in c, foxpro, BASIC, and VBA with at least one example.

Answers

Answered by swati5321
0

Answer:

An array is a data structure that contains a group of elements. Typically these elements are all of the same data type, such as an integer or string. Arrays are commonly used in computer programs to organize data so that a related set of values can be easily sorted or searched.

Language types. Machine and assembly languages. Algorithmic languages. FORTRAN. ALGOL. C. Business-oriented languages. COBOL. SQL. Education-oriented languages. BASIC. Pascal. Logo. Hypertalk. Object-oriented languages. C++ C# Ada. Java. Visual Basic. Python. ...

Elements of programming. Control structures. Data structures.

The function will also return a value of true if the expression is a numeric expression with a value of zero or a logical expression with a value of false. Not that FoxPro will also return a value of true if the expression is a memo field, and the memo field contains no text.

Basic Operations

Traverse − print all the array elements one by one. Insertion − Adds an element at the given index. Deletion − Deletes an element at the given index. Search − Searches an element using the given index or by the value.

A VBA array is a type of variable. It is used to store lists of data of the same type. An example would be storing a list of countries or a list of weekly totals. In VBA a normal variable can store only one value at a time.

eg : An array is a rectangular arrangement of objects in equal rows (horizontal) and equal columns (vertical). Everyday examples of arrays include a muffin tray and an egg carton. An array of eggs. An array of juice boxes.

Similar questions