topic 3

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

encourage image

There's no tags or description

Looks like no tags are added yet.

35 Terms

1
New cards

database

an organised collection of data . allows easy storage, retrieval and management of information

2
New cards

electronic database benefits

  • easier to add, delete , modify and update data

  • data can be backed up and copied easier

  • multiple users, from multiple locations can access the same database at the same time


3
New cards

field

a single piece of data in a record

4
New cards

record

a group of related fields, representing one data entry - a complete row in a table

5
New cards

table

a collection of records with a similar structure

6
New cards

primary key

a unique identifier for each record in a table.

7
New cards

composite key

A combination of 2 or more fields , that is unique for all records

8
New cards

foreign key

a field in a table that refers to the primary key in another table. Used to link tables and create relationships

9
New cards

database management system

software used to manage databases

10
New cards

secondary key

an index other than the primary key used to search and sort through the database

11
New cards

entity

an item of interest about which information is stored

12
New cards

relational database

a database which recognises the difference between entities and uses different table for each entity

13
New cards

flat file database

stores all data in a single table

14
New cards

normalisation

organising a database to reduce data duplication and improving data accuracy and consistency

15
New cards

1st normal form

  • contains only atomic values

  • have no repeating groups

  • have a primary key


16
New cards

atomic values

a single indivisible piece of data

17
New cards

2nd normal form

  • fulfils all 1NF requirements

  • have no partial dependencies


18
New cards

partial dependencies

when an attribute, non key column, depends on only part of the primary key rather than the whole key. Happens when the primary key is composite

19
New cards

3NF

  • fulfil 2nF requirements

  • have no transitive dependencies


20
New cards

transitive dependencies

when an attribute depends on another attribute that is not the primary key

21
New cards

entity relationship diagram

diagram that represents all the entities that will be in a database and the relationships between these entities

22
New cards

referential integrity

idea of keeping a database consistent by ensuring that any changes made to data or relationships associated with a table are accounted for in all the linked tables

23
New cards

what does referential integrity ensure

each foreign key links to an existing primary key or is marked as null

24
New cards

benefits of referential integrity

  • ensures data consistency and accuracy

  • prevents orphaned records


25
New cards

drawbacks of referential integrity

can impact performance due to additional checks

may require additional planning and design

26
New cards

transaction

a sequence of database operations treated as a single unit of work

27
New cards

record locking

a technique used to prevent simultaneous access to data in a database by locking a record when it is being edited or updated

28
New cards

redundancy

when the same piece of data is stored in more than one table in a database

29
New cards

lossless compression

compression algorithm that retains all the data in the file by only storing instructions needed to reconstruct original file

30
New cards

lossy compression

compression algorithm that removes non-essential data from a file leading to noticeable decrease in accuracy of the data

31
New cards

what is run length and dictionary coding a type of

lossless compression

32
New cards

symmetric encryption

an encryption technique where the same key is used to encrypt and decrypt data. A copy of the key must be transferred between both parties

33
New cards

asymmetric encryption

an encryption technique where a public key available to everyone is used to encrypt the data , and the data is decrypted by the paired private key known only to the recipient

34
New cards

hashing

a one-way transformation of data into an abbreviated form called a hash value.

35
New cards

what is the hash value used for

to validate login credentials like passwords of PINs without revealing the original data to hackers