IB Computer Science Year 1 - 13 May 2019 Lesson Notes: Difference between revisions

From Computer Science Wiki
 
(7 intermediate revisions by the same user not shown)
Line 22: Line 22:


* I can outline OS resource management techniques: scheduling, policies, multitasking, virtual memory, paging, interrupt, polling.
* I can outline OS resource management techniques: scheduling, policies, multitasking, virtual memory, paging, interrupt, polling.
* I can outline how an operating system hides the complexity of the hardware from users and applications.


=== SL ===
=== SL ===


* I can write a good IA section A
* I can write a good IA section A
* I can write a good IA section B
* [https://docs.google.com/document/d/1gDpAvl4YVVlpYU45rwOgFsp8XBH3rGdkOSkLhoRU0zA/edit click here for guidance for your section A]
* [https://docs.google.com/document/d/1gDpAvl4YVVlpYU45rwOgFsp8XBH3rGdkOSkLhoRU0zA/edit click here for guidance for your section A]
* [https://docs.google.com/document/d/15v5sJi_MAWzW1h4QWpFU8MPCS2YDUkbMP9BuS7kDRR0/edit click here for guidance for your section B]


</td>
</td>
Line 35: Line 38:


=== HL students ===
=== HL students ===
* Please break into groups and answer our question of the day
 
* Please tell me if the following games will work on your school laptop:
* please break into groups and answer our question of the day
** [https://support.cdprojektred.com/en/witcher-3/pc/sp-technical/issue/633/the-witcher-3-system-requirements witcher 3]
* Please restart your computer in verbose mode (hold down V key)
** [https://superleague.zendesk.com/hc/en-us/articles/360012416013-What-are-the-technical-requirements- League of legends]
* please open console.log
** [https://store.steampowered.com/app/570/Dota_2/ Dota 2 (scroll down a bit for system requirements)]
** we will learn and practice reading a console
** [https://help.mojang.com/customer/en/portal/articles/325948-minecraft-java-edition-system-requirements Minecraft]
** we will learn and practice searching
** [https://www.aspyr.com/games/sid-meiers-civilization-v Civilization 5]
** We will learn and practice looking at processes
* Please skim the [https://computersciencewiki.org/index.php/Resource_limitations resources limitations] and be prepared to discuss
 
* Please tell me what would happen if I tried to run one of the games on my school laptop
* we will learn about process hierarchy
* Big discussion about [https://computersciencewiki.org/index.php/Operating_system#Virtual_memory virtual memory]
** parent / child
** we will visualize processes (activity monitor -> view -> all processes hierarchically)
** we will update frequency so you can see what your CPU is doing
 
* we will watch a video:
 
<html>
<iframe width="560" height="315" src="https://www.youtube.com/embed/QpuFq3-fdhw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</html>
 
* 5 minute brain break!
 
* We will explore file i/o from your disk.  
** sudo fssudo fs_usage -f filesys
 
* we now must memorize this table, putting it into our own words: [[Operating Systems management techniques]]




Line 51: Line 69:
* Please carefully [https://docs.google.com/document/d/1gDpAvl4YVVlpYU45rwOgFsp8XBH3rGdkOSkLhoRU0zA/edit follow these instructions] and email me a link to your section A. Please look at the exemplar, which is very good.  
* Please carefully [https://docs.google.com/document/d/1gDpAvl4YVVlpYU45rwOgFsp8XBH3rGdkOSkLhoRU0zA/edit follow these instructions] and email me a link to your section A. Please look at the exemplar, which is very good.  
* Please carefully [https://docs.google.com/document/d/15v5sJi_MAWzW1h4QWpFU8MPCS2YDUkbMP9BuS7kDRR0/edit follow these instructions] and email me a link to your section B.  
* Please carefully [https://docs.google.com/document/d/15v5sJi_MAWzW1h4QWpFU8MPCS2YDUkbMP9BuS7kDRR0/edit follow these instructions] and email me a link to your section B.  
* If you are done, please ask a fellow student to look at your work, and assign a grade using the rubric on the above document.  
* If you are done, please ask a fellow student to look at your work, and <big>assign a grade using the rubric</big> on the above documents.  


</td>
</td>
Line 79: Line 97:
== [[Image:computer.png]] Links for todays class  ==
== [[Image:computer.png]] Links for todays class  ==
<h1>Our big idea is [[Resource management]]</h1>
<h1>Our big idea is [[Resource management]]</h1>
* [[Operating Systems management techniques]]
* [[Computer resources]]
* [[Computer resources]]
* [[Resource limitations]]
* [[Resource limitations]]

Latest revision as of 09:55, 13 May 2019

Monday May 13 2019

Learning Targets[edit]

HL students[edit]

  • I can outline OS resource management techniques: scheduling, policies, multitasking, virtual memory, paging, interrupt, polling.
  • I can outline how an operating system hides the complexity of the hardware from users and applications.

SL[edit]

Plan for our day[edit]

HL students[edit]

  • please break into groups and answer our question of the day
  • Please restart your computer in verbose mode (hold down V key)
  • please open console.log
    • we will learn and practice reading a console
    • we will learn and practice searching
    • We will learn and practice looking at processes
  • we will learn about process hierarchy
    • parent / child
    • we will visualize processes (activity monitor -> view -> all processes hierarchically)
    • we will update frequency so you can see what your CPU is doing
  • we will watch a video:

  • 5 minute brain break!
  • We will explore file i/o from your disk.
    • sudo fssudo fs_usage -f filesys


SL students[edit]

  • Please carefully follow these instructions and email me a link to your section A. Please look at the exemplar, which is very good.
  • Please carefully follow these instructions and email me a link to your section B.
  • If you are done, please ask a fellow student to look at your work, and assign a grade using the rubric on the above documents.

Question of the day[edit]

How do you manage competition for limited resources?

Thing of the day[edit]

A computer starting up. You can see the VERY FIRST instructions being executed by the operating system.

giphy.gif

Computer.png Links for todays class[edit]

Our big idea is Resource management