VNUHCM
Previous lesson Next lesson
  • Learning content
  • Help
    Do you have any questions while learning?
    Learning instructions Frequently asked questions Email for support
    • Tiếng Việt
    • English
    • Member's information
    • Registered courses
    • Log out
  • Cohota
  • HƯỚNG DẪN HỌC TẬP

  • View detail >>
    You have completed 0% of the course
  • HƯỚNG DẪN SINH VIÊN ĐĂNG NHẬP HỆ THỐNG
    • Hướng dẫn đăng nhập
    • Hướng dẫn vào khóa học
  • Introduction
    • Welcome
  • Unit 1: Values
    • Introduction - Unit 1: Values
    • Get Started With Values
    • Play with Values
    • Playground Basics
    • Naming and Identifiers
    • Simulation
    • Strings
    • Constants and Variables
    • Word Games
    • Build a PhotoFrame App
    • Design for People
  • Episode 1: The TV Club
    • Introduction - Episode 1: The TV Club
    • Searching for Content
    • Sharing Personal Information
    • Ordering Online
    • Reflection: Episode 1
  • Unit 2: Algorithms
    • Introduction - Unit 2: Algorithms
    • Get Started with Algorithms
    • Play with Programs
    • Functions
    • Types
    • Parameters and Results
    • Making Decisions
    • BoogieBot
    • Data Visualization
    • Build a QuestionBot App
    • Design an Experience
  • Episode 2: The Viewing Party
    • Introduction - Episode 2: The Viewing Party
    • Accessing the Show
    • Streaming on the Network
    • Reflection: Episode 2
  • Unit 3: Organizing Data
    • Introduction - Unit 3: Organizing Data
    • Get Started with Organizing Data
    • Play with Complex Data
    • Instances, Methods, and Properties
    • Arrays and Loops
    • Structures
    • Enums and Switch
    • Testing Code
    • Processing Data
    • Pixel Art
    • Password Security
    • Visualization Revisited
    • Build a BouncyBall App
    • Design a Prototype
  • Episode 3: Sharing Photos
    • Introduction - Episode 3: Sharing Photos
    • Capturing Images
    • Posting on Social Media
    • Reflection: Episode 3
  • Unit 4: Building Apps
    • Introduction - Unit 4: Building Apps
    • Get Started with App Development
    • Play with App Components
    • Color Picker
    • ChatBot
    • Rock, Paper, Scissors
    • MemeMaker
    • Build an ElementQuiz App
    • Design for Impact
  • Appendix
    • Episode Technical Concepts
    • Glossary
Course overview
Assessment

Progress
Criteria name Weighting (%) Score Progress (%)
Unit 3: Organizing Data

Processing Data

Unit 3: Organizing Data|Play

What you'll build

A system for analyzing survey results.

What you'll learn

  • How to extract information from a data set.
  • That human-generated data often contains errors.
  • How to clean data by transforming it.
  • How to translate data to extract additional information.

Key vocabulary

  • Citation
  • Data cleaning
  • Data transformation
  • Data translation

Introduction

All programs work with some sort of data. Some work with large data sets and derive information from it—for example, predicting the weather based on meteorological instruments around the globe. But data is often collected in a way that can introduce errors. Scientific instruments can fail, sensors can be miscalibrated, and people can reply incorrectly in surveys. If you work with data that might contain errors, you'll need to find strategies to deal with them.

In this lesson, you'll work with a sample data set that contains errors. You'll use multiple methods to clean the data, enabling you to report the most accurate information possible.

Go Build

Open the Processing Data.playground file in your course resources and follow the instructions.

Screenshot of the Processing Data playground

Reflection Questions

What kinds of errors might arise when collecting data from people?

How can a data collection process be designed to minimize errors?

Can you think of ways to measure the accuracy of a data set?

Can you think of errors in data sets that would be difficult or impossible to correct? Is it possible to have a data set that's so corrupted by errors that it's unusable?

Summary

You've learned how you can assess the accuracy of a data set and correct for errors. You've also used and cited third-party code in your algorithms. In the next lesson, you'll apply all your knowledge to create pixel art.

Report error