Teaching materials for the course. This course is intended to help new programmers find their feet and begin them on their journeyto writing useful programs.
- Introduction: We begin with Hedy, a gradual introduction to programming. This aids in learning to think computationally. But also builds confidence and provides quick feedback between writing a program and seeing outp[ut on the screen. Finally, it motivates syntax (especially for strings).
- Data types: introduces the concept and value of types and the Python syntax for data type annotations.
- Functions: introduces functions as an abstraction for program design and construction. Testing is also covered. This chapter forms the final theoretical foundation for the course.
- Decisions:
if
,elif
, andelse
. - Collections: lists, operations on lists,
in
. - Loops:
for
-each loops over lists, stings, andreange()
. - Dictionaries: associating data, looping, slicing, and other operations.
- Input and output: dealing with the outside world. Data cleaning and some common file formats in bioinformatics, such as csv and fasta, are covered.
- Plotting: a teaser for more advanced topics.
As part of your welcome email you should receive a link to join Hedy. When you click on the link you should see a website asking if you want to join the class.
When you click on the "Join class" button you will be prompted to create an account. Click "Yes".
You will then be asked to login using a username and password. If you do not already have an account you can click on the "Create account" button.
You will now be asked if you are a student or a teacher. You should click "Student".
At this point you have successfully created your account and joined the class.