Back to marketplace

Unit 1.3.2 (Databases)

No description yet. This curated deck is ready for daily study.

Total cards: 21•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (21)

#1
Front (Question)

What are characteristics of a Flat File Database? (4) Hint: Opposite to Relational Database.

Back (Answer)

• Has a single table • • Harder to update • No specialist knowledge needed to operate • Leads to Data Redundency (same data is repeated unnecessarily multiple times)

#2
Front (Question)

What are characteristics of a Relational Database? Remember the one you keep forgetting

Back (Answer)

• Has linked tables which include primary keys and forgein keys to represent relationships • Requires Specalist Knowledge through the use of SQL to create the data structures -Enforces ACID properties by making sure transactions are processed successfully

#3
Front (Question)

What is a primary key? A unique…. Underlined in the…

Back (Answer)

• Primary Key is a unique identifer in a table. Underlined in the entity description

#4
Front (Question)

What’s a foreign key? A ####### key from one table…

Back (Answer)

• A primary key from one table used as an atttribute in another to link tables/ represent a relationship

#5
Front (Question)

What’s referential intregrity? - Every forgein key value must,,,

Back (Answer)

Every foreign key value must match an existing primary key value in the related table Maintains data consistency across the data base

#6
Front (Question)

What is Hashing? A one way, non reversible math…

Back (Answer)

A one-way, non-reversible mathematical algorithm that converts an input of any size into a fixed length value.

#7
Front (Question)

What is a Transaction? Some sort of ####### to the ########. Refers to #######,inserting or ######## data

Back (Answer)

• Some sort of change to the database. Refers to updating, inserting or deleting data

#8
Front (Question)

What does ACID Stand for?

Back (Answer)

Atomic, Consistency, Isolation and Durablity

#9
Front (Question)

What does Atomic and Consistency do? A: A ###### is completely performed or not at ###! C: Ensures no ########## violates any of the defined ########## rules

Back (Answer)

Atomic - A transaction is completly perfomed or not at all! Consistency- Ensures no transaction violates any of the defined validation rules

#10
Front (Question)

What does Isolation and Durablity do? I: ########## happen concurrently, without interferring with ######### D: Once a ######## is finished, its results stay saved in non voliatle storage even if there is a ###### or power #####

Back (Answer)

Isolation -Transactions happen concurrently without interfering with each other Durablity- Once a transaction is finished, its result stays saved in a non-voilatile storage, even if there is a crash or power loss

#11
Front (Question)

What is record locking?

Back (Answer)

• A technique used in databases to prevent multiple users from editing the same record at the same time. This helps prevent problems like lost updates and keeps data consistent.

#12
Front (Question)

What are some characteristics of 1NF? (3) 1. All field names should… 2. Each table needs a… 3. No two records can…

Back (Answer)

• All field names should be unique • Each table needs a primary key • No two records can be identical

#13
Front (Question)

What are some characteristics of 2NF? 1. Must be in… 2. Contains no.. 3. Has a comp…

Back (Answer)

• Must be in first normal form • Contains no partial dependencies • Has a composite key

#14
Front (Question)

What are some characteristics of 3NF? (2). Contains no non…

Back (Answer)

• Must be in second normal form • Contains no non-key dependencies

#15
Front (Question)

What are collisions? When an algorithm generates the same address for… Since two pices of data cannot occupy the same physical space, the…

Back (Answer)

A collision happens when an algorithm generates the same address for different values. Since two pieces of data cannot occupy the same physical space, the system must use a collision resolution technique

#16
Front (Question)

What are the 3 solutions to Collisions? LP… Chaining…LL OA.. OFT

Back (Answer)

Linear Probing: Stores the hash value in the next free slot in the table Chaining: A record will point to a location in a linked list (Or start one) OverFlow Area: This will point to a Overflow Table where new items can be added, these items can still be accessed

#17
Front (Question)

What are Advantages of Hashing? If a hacker steals the dtatabase… Hashing allows direct access ##, meaning…

Back (Answer)

If a hacker steals the database, they only get the hashes. They cannot reverse the hash back into the original password. Hasinng allows direct access 0(1) This means the time taken to find a record stays the same regardless of the size of the dataset

#18
Front (Question)

Define Lossy Compression

Back (Answer)

Permanently removes non-essential data from the file. The file cannot be restored to its original form, resulting in a permanent loss of quality

#19
Front (Question)

Define Lossless Compression

Back (Answer)

Reduces the file size without permanently removing any data. The original file can be fully reconstructed bit-for-bit, meaning no quality is lost.

#20
Front (Question)

Define Symmetric encryption

Back (Answer)

Uses the same key for both encryption and decryption.

#21
Front (Question)

Define asymmetric encryption

Back (Answer)

Uses two different keys. A public key for encryption.A private key for decryption