Y12 Database Flashcards

(71 cards)

1
Q

Entity

A

Thing in a database that has a distinct existence (table)

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

Attribute

A

Characteristic of an entity

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

Relationship

A

How entities are connected (one-to-one, one-to-many, many-to-many)

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

Table

A

Entity of a database; consists of fields and records

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

Field

A

Attribute (column)

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

Record

A

Unique instance of the entity (row)

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

Integer

A

Number data type

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

Float

A

Decimal number data type

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

Boolean

A

True or false data type

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

Text

A

Combination of characters

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

Date

A

Day of a year

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

Primary key

A

Unique identifier for each record

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

Foreign key

A

Links to primary key in another table

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

Composite key

A

Multiple fields combined to form a unique identifier

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

Insert anomaly

A

Occurs when you can’t add new data because related data is missing

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

Update anomaly

A

Updating one record requires multiple updates in different places

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

Delete anomaly

A

Deleting a record unintentionally removes other important data

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

ODBC

A

Standard API for accessing DBMS; allows app integration, data exchange, web services, reporting tools

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

Atomicity

A

All transactions are completed or none are; ensures data integrity

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

Consistency

A

Transactions bring DB from one valid state to another; ensures reliability

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

Isolation

A

Concurrent transactions leave DB in same state as sequential execution

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

Durability

A

Completed transactions remain so; ensures permanence and stability

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

Database documentation

A

Provides structure, design, security, and troubleshooting info

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

Data dictionary

A

Defines attributes of an entity; contains metadata only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
ER diagram
Shows entities, attributes, relationships, and cardinality (crow’s foot notation)
26
Data integrity
Completeness, accuracy, and consistency of data
27
Referential integrity
Ensures relationships between tables remain consistent
28
Domain integrity
Ensures data values fall within a defined set of values
29
Entity integrity
Ensures each record is uniquely identifiable via primary key
30
Currency
How up-to-date the data is
31
Authenticity
Data can be trusted as genuine and untampered
32
Relevance
Degree to which data is applicable and useful
33
Accuracy
Data correctly reflects real-world entities
34
Outliers
Data points different from rest; handled by removal, transformation, imputation
35
Purpose of normalisation
Prevents anomalies and inconsistencies
36
1NF rules
No repeating groups; primary key; atomic values; consistent data types
37
2NF rules
In 1NF; every non-primary attribute depends on whole primary key
38
3NF rules
In 2NF; no transitive dependencies
39
1NF→2NF
Remove repeating groups, identify key, separate non-atomic values
40
2NF→3NF
Identify and remove partial dependencies
41
CREATE TABLE
Defines new table structure
42
ALTER TABLE
Modifies existing table (e.g., add column)
43
DROP TABLE
Deletes table and data
44
SELECT
Retrieves data from tables
45
INSERT
Adds new records into table
46
UPDATE
Modifies existing records
47
DELETE
Removes records (with cascading deletes)
48
Aggregate functions
COUNT, SUM, AVG, MAX, MIN for calculations
49
ORDER BY
Sorts output by chosen column
50
INNER JOIN
Combines data across related tables
51
GROUP BY
Groups rows for aggregate functions
52
Calculated fields
Performs calculations (e.g., price*1.10)
53
Concatenated fields
Combines text (e.g., first + last name)
54
Aliases
Renames fields for readability
55
Ethical data collection
Requires consent, minimisation, transparency, and security
56
Privacy concerns
Encryption, anonymisation, access control
57
Appropriate use of data
Purpose limitation and ethical decision making
58
Reliability of sources
Verification, consistency, metadata, monitoring
59
Acknowledgement of sources
Enhances transparency and credibility
60
Data mining
Finds patterns; must be ethical and transparent
61
Security – privacy
Encryption, access control, secure storage and deletion
62
Backups
Secure backup systems and disaster recovery plans
63
Restricting access
Only authorised users access sensitive data
64
Ownership and control
Defines who owns organisational data
65
Australian Privacy Law
Outlines APPs protecting personal info
66
APP 5
Notification of collection of personal information
67
APP 8
Cross-border disclosure
68
APP 10
Quality of personal information
69
APP 11
Security of personal information
70
APP 12
Access to personal information
71
Relational notation
Represents the structure of a relational database