The data science life cycle

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

The data science life cycle

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which list shows the five stages of the data science life cycle in the correct order?
A Define objective, acquire data, clean, analyse, communicate
B Acquire data, analyse, define objective, communicate, clean
2. What is the very first stage of the data science life cycle?
A Acquire data
B Define the objective
3. The data science life cycle is best described as...
A A straight line that you only follow once
B A repeating cycle that can be revisited
4. You start analysing your data and find many missing values. What is the best next step in the life cycle?
A Go back to the clean stage and fix them
B Skip ahead and communicate the results anyway
5. Which stage involves making charts and sharing what you found with an audience?
A Communicate insights
B Acquire data

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1Stage 1: Define the objective ADecide the question you want to answer before touching any data
2Stage 3: Clean the data BThe stages are out of order: you cannot analyse data before you have defined the objective, acquired the data and cleaned it.
3The life cycle has five stages in order, from objective to insights CFix errors, remove duplicates and handle missing values so the data can be trusted
4It is a cycle, not a line: communicating insights can lead to a new question Dcommunicate -> define (repeat)
5analyse -> acquire -> define -> clean -> communicate ETreats the life cycle as a one-way line. Findings can send you back to an earlier stage, so the process repeats.
6Life cycle: define -> acquire -> clean -> analyse -> communicate -> END (never go back) Fdefine -> acquire -> clean -> analyse -> communicate

Definitions

data science life cycle

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
Define -> _______ -> Clean -> Analyse -> Communicate
2.
Define -> Acquire -> _____ -> Analyse -> Communicate
3.
Analyse -> Communicate -> ______
4.
______ runFiveStages() UNTIL questionAnswered
5.
IF needsMoreData ____ GO BACK TO Acquire END IF

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A stage1 ← "define objective"
B stage2 ← "clean data"
C stage3 ← "clean data"
D stage4 ← "analyse data"
E stage5 ← "communicate"
Question 2
A FOR stage ← 1 TO 4
B DISPLAY stages[stage]
C NEXT stage
Question 3
A analyse_data()
B acquire_data()
C clean_data()
D analyse_data()
Question 4
A communicate_insights()
B IF new_question THEN
C STOP
D ENDIF
Question 5
A analyse_data()
B IF results_look_wrong THEN
C check_data_quality()
D GOTO communicate_insights
E ENDIF

Answer Key

The data science life cycle
Section A: Quick Questions
Q1
A — Define objective, acquire data, clean, analyse, communicate
Q2
B — Define the objective
Q3
B — A repeating cycle that can be revisited
Q4
A — Go back to the clean stage and fix them
Q5
A — Communicate insights
Section B: Match the Pairs
Q1
Stage 1: Define the objective → Decide the question you want to answer before touching any data
Q2
Stage 3: Clean the data → Fix errors, remove duplicates and handle missing values so the data can be trusted
Q3
The life cycle has five stages in order, from objective to insights → define -> acquire -> clean -> analyse -> communicate
Q4
It is a cycle, not a line: communicating insights can lead to a new question → communicate -> define (repeat)
Q5
analyse -> acquire -> define -> clean -> communicate → The stages are out of order: you cannot analyse data before you have defined the objective, acquired the data and cleaned it.
Q6
Life cycle: define -> acquire -> clean -> analyse -> communicate -> END (never go back) → Treats the life cycle as a one-way line. Findings can send you back to an earlier stage, so the process repeats.
Section C: Definitions
Q1
data science life cycle — A repeating cycle of five stages: define the objective, acquire data, clean it, analyse it, communicate insights. Findings can send you back to an earlier stage.
Section D: Fill in the Blanks
Q1
Define -> Acquire -> Clean -> Analyse -> Communicate
Q2
Define -> Acquire -> Clean -> Analyse -> Communicate
Q3
Analyse -> Communicate -> Define
Q4
REPEAT runFiveStages() UNTIL questionAnswered
Q5
IF needsMoreData THEN GO BACK TO Acquire END IF
Section E: Spot the Error
Q1
B — The second stage of the life cycle is acquiring data. Cleaning comes third, so stage2 should be "acquire data".
Q2
A — The life cycle has five stages, so the loop must run from 1 TO 5. Stopping at 4 skips the last stage, which is communicating insights.
Q3
A — The cycle starts by defining the objective. Line 1 should be define_objective(). You cannot analyse data before you know what question you are answering.
Q4
C — The life cycle repeats. When communicating raises a new question, the program should go back to define_objective instead of stopping.
Q5
D — If the results look wrong, you should return to an earlier stage such as clean_data to fix the problem. Communicating wrong results would mislead the audience.