COMP 1005 Lecture Notes - Lecture 1: Computational Thinking
Document Summary
Jason. hinek@carleton. ca (personal nature, talk in person even better, put course in subject of email, put id (and name) also in email) Program: python www. pythonlearn. com (pdf textbook) interactivepython. org/runestone/static/thinkcspy/index. html (learning with python) interactivepython. org/runestone/static/pythonds/index. html (problem solving w/ algorithms and data. 2 midterms (30%) oct. 13 & nov. 17. Can work together on problems must write code alone and in own way. Computational thinking: formulating problems and solutions so that solutions can be carried out by (a computer) Developing algorithms to solve not only one specific problem but others of the same nature. Lowest level is physical, highest is written closest to human language (sequential programming) 3 basic things a computer/program must be able to do in order to do anything: execute. Instructions (line 1, then line 2, etc. in order we want), branching (perform certain operations only when certain conditions are met), iteration/looping (repeat the same code multiple times) Normal mode: reads the file (. py extension) and executes commands.