Observations from handling python workshop in engineering colleges

Observations from handling python workshop in engineering colleges

I handled 5 python workshop/sessions for novices from 8th march to 20th august, each one stretching from 1 hour to 2 days. It was worth the time.

Students who participated in the workshop where from Computer Science, Electronics background of Under Graduate and Post Graduate level. Minimum strength was 60 and maximum was close to 100.

  1. When handling the strength of 60 students in lab, remember every one have their own pace of picking up.
  2. Distribute the material in html or pdf format so students can look into it. Some students in the workshop start doing the examples as soon as they receive the material and these students will learn on their own, now you have segmented the students who need instructor support. These students also help their friends when stuck.
  3. Go slow and repeat twice every concept. Students from engineering college use C, C++. Python’s ease is difficult to digest at first.
  4. Make sure you don’t stand near your laptop for more than 20 minutes. Teach topic, show the example and move around so the students can approach you and you will get to know the difficulties of students. Not everyone will ask questions.
  5. Give problems for them to solve and don’t give problems which takes more than 10 minutes to solve. Spend the time in front of students terminal and help the struggling students. At the end of 10 minutes you will know how the students approached the problem and also you can get an insight how much students grasped. This gives you the signal whether your explanation understandable or not.
  6. Write the code for the problem in front of the students, please don’t show already written code. Discuss what are the approaches for the same problem and how others students solved.
  7. Having few volunteers to help during workshops is great. Students will start approaching them for hurdles.
  8. Don’t flood students with too much of data in a single day. Make sure workshop is for only 6 - 7 hours per day. They need to time to digest.
  9. When you are teaching list comprehensions make sure students write the same example using for loop and show them the one liner. Here most students gets confused with syntax. Now give them more problems to solve using list comprehension.
  10. Be careful in using variable names, students will use the same variable names in their code.
  11. Don’t teach classes for beginners, you will waste lot of time explaining public, private method, __init__, self. Instead use the time to solve problems.
  12. Spend enough time in writing small programs(use text editor) using if, else, elif, for so that they get used to indentation.
  13. Give problems like greatest of three numbers to show them the use case of a > b > c rather than using a > b and b > c.
  14. Give problems like finding total number of lines, words in a file. This helps in getting rid of for loop with counter, rather encourages to use len(f.readlines()).
  15. Don’t teach *args, **kwargs but spend time in making them understand function can accept functions as parameters, so it becomes easy for them to digest len(f.readlines()).
  16. Make sure to teach dir and help this helps people who are interested to explore further.
  17. If you want to enforce pythonic way of writing code like list comprehension, passing function to function show few examples comparing pythonic and non pythonic way. Advocate the advantage.
  18. Leave your email id with students and collect the feedback via google forms or physical form make sure it is anonymous.
  19. Students will ask recommendation for books, projects etc … Be prepared to handle.
  20. Don’t teach raw_input or input teach them how to accept command line parameters.

There's no such thing as a bad student, only a bad teacher - Unknown

See also

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.