1,3 Data: Its Reprsentation, Structure And Management Flashcards
What is a character set?
This the complete set of characters that the computer uses
- Generally each character takes up one byte and this is the number of bits used to store it. Each character has its own binary value, which is the code by which the computer recognises it
- However in this system, any document created in one computer will not make sense as the code is interpreted differently. Therefore a standard set of code must be used. Unicode is an example, uses 16 bit code that uses 2 bytes, this makes it possible to represent ver 65,000 characters
What is a byte?
This is a group of binary digits (often 8).
What are the data types?
Numeric data Boolean data Character data String data Date/time data Currency
What is numerical data?
There are 3 data types for numbers
-Short integer takes up 2 bytes, who’s value has a limited range
- A byte can be used but it isn’t a standardised data type, it can be used for any value within the range of 0-99
- Long integer takes up 4 bytes an can have a value with a range that is much wider than that of a short integer
What is Boolean data?
This is data which can have 2 states. The computer uses binary data which consists of bits of information that can have the value of either 0 or 1
-A variable of this data type would hold 2 bytes
What is character data?
A character is anything that is represented in the character set of the computer. Usually stored as a single byte
What is the binary sequence?
It is usually:
128,64,32,15,8,4,2,1
What is an array?
This is a group of variables stored together, with the same identifier name
What is the program for a serial search into an array?
While index t run over 10 times
-This program is supposed to find out the index number of an item of data that the user is looking for
What is a queue?
This is a method of processing data which consists of a start pointer and end pointer
- The start pointer identifies which jobs needs to be done next
- The end pointer indicates where the next job can go
- In this method, the first job in is the first job to be processed. FIFO
What is a stack?
This is a method of processing data which consist of an end pointer only
-This means that jobs are done at the same place as they are added, LIFO
What are the different methods of accessing data?
Serial access
Sequential access
Indexed access
Random access
What are the different methods of organising files?
Serial organisation
Sequential organisation
Random organisation
What is serial organisation?
This is when records are entered in the order of their creation, they are in chronological order
What is sequential organisation?
This is when are ordered in a logical sequence according to a field key. These records are sorted based on key values