COMP 204: Computer Programming for Life Sciences
What is a computer: CPU, RAM, storage, communication. Binary numbers, instructions Mathieu Blanchette based on slides by Yue Li, Mathieu Blanchette, Christopher Cameron, and Carlos Oliver
1 / 21
COMP 204: Computer Programming for Life Sciences What is a - - PowerPoint PPT Presentation
COMP 204: Computer Programming for Life Sciences What is a computer: CPU, RAM, storage, communication. Binary numbers, instructions Mathieu Blanchette based on slides by Yue Li, Mathieu Blanchette, Christopher Cameron, and Carlos Oliver 1 /
1 / 21
2 / 21
3 / 21
4 / 21
◮ Can be found in mobile phones, watch, media players, gaming
5 / 21
6 / 21
7 / 21
8 / 21
source: https://www.schoolsofkingedwardvi.co.uk/ks2-computing-computing-theory-5-computer-networks/ 9 / 21
10 / 21
11 / 21
source: https://www.schoolsofkingedwardvi.co.uk 12 / 21
13 / 21
◮ Start counting: 0... 1... 2... 3... 4... 5... 6... 7... 8... 9... ? ◮ We’re out of digits ◮ Add a second column worth ten times the value of the first ◮ Continue counting: 10... 11... 12... 13... and so on
14 / 21
◮ ’It was just a dream, Bender.
◮ Start counting: 0... 1... ? ◮ We’re out of digits...again ◮ Let’s try adding a second column again ◮ Continue counting: 10 (2)... 11 (3)...
15 / 21
16 / 21
17 / 21
18 / 21
19 / 21
◮ Add/subtract/multiply/divide two numbers, ◮ Retrieve or store value at specific address in memory ◮ Jump to another instruction ◮ etc.
20 / 21
21 / 21