Back to marketplace

Databases IB SL + HL

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

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

Card preview (24)

#1
Front (Question)

Distinction between Data and Information

Back (Answer)

Data is just raw facts, numbers and figures (e.g. 1975) Information is data that has been given a context and meaning. (e.g. The Vietnam war ended in 1975)

#2
Front (Question)

Database

Back (Answer)

An organized collection of structured information.

#3
Front (Question)

What is the software called that creates, defines, and manipulates a database?

Back (Answer)

Database Management System (DBMS)

#4
Front (Question)

What are the things at the top of columns in a database that describe what’s inside that column?

Back (Answer)

Fields/Attributes

#5
Front (Question)

What is a row in a database referred to?

Back (Answer)

A record

#6
Front (Question)

3 Benefits of a database

Back (Answer)

• Enables for processing/querying of data • Can easily generate reports • Standardized (can be used by multiple systems)

#7
Front (Question)

Data Verification (in context of databases)

Back (Answer)

This is the checking that input matches expected values in database E.g. login details of a user matches those stored in the database

#8
Front (Question)

Data Validation (in context of databases)

Back (Answer)

Checks that input follows rules for the type of input entered For example: CVV code should be 3 numerical digits

#9
Front (Question)

Entity

Back (Answer)

A real-world object or person represented by a record in a database

#10
Front (Question)

Primary Key

Back (Answer)

A unique key used to identify a given record in a database

#11
Front (Question)

Foreign Key

Back (Answer)

A field in one table that refers to the primary key field in another table. It is used to connect (relational) databases.

#12
Front (Question)

6 different types of data types in a database

Back (Answer)

• Text: Combination of letters, numbers or symbols. Basically a string. • Character: In individual letter, number or symbol • Boolean: A binary value (True/False, Yes/No) • Integer: A whole number • Real: A decimal number • Datetime: A date and/or time

#13
Front (Question)

Write the SQL to get ProductName from the table Products where the price is more than 20 but less than 25

Back (Answer)

SELECT ProductName FROM Products WHERE Price > 20 AND Price < 25

#14
Front (Question)

Secondary Key

Back (Answer)

Keys that are also capable of functioning as a primary key. Also known as the alternate key.

#15
Front (Question)

2 differences between Primary and Secondary Key

Back (Answer)

Primary Key - Cannot be Null, only one primary key possible Secondary Key - Can be Null, multiple secondary keys possible

#16
Front (Question)

Candidate Key

Back (Answer)

Umbrella term for keys that can uniquely identify each record in a database Both primary and secondary keys are candidate keys

#17
Front (Question)

Composite Primary Key

Back (Answer)

When one field is not enough to uniquely identify records, two fields can function together as the primary key

#18
Front (Question)

Database schema

Back (Answer)

A diagram of how data is organized in a relational database. This means a diagram showing table names, fields, data types of fields, and relationships between tables

#19
Front (Question)

Records can also be referred to as?

Back (Answer)

Tuples

#20
Front (Question)

Referential Integrity

Back (Answer)

This is a feature of relational databases. What this means is every row has a primary key, and that every value in a foreign key column will be found in the primary key of the table from which it originated.

#21
Front (Question)

Concurrency, and what does it use to prevent more than one user accessing the same row/record at the same time?

Back (Answer)

This is the process referred to managing simultaneous updates or transactions at the same time. It ensures updates/transactions occur sequentially to avoid collision between users’ actions. Row locking

#22
Front (Question)

Data Dictionary

Back (Answer)

A file or set of files that stores how the information and tables should be organized and stored in a database

#23
Front (Question)

How does DBMS provide security to a database? (5 ways)

Back (Answer)

• Access Rights • Audit trail (Record of any changes to the database) • Data/Row Locking • Encryption • Backups - Continually updated copes that can be accessed in case the original database is lost or corrupted

#24
Front (Question)

Transaction

Back (Answer)

A sequence of one or more SQL statements that are executed as a single unit of work. A transaction can either be committed (applied to the database) or rolled back (undoing something). Essentially, it allows us to make temporary changes, making data integrity easier.