Back to 课程

Computer Science AS OCR

0% Complete
0/0 Steps
  1. 1-1-structure-and-function-of-the-processor as
    5 主题
  2. 1-2-types-of-processor as
    3 主题
  3. 1-3-input-output-and-storage as
    2 主题
  4. 2-1-systems-software as
    8 主题
  5. 2-3-software-development as
    5 主题
  6. 2-4-types-of-programming-language as
    4 主题
  7. 3-1-compression-encryption-and-hashing as
    3 主题
  8. 3-2-databases as
    3 主题
  9. 3-3-networks as
    8 主题
  10. 3-4-web-technologies as
    13 主题
  11. 4-1-data-types as
    8 主题
  12. 4-2-data-structures as
    4 主题
  13. 4-3-boolean-algebra as
    1 主题
  14. 5-1-computing-related-legislation as
    4 主题
  15. 5-2-moral-and-ethical-issues as
    9 主题
  16. 6-1-thinking-abstractly as
    3 主题
  17. 6-2-thinking-ahead as
    1 主题
  18. 6-3-thinking-procedurally as
    3 主题
  19. 6-4-thinking-logically as
    2 主题
  20. 6-5-thinking-concurrently as
    2 主题
  21. 7-1-programming-techniques as
    9 主题
  22. 8-1-standard-algorithms-and-big-o-notation as
    8 主题
课 8, 主题 3
In Progress

capturing-selecting-managing-and-exchanging-data as

课 Progress
0% Complete

Exam code:H046

Capturing Data

How can data be captured?

  • Data can be captured by a computer in many forms, these include:

    • Forms

    • OMR (Optical Mark Recognition)

    • OCR (Optical Character Recognition)

    • Sensors

    • Barcodes

    • Data Mining

Forms

  • Collect user input

  • Organise data in structured format

  • Common in web applications

a-data-capture-form

A data capture form

OMR (Optical Mark Recognition)

  • Detects marked areas on paper by using a special machine to read the marks

  • Used for exams, surveys, lottery tickets

  • Automates data collection and entry

an-omr-form-being-filled-in

An OMR form being filled in

OCR (Optical Character Recognition)

  • Converts printed or handwritten text into digital format

  • Useful for digitising documents

  • Assists in searching and editing text

Sensors

  • Devices that detect and respond to changes in environment

  • Convert physical signals into digital data

  • Facilitates automated data collection and real-time monitoring

  • Used in various applications:

    • Temperature sensors

    • Pressure sensors

    • Proximity sensors

    • Light sensors

    • Motion sensors

    • Humidity sensors

    • Gas sensors

    • Force sensors

    • Acoustic sensors

    • Magnetic sensors

different-types-of-sensor
different-types-of-sensor-2
different-types-of-sensor-1

Different Types of Sensor

Barcodes

  • Machine-readable representation of data using parallel lines of varying widths and spacings

  • Commonly used for tracking items, inventory management, and point-of-sale systems

  • Two main types:

    • 1D (One-dimensional) barcodes: represent data using parallel lines (e.g. on products in shops)

    • 2D (Two-dimensional) barcodes: use geometric patterns like squares, dots, or hexagons to store data (e.g. QR code)

  • Advantages of Barcodes

    • Fast and accurate data entry

    • Reduces human error

barcode-scanner

A Typical Barcode Scanner

Data Mining

  • Process of discovering hidden patterns, correlations, and insights from large datasets

  • Involves techniques and algorithms from fields like machine learning, statistics, and artificial intelligence

  • Supports decision-making by transforming raw data into valuable information

  • Applications of data mining

    • Marketing: Customer segmentation, market basket analysis, and targeted advertising

    • Finance: Fraud detection, credit scoring, and portfolio management

    • Healthcare: Disease prediction, patient clustering, and drug discovery

    • Manufacturing: Quality control, predictive maintenance, and supply chain optimisation

    • Telecommunications: Network monitoring, customer analysis, and service improvement

Selecting Data

Query By Example (QBE)

  • User-friendly method for constructing database queries using a visual interface

  • Allows users to search for data by providing an example of the desired output

  • Key Features

    • Visual representation: QBE uses a grid or form-based interface, where users can enter criteria in columns representing database fields

    • Intuitive: Users don’t need to learn complex query syntax, making it accessible for non-technical users

    • Flexible: Allows for simple to complex queries, including filtering, sorting, and joining multiple tables

  • How QBE Works

  • Users enter criteria in the appropriate columns or fields in the QBE grid or form

  • The QBE system translates the user’s input into an equivalent SQL query or other query language

  • The query is executed against the database, and the results are displayed to the user

  • Common Query Operations

  • Filtering: Users can specify conditions or criteria in the QBE grid to retrieve specific records (e.g., all customers from a particular city)

  • Sorting: Users can indicate the desired sorting order for the results (e.g., ascending or descending by last name)

  • Joining: Users can combine data from multiple related tables by specifying relationships between the tables in the QBE grid

  • Aggregation: Users can perform calculations or summaries on the data (e.g., counting the number of records, calculating averages, or summing values)

Benefits and Drawbacks of Query By Example (QBE)

Benefits

Drawbacks

Easy to learn and use, even for non-technical users

Less powerful and flexible than SQL for complex queries and data manipulation

Visual interface makes it simple to understand and modify queries

May not support advanced database features, such as stored procedures or triggers

Provides a more accessible way to perform database searches compared to writing SQL queries

Can be slower than SQL queries for large datasets or complex operations

Managing & Exchanging Data

Managing data

  • After a database has been created, there must be easy ways of being able to manage the data, this includes:

    • Add new data

    • Edit/modify existing data

    • Delete data

  • This can be achieved by:

    • A database manipulation language (DML) such as SQL

    • Built in facilities of a Database Management System (DBMS)

Exchanging data

CSV (Comma Separated Values)

  • Simple data exchange format

  • Stores tabular data in plain text

  • Uses commas to separate values

  • Widely supported and easy to parse

<img alt=”code” class=”ContentBlock_figure__vJw2q” data-nimg=”1″ decoding=”async” height=”296″ loading=”lazy” sizes=”(max-width: 320px) 320w, (max-width: 640px) 640w, (max-width: 960px) 960w, (max-width: 1280px) 1280w, 1920w” src=”https://cdn.savemyexams.com/cdn-cgi/image/f=auto,width=3840/https://cdn.savemyexams.com/uploads/2024/04/image321.png” srcset=”https://cdn.savemyexams.com/cdn-cgi/image/f=auto,width=16/https://cdn.savemyexams.com/uploads/2024/04/image321.png 16w, https://cdn.savemyexams.com/cdn-cgi/image/f=auto,width=32/https://cdn.savemyexams.com/uploads/2024/04/image321.png 32w, https://cdn.sa

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注