Data Types and Data Structures

?
  • Created by: PaulUncle
  • Created on: 27-03-15 14:16
Integer
A whole number, with 2-4 bytes allocated to it.
1 of 18
Floating Point Number
A number with a decimal point. 4-8 bytes allocated to it.
2 of 18
Double
A number with a large amount of decimal places but a smaller available range than a float. 4-8 bytes allocated to it.
3 of 18
Character
A single alphanumeric value, represented by part of a character set, such as ASCII. "a" is 01000001 in ASCII.
4 of 18
String
An array of multiple alphanumeric characters. Allocated memory will depend on length of string.
5 of 18
Variable
A stored piece of data, with an allocated storage space and an identifier (name).
6 of 18
Array
A set of data of consistent data types. Each item in the array can be referred to using the index. The first item of the array is at index 0!
7 of 18
Boolean
A data-type which allows for two values, such as "true" or "false".
8 of 18
Serial Access
The stored data is accessed in the order that it occured.
9 of 18
Sequential Access
Storing and accessing data in a predetermined order.
10 of 18
Indexed Sequential Access
Each data-item is given an index upon storage, which is then used to access later. (Like an Array!)
11 of 18
Random Access
Data is stored and accessed in a completely random order.
12 of 18
File-Size Estimation
Sum the sizes of the datatypes in the record, and multiple by then number of records. Then add 10% for overheads, and convert to appropriate size (i.e. bytes to megabytes)
13 of 18
Bit
A boolean value (0 or 1)
14 of 18
Byte
8 bits
15 of 18
Kilobyte
1024 Bytes
16 of 18
Conversion between sizes of bytes
1kb = 1024 bytes, 1Mb = 1024kb, 1Gb = 1024Mb etc.
17 of 18
2D Arrays
Multiple arrays within an array. For example, an array for each record in a file, which then has its own array for each value.
18 of 18

Other cards in this set

Card 2

Front

A number with a decimal point. 4-8 bytes allocated to it.

Back

Floating Point Number

Card 3

Front

A number with a large amount of decimal places but a smaller available range than a float. 4-8 bytes allocated to it.

Back

Preview of the back of card 3

Card 4

Front

A single alphanumeric value, represented by part of a character set, such as ASCII. "a" is 01000001 in ASCII.

Back

Preview of the back of card 4

Card 5

Front

An array of multiple alphanumeric characters. Allocated memory will depend on length of string.

Back

Preview of the back of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Data structures resources »