Lesson details

Key learning points

  1. In this lesson, we will discuss the good habits of a programmer before being reminded of why some of the key aspects are good habits. We will also hear from industry programmers about their own good practice. We will then look at alternative approaches to programming solutions.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
What does CSV stand for?
closed-separated values
closed-separated volumes
Correct answer: comma-separated values
comma-separated volumes
Q2.
What will be stored in the numbers.csv file when this program is executed?
An image in a quiz
"3, 4, 5"
Correct answer: 3, 4, 5
numbers
numbers.csv
Q3.
True or False: An integer can be written directly to a CSV file
Correct answer: False
True

3 Questions

Q1.
Which of these variables has been declared using the correct Python conventions?
Correct answer: level_score = 5
levelScore = 5
levelSCORE = 5
LevelScore = 5
LEVELSCORE = 5
Q2.
True or False: All of the variable declarations given in question one will still work in Python.
False
Correct answer: True
Q3.
What symbol should you use to comment a single line of code?
!
' ' '
*
Correct answer: #

Lesson appears in

UnitComputing / Programming 6: Dictionaries and datafiles

Computing