ATAR Notes: Forum
VCE Stuff => VCE Technology => VCE Mathematics/Science/Technology => VCE Subjects + Help => VCE Computing: Software Development => Topic started by: speedy on November 15, 2013, 10:50:32 am
-
Does a record only consist of one row of data? For example, a record would store the address, phone number and email of one person and to store details of another person another record would need to be created...?
Therefore, the most efficient way of storing multiple records would be in an array?
Also each column in a record has a set size, right? For example, if I tried to add a number of the size 10 bytes to a column in the record which was set to only allow 2 bytes, the number would get cut off?
Am I on the right track?
Also good luck on the exam everyone! :)
-
A record is a structure that can hold many different data types. Arrays can only hold entries of one data type (for most languages).
For example, a record would store the address, phone number and email of one person and to store details of another person another record would need to be created...?
Records have indexes like arrays, but different data types such as string, int, char can be stored for the one index
Best of luck this arvo!