A level paper 3

9 flashcardsby Mochi
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
Why are user defined variables important
They allow for flexibility to suit specific need within a program
2
Define and use non composite types
Represents a single value with no internal subcomponents Ex. INTEGER, BOOLEAN, REAL

Enumerated data types like

Type
Daysofweek = (Monday, tuesday, wednesday)

Pointer data type
pointer uses ^ it points to the adress where a variable is stored using @ you can derreference by using ^
3
define and use composite types
Multiple components

TYPE (name)
(variable name): (DATA TYPE)
(variable name): (DATA TYPE)
ENDTYPE

Sets, unorderdered and without duplicates
4
Serial files
one after the other in a linear order

Daily logs

marked as deleted without removing it
5
Sequential files
arranged sequentially in predefined order

Order management in eccomerce
needs to be copied into another file to delete
6
Direct access file
Any data can be retrieved at any time
Can be easily deleted by marking it available
7
Hashing algorithm
Achieves direct access, reduce collision by using prime number close to the expected size. Produce seemingly random hashes

Dealing with collisions (Sequential search)(reserved adresses)(linked list accesible from each adress)
8
Floating point representation
Mantissa value is maxed when 2 most relevant bits are different
9
Protocols are important because?
set rules and conventions that allow for data exchange and communication
Study all 9 cards for free