answersLogoWhite

0


Best Answer

An array element has the same type as the array name.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: An array is a list of data items that all have the same type and the same name?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How can you dicribe array?

An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.


What is the difference between an array of structures and an array within a structure?

The main differences between an array and a structure are: An Array is a collection of similar data items.An array is derived data type.It behave like a built in data type. An array can be increased or decreased. A structure is a collection of dissimilar data items.It is a user defined data types.It must be declared and defined.A structure element can be added if necessary.


What is the purpose of an array?

An array is a sequence of logically related data items. It is a kind of row mad of boxes with each box holding a value . Each box can be accessed by , first box , second box, third box, so on. till the nth box. ( submit by keshaw kumar Bokaro Niit)


A collection of items is a?

set


What restriction must be satisfied by all of the data items represented by an array?

An array is a group of related items that share a common name.All these elements are stored consecutively. An array must be declared before its use in the program. Array size must be specified All Array elements must be assigned to any value for assignment the value. Partial initialization of elements of an array is not allowed. Size must be integer constant enclosed within square brackets The name of the array indicates starting address of an array. Each individual element of array is accessed by a subscript.

Related questions

How can you dicribe array?

An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.An array is when you store several data items with a single name. You only use a number to distinguish the individual items. Or two or more numbers, if you use a multidimensional array.


What is the difference between an array of structures and an array within a structure?

The main differences between an array and a structure are: An Array is a collection of similar data items.An array is derived data type.It behave like a built in data type. An array can be increased or decreased. A structure is a collection of dissimilar data items.It is a user defined data types.It must be declared and defined.A structure element can be added if necessary.


What is the purpose of an array?

An array is a sequence of logically related data items. It is a kind of row mad of boxes with each box holding a value . Each box can be accessed by , first box , second box, third box, so on. till the nth box. ( submit by keshaw kumar Bokaro Niit)


Explain Single dimensional array concepts C programming?

The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)


A collection of items is a?

set


What restriction must be satisfied by all of the data items represented by an array?

An array is a group of related items that share a common name.All these elements are stored consecutively. An array must be declared before its use in the program. Array size must be specified All Array elements must be assigned to any value for assignment the value. Partial initialization of elements of an array is not allowed. Size must be integer constant enclosed within square brackets The name of the array indicates starting address of an array. Each individual element of array is accessed by a subscript.


How do you send an array with Ajax in jquery?

If the task is just to send an array, I would do the following: $.post("test.php", { name: "John", time: "2pm" } ); But if you need to process the returned data, do this: $.post("test.php", { name: "John", time: "2pm" }, function(data){ alert("Data Loaded: " + data); });


What is the purpose of table in computer?

I going to assume you are asking what is the purpose a table in a computer as it relates to programming. "Table" in programming is a another name for "array". An array can be thought of as a storage method for a series of similar data items that are accessed via a subscript value. Here is an example of a very simple array with first 3 subscripts: Array Name = First Names (contains 5000 data items) data item 1 "tom" data item 2 "frank" data item 3 "steve" .............................. data item 5000 'zeke" Now, in my program I could refer to each data item as "data item 1" or "data item 2", and so on. This is very tedious and would generate thousands of lines of code if I wanted to reference all 5000 data items. A much better way would be to reference the data item by First Names (the array name) using a subscript value of 1 to 5000. I could set a the subscript value to 1 ( I will use the variable called sub) and do something like move First Names (sub) to print. Then I would just keep adding 1 to sub and execute the same move over and over again until all 5000 are printed using the same move.


Qbasic programmig for displaying ten name?

3 x EXAMPLES OF QBASIC CODE WHICH USES 'INTERNAL' DATA STORAGE/WHERE THE DATA IS BEING STORED INSIDE OF THE ACTUAL PROGRAM ITSELF====QBASIC CODE: EXAMPLE/VERSION 3: PRINTING USING A MIXTURE OF ARRAY VARIABLES/DATA STATEMENTS LIST/LOOPSEXPLANATION: This is a QBASIC programming technique which is used, regularly.DATA statements need to be READ going all the way from 'top down to bottom' until when you can find whichever specific item that it is you want; this makes accessing such data 'slow'; especially, if the list of DATA statements tends to be very long to go READ through.However, multi-compartment array variables...because each one has an index number: (n)...therefore, providing you already know which specific data item it is you want/together with it's related array name/index number...then, it's possible to access that data, immediately; without having to read through the entire array going all the way from 'top down to bottom'.So, one way to resolve this problem of speeding up data access, is to use a FOR/NEXT loop to READ through the entire DATA statements list...whilst, at the same time, storing each data statement value inside of an array compartment, instead; and, then, we can can now get to access the data simply by calling it through the array. For example, if we already know that the 6th data item is "Agatha"; and, it's already been stored inside of the array called: names$...then, we can instantly access that particular data item by using the statement...PRINT names$(6)...output...Agatha====='*** set up a multi-compartment array variable to hold each of 10 names...DIM names$(10)'*** READ into each array compartment a name value using a FOR/NEXT loop...RESTORE '...position the internal data pointer'................to READ from 'start' of DATA statements listFOR eachNameNo%=1 TO 10READ names$(eachNameNo%) '...initialise array compartments with valuesNEXT'*** PRINT out each array compartment name value using a FOR/NEXT loop...CLS '...(CL)ear the (S)creenFOR eachNo%=1 TO 10PRINT eachNo%;"> "; '...print out each FOR/NEXT loop numberPRINT names$(eachNo%) '...print out each array compartment name valueNEXTEND '...END of program/halt program code execution'*** data statements list...DATA "Jack","Jill","Tom","Dick","Harry","Arnold","Agatha","Joe","Jeremy","Jessica"


What is the main difference of an array and a record?

An array is a series of one or more same type items, while a record (or structure) is a series of one or more different or same type items. A series of test results from a group of students is an example of an array. The information about the student, such as name, home room, and course details, is an example of a record. You can also have arrays within records, as well as records within arrays. It all comes down to what data you want to describe.


Why you use array in c language?

The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.


What is non linear array?

What is ARRAY, explain its typesARRAY: -It is the combination of same data type or if same data is needed more then none time then we use array.Types Normally there are two types of array.(1) One dimensional array(2) Two dimensional array(1) One dimensional array: -This array is in form a list (vertical\Horizontal) the data input output or process in one dimensional array with the help of loop.The syntax of one dimensional array will be as:Array name [strength]For exampleA [5];The structure of above syntax will be as:A (0)A (1)A (2)A (3)A (4)(2) Two dimensional array: -Two dimensional array is also called a table because it consist of rows and columns. The syntax of two dimensional arrays will be as:Data type array name [rows] [columns]For exampleInt [3] [2];The structure of above syntax will be as:A [0] [0] A [0] [1]A [1] [0] A [1] [1]A [2] [0] A [2] [1]The data input output are process in this array with the help of nested loop.