1,3 Data: Its Reprsentation, Structure And Management Flashcards

0
Q

What is a character set?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What is a byte?

A

This is a group of binary digits (often 8).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the data types?

A
Numeric data
Boolean data
Character data 
String data 
Date/time data
Currency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is numerical data?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Boolean data?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is character data?

A

A character is anything that is represented in the character set of the computer. Usually stored as a single byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the binary sequence?

A

It is usually:

128,64,32,15,8,4,2,1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an array?

A

This is a group of variables stored together, with the same identifier name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the program for a serial search into an array?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a queue?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a stack?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the different methods of accessing data?

A

Serial access
Sequential access
Indexed access
Random access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the different methods of organising files?

A

Serial organisation
Sequential organisation
Random organisation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is serial organisation?

A

This is when records are entered in the order of their creation, they are in chronological order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is sequential organisation?

A

This is when are ordered in a logical sequence according to a field key. These records are sorted based on key values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is random organisation?

A

This is when the records are in a random order, and though there is no sequencing not the placement of the records, there is a predefined relationship between the key of the record and it’s location within the file.

16
Q

What is serial access?

A

This is accessing an unordered file and reading into it from start to finish

17
Q

What is sequential access?

A

This is reading