0
0
Intro to Computingfundamentals~10 mins

Database in everyday apps (social media, banking) in Intro to Computing - Flowchart & Logic Diagram

Choose your learning style9 modes available
Process Overview

A database is like a digital filing cabinet that stores information for apps you use every day, like social media and banking. This flowchart shows how data is stored, retrieved, and updated to keep your app working smoothly.

Flowchart
Rectangle
Rectangle
Rectangle
Rectangle
No path:
Rectangle
Rectangle
Rectangle
This flowchart shows how an app interacts with a database: the app asks for data, the database checks if it has it, then either sends it or fetches and stores it before sending.
Step-by-Step Trace - 6 Steps
Step 1: User opens the social media app.
Step 2: App sends a request to the database for user posts.
Step 3: Database checks if posts are stored.
Step 4: Posts are found in the database (Yes branch).
Step 5: Database sends posts data back to the app.
Step 6: User sees posts on the app screen.
Diagram
 +-----------------+       +-----------------+       +-----------------+
 |                 |       |                 |       |                 |
 |     User's      |       |      App        |       |    Database     |
 |    Device       |       | (Social Media)  |       |                 |
 |                 |       |                 |       |                 |
 +--------+--------+       +--------+--------+       +--------+--------+
          |                         |                         |
          | Open app                |                         |
          |------------------------>|                         |
          |                         | Request posts data      |
          |                         |------------------------>|
          |                         |                         | Check if data exists
          |                         |                         |------------------>
          |                         |                         | Yes: Retrieve data
          |                         |                         |<------------------
          |                         | Receive data            |
          |                         |<------------------------|
          | Display posts           |                         |
          |<------------------------|                         |
This diagram shows the three main parts: the user's device, the app, and the database. The app asks the database for data, the database checks and sends it back, and the app shows it to the user.
Flowchart Quiz - 3 Questions
Test your understanding
What happens if the database does NOT have the requested data?
AIt fetches data from an external source and stores it.
BIt sends an error message to the app.
CIt ignores the request.
DIt deletes old data.
Key Result
Databases act like organized storage that apps ask for data from, ensuring quick and reliable access to information users need.