IB Computer Science Year 2 Higher Level - August 28 2018 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) |
Mr. MacKenty (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
* Work on diagraming with [[UML]] | * Work on diagraming with [[UML]] | ||
* Read some code | * Read some code | ||
* Register for treehouse | |||
* Backup files on our server in Germany | |||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
import random | import random | ||
Line 39: | Line 42: | ||
draw_board() | draw_board() | ||
</ | </syntaxhighlight> | ||
Latest revision as of 21:37, 27 August 2018
What are we going to learn today?[edit]Welcome to IB Computer Science! Today we will:
import random
grid = []
# let's make our map.We assume a 25 x 25 map
for i in range(0,625):
grid.append(random.randrange(1,4))
def draw_board():
row = 0
for i in range(0,625):
print(str(i).zfill(3),end="")
row = row + 1
if row == 25:
print ("\n")
row = 0
return
draw_board()
|
What is our home learning?[edit]
|
How am I being assessed today?[edit]I will assess you formatively today, and make a professional judgement to what extent you understand our learning material. I will use observation, your written work, answers to questions, and contribution to class discussions as data to make my decisions. I will also ask you to complete a self-assessment which I will use to help me guage how well you think you understand our material in class. |
|
As a computer scientist, you have:[edit]
|
|
Credits[edit] |