Embercode
✕
Data Formats and TextQuick quiz

Dates and config

8 questions. Covers YAML and TOML config files.

Questions 1 to 5 of 8

  1. 1. A team in Pune books a call for 09:30 on 5 November 2026. India is 5 hours 30 minutes ahead of UTC. What is that moment in UTC?
  2. 2. True or false: from noon on 7 March 2026 to noon on 8 March 2026, a day in New York has 24 real hours.
  3. 3. What does this print? ``python from datetime import datetime, timezone from zoneinfo import ZoneInfo ny = ZoneInfo('America/New_York') shift_start = datetime(2026, 10, 31, 9, 0, tzinfo=ny) shift_end = datetime(2026, 11, 2, 17, 0, tzinfo=ny) print((shift_end.replace(tzinfo=None) - shift_start.replace(tzinfo=None)).total_seconds() / 3600) ``
  4. 4. What does this print? ``python from datetime import datetime a = datetime.fromisoformat('2026-11-05T09:30:00+05:30') b = datetime.fromisoformat('2026-11-05T04:00:00Z') print(a == b) ``
  5. 5. Match each time term from the lesson to its meaning.

    Choose the matching item for each row.

5 question(s) left on this page.