Week 1: Introduction To Database Systems Flashcards

1
Q

Define Data.

A

Raw facts and figures that are collected for reference or analysis, when organised it may be transformed into information.

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

Give 3 examples of data.

A
  • Numbers (e.g., 5, 10)
  • Text (e.g., “Alice”)
  • Dates (e.g., “2025-04-22”)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Data can be used in ___________, ___________ and __________________

A
  • Analysis
  • Processing
  • Stored in databases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

__________ is an organized collection of data designed to meet users’ needs, it helps store, retrieve, and manage information efficiently.

A

Database

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

Give 3 examples of Database.

A
  • MySQL
  • PostgreSQL
  • MongoDB
  • Oracle Database
  • SQLite
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Give purposes of a database.

A
  • Efficient storage
  • Retrieval
  • Management of data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

____________ is a simplified model of the real world, representing only the data needed for a specific application.

A

Mini-World

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

Give an example of Mini-World.

A

A database for a university system might model students, courses, and enrollments, but not staff members or external entities.

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

What does DBMS stand for?

A

Database Management System

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

What is DBMS?

A

A software that manages databases and provides tools to store, retrieve and manipulate data.

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

What are some functions of DBMS?

A
  • Data storage
  • Query processing
  • Security & Access control
  • Backup & Recovery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Examples of DBMS.

A
  • MySQL
  • PostgreSQL
  • Oracle
  • MongoDB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

3 advantages of Database

A
  • Reduced data redundancy
  • Easier modification and updating
  • Better access to data and information
  • Better overall protection of the data
  • Shared data and information resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

3 disadvantages of Database

A
  • High cost of purchasing and operating a DBMS in a mainframe operating environment.
  • Increased cost of specialised staff.
  • Increased vulnerability.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Difference between Data & Database.

A
  • Data is individual facts.
  • Database is structure storing & managing those facts.

Example: ”CS101” is the data & course table is the database.

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

_____________________ is the levels of data organization from smallest to largest.

A

Hierarchy of Data

17
Q

Data Hierarchy (Bottom to Top)

A
  1. Bit
  2. Characters
  3. Field
  4. Record
  5. Table/File
  6. Database
18
Q

How many bits make a byte?

19
Q

_________ is the basic building block of information, represented by a byte

It is also the smallest in Hierarchy of data.

20
Q

______ is a group of characters that make up a single piece of data.

21
Q

_________ is a collection of related fields.

22
Q

________ is the collection of related records.

23
Q

_________ is a collection of integrated and related files/tables.

24
Q

Give an example of Data Hierarchy.

A
  • Bit: 0
  • Character (Byte): “A”
  • Field: FName = “Alice”
  • Record: FName, Age, ID
  • File: Students File
  • Database: University Database
25
Example of a ** Conceptual Data Model**.
**Entities** (**Attributes**): - **Student** (StudentID, Name, Age) - **Course** (CourseID, Title, Credits) - **Enrollment** (EnrollmentID, StudentID, CourseID, Grade) **Relationships:** - **Student** *enrolls* in **Course** - **Course** *has many* **Students** via **Enrollment** **Example:** - **Alice** (*StudentID: 1*) - **CS101** (*CourseID: C1*) - **Enrollment**: Alice → CS101 → Grade: A
26
**___________** is a **generalized class** of **people**, **places**, or **things/objects** for which **data** are **collected**, **stored**, and **maintained**.
**Entity**
27
**____________** is a **characteristic** of an **entity**, meaning **something** the **entity** is **identified by**.
**Attribute**
28
**______** is a **field** or **set of fields in a record that is used to identify the record.
**Keys**