Results for “sensor data”

Showing 1–10 of 13

  1. Challenge

    File name from data

    Build eng-2_2026-03-14.csv from a sensor ID and a date, then turn a name like Star Tracker A into a safe file name, and put the file in a folder of its own.

    Write the code Easy 3 stages strings f-strings lower replace
  2. Challenge

    What arrived?

    A sensor packet mixes text, numbers and text that only looks like numbers. Predict what type() shows, find the values that need converting, then convert a packet yourself.

    Write the code Easy 3 stages type() data types type conversion sensor data
  3. Challenge

    Missing reading

    Extend the alert check from "Alert level" so a sensor that didn't answer, None, prints NO DATA instead of crashing, without treating a real 0 as missing, then do the same for an empty field in a…

    Write the code Medium 2 stages if else None is None
  4. Challenge

    Telemetry pipeline

    A small but complete data pipeline: read the telemetry CSV, reject rows with unknown sensors or broken values and say why, flag readings outside each sensor's limits, and save a JSON summary for the…

    Write the code Hard 3 stages project csv json files
  5. Challenge

    Line to record

    …parser so it stores every reading as a dict with time, sensor, value and unit in a list of records, then let other code pick out one sensor's readings by key.

    Write the code Easy 2 stages dictionaries lists parsing records
  6. Challenge

    CSV row

    …then switch to tabs for pasting into a spreadsheet. Real data formats from print().

    Write the code Easy 3 stages print sep csv telemetry
  7. Challenge

    Parse a telemetry line

    …take them apart again: which part is the time, which the sensor, which the value. 2026-03-14T09:30:05Z,ENG-2,412.5,C Split the line into its fields, then turn the value into a number you can calculate…

    Write the code Easy 2 stages strings split parsing csv
  8. Challenge

    Readings that won't add

    Two sensor readings add up to 12080 instead of 200 because they arrived as text. Predict it, find out why and fix it with int(), then add decimal readings with float().

    Fix the code Easy 3 stages type conversion int float str
  9. Challenge

    Broken boot script

    …prints: Booting flight computer... Loading navigation data... Boot complete Missing bracket The next part of the boot script checks the sensors, and it was edited in the same hurry: a closing bracket…

    Fix the code Easy 3 stages SyntaxError debugging print quotes