Databases

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/38

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

39 Terms

1
New cards

Database (definition)

A structured collection of data organised and stored electronically in a computer system. Designed to efficiently manage, store, retrieve, and manipulate large volumes of data

2
New cards

What does CSV stand for?

Comma-Separated Values

3
New cards

What does JSON stand for?

JavaScript Object Notation

4
New cards

What does JSON do?

Pulls in CSV files in JavaScript

5
New cards

Name two examples of flat file databases

CSV and JSON

6
New cards

Why are flat file databases not optimal for data about multiple entities?

New data has to be manually inputted. Possible error when inputting new data repeatedly by hand. All records need to be individually updated as it’s not linked

7
New cards

Relational database (definition)

Type of database that stores data in the form of related tables

8
New cards

Features of Relational databases

Allows queries. Updates data in a structured and efficient way. Each table has a unique set of rows and columns. Unlimited amount of people can join

9
New cards

Examples of SQL/Relational databases

Microsoft Access. MySQL

10
New cards

Table (definition)

Collection of data that relates to an entity e.g. students

11
New cards

Record (definition)

A collection of data about a single entity e.g. a student

12
New cards

Field (definition)

A unique piece of data about an entity e.g. student surnames

13
New cards

Field Name (definition)

An identifier for the single piece of data e.g. ‘surnames’

14
New cards

Querying databases meaning

Searching for information from a database. Done using a query language e.g. SQL

15
New cards

What does SQL stand for?

Structured Query language

16
New cards

SQL (definition)

Standardised language for managing relational databases

17
New cards

Primary key (definition)

Field which can be used to uniquely identify each record of the table e.g. exam number

18
New cards

Secondary key (definition)

When there is more than one field which can be used as a unique identifier, one is the primary key and others are secondary keys. E.g. a class ID along with a student ID

19
New cards

Foreign key (definition)

Field in one table that links with a primary key in another table. E.g. one table has student ID, course. The other has student ID, marks.

20
New cards

What is Firebase?

Mobile and web application development platform

21
New cards

What does Firebase provide?

Tools and infrastructure to build and manage apps

22
New cards

What is Firebase used for?

Authentication (validation), hosting, real-time storage/synchronisation, analytics

23
New cards

What is a real-time database?

A database which stores data and updates immediately when new data is added across all copies automatically

24
New cards

Advantages of Firebase

Real-time data synchronisation. Simplified back-end development

25
New cards

Disadvantages of Firebase

Limited querying capabilities. Price based on usage (can be expensive)

26
New cards

Examples of NoSQL Databases

Firebase, Apache Cassandra

27
New cards

Difference between Relational Database and NoSQL

NoSQL uses document-based data storage instead of tabular storage

28
New cards

Where is JSON commonly used?

Web and mobile applications (APIs)

29
New cards

What is the format of JSON?

Key-Value Pair Format

30
New cards

What datatypes does JSON support?

Strings. Numbers. Booleans. Arrays. Objects

31
New cards

What databases does JSON tend to be used in?

NoSQL Databases e.g. Firebase

32
New cards

What is firebase used for?

Backend services for mobile and web apps. Realtime database storage and synchronisation. User authentication. Analytics. Hosting

33
New cards

Advantages of firebase (3)

Real-time data synchronisation. Scalable infrastructure. Simplified backend development.

34
New cards

Disadvantages of firebase

Limited querying capabilities. Vendor lock-in to Google's ecosystem. Pricing based on usage, may become expensive for large-scale applications.

35
New cards

Is firebase a relational database?

No

36
New cards

Difference between Microsoft Access and Firebase (Microsoft Access) (4)

Desk-top based. Manual syncing. Relational database supporting SQL Queries. Stores and manipulates data.

37
New cards

Difference between Microsoft Access and Firebase (Firebase) (4)

Cloud-based. Real-time data syncing. NoSQL database with limited querying. Built-in authentication hosting and analytics.

38
New cards

Use of API Example

Sending and receiving data between servers and applications

39
New cards

Is float the same as real?

Yes