Back to Manage Files Effectively

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Programming: dictionaries and data files · HTML programming project
For your topic:
Manage Files Effectively · Information and Communication Technology - 0417

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

2 lessons from Oak National Academy

Lesson 1 of 2 · GCSE level, ages 14 to 16

Reading CSV files

By the end: I can read and structure data in a CSV file.

Key learning points

  1. CSV text files group data together on individual lines and separates values in these groups by commas.
  2. CSV files can be read by a range of different spreadsheet software packages as well as Python files.
  3. Each item is seperated by a comma, each record is seperated over a new row in the file.
  4. A CSV file is the same as any other text file where each row is stored as string.

Keywords

CSV
comma-separated values are a plaintext data file where each value is separated by a single comma
tabular
displaying data in a grid of rows and columns
strip()
a Python method which removes any leading, and trailing whitespaces or characters that you specify
split()
a Python method which is used to break a string into a list based on a specified delimiter

A common mistake

Mistake: It is not possible to interrogate a CSV file in Python without importing a specialised library.

In fact: A CSV file behaves in the same way as a txt file in Python. Data is read from the file as strings and methods can be used to remove extra characters like commas, spliting the values either side in to separate items.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What does CSV stand for?
Which Python method is used to remove leading and trailing spaces from a string?
What type of structure does a CSV file follow?
Which Python method is used to break a string based on a specific delimiter?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 2 of 2 · GCSE level, ages 14 to 16

HTML fundamentals

By the end: I can create a structured web page layout that effectively displays text.

Key learning points

  1. HTML is used to create and structure content on web pages.
  2. The elements of a web page are represented by HTML tags.
  3. The basic structure of a web page is defined as headings and paragraphs.
  4. Content can be summarised on web pages as ordered (number) or unordered (bullet) lists.

Keywords

web page
a multimedia page of information
web browser
a software application used to view, navigate and interact with web pages
HTML
HyperText Markup Language, which is used to define and structure content on web pages
tag
a marker in HTML that indicates where different elements of a web page are

A common mistake

Mistake: HTML is a programming language.

In fact: HTML is a markup language. It defines the structure and appearance of content on a web page, but does not not do any processing of data into information.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Which HTML element is used to create a paragraph?
What is an unordered list in HTML?
How are ordered lists represented in HTML?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

The wording comes from each publisher. The layout and the links to your syllabus are ours.