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

From Computer Science Wiki
(Created page with "__NOTOC__ <table cellspacing="10" style="width:100%;"> <tr> <td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; align:ri...")
 
 
(11 intermediate revisions by the same user not shown)
Line 6: Line 6:
<!-- ------------------------------------| DATE | -------------------------------- -->
<!-- ------------------------------------| DATE | -------------------------------- -->
<!-- ----------------------------------------------------------------------------- -->
<!-- ----------------------------------------------------------------------------- -->
<h1>Thursday May 9 2019</h1>
<h1>Monday May 13 2019</h1>
</td>
</td>
</tr>
</tr>
Line 21: Line 21:
=== HL students ===
=== HL students ===


* I can identify the limitations of a range of resources in a specified computer system.
* I can outline OS resource management techniques: scheduling, policies, multitasking, virtual memory, paging, interrupt, polling.
* I can describe the possible problems resulting from the limitations in the resources in a computer system.
* I can outline how an operating system hides the complexity of the hardware from users and applications.
* I can describe virtual memory


=== 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 37: 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 52: Line 68:


* 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.  
* 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.  
* 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 <big>assign a grade using the rubric</big> on the above documents.  


</td>
</td>
Line 60: Line 77:
<tr>
<tr>
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:lightyellow; align:right;vertical-align:top;" width="50%">
<td style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:lightyellow; align:right;vertical-align:top;" width="50%">
== Question of the day ==  
== Question of the day ==  
<h1>What '''actually''' happens when your computer runs out of memory? </h1>
<big>How do you manage competition for limited resources?</big>
</td>
</td>


Line 67: Line 85:


== Thing of the day ==
== Thing of the day ==
A computer starting up. You can see the VERY FIRST instructions being executed by the operating system.
https://media.giphy.com/media/3o7btTODQcZhN6eLQs/giphy.gif


https://media.giphy.com/media/uprwwjptZW4Za/giphy.gif
</td>
</td>
</tr>
</tr>


<tr>
<tr>
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