High School Exploring Computer Science: Difference between revisions

From Computer Science Wiki
(Created page with "Computer science is the study of computers and algorithmic processes, including their principles, their hardware and software designs, their applications, and their impact on...")
 
No edit summary
Line 9: Line 9:


3. If you want to know what is true, you must must know the depth of a thing
3. If you want to know what is true, you must must know the depth of a thing
<syntaxhighlight lang="python" line="1" >
import random
import sys
board = [1,2,3,4,5,6,7,8,9]
x_squares = []
o_squares = []
def update_board(grid_place):
        if grid_place in x_squares:
            token = "X"
        elif grid_place in o_squares:
            token = "O"
        else:
            token = str(grid_place)
        return token
</syntaxhighlight>

Revision as of 11:51, 28 February 2016

Computer science is the study of computers and algorithmic processes, including their principles, their hardware and software designs, their applications, and their impact on society." --ACM/CSTA Model Curriculum for K-12 Computer Science


Enduring Understandings:

1. You can design and create software to solve problems

2. Computer scientists are a tribe who use specific tools, languages, and techniques to understand and solve problems (source).

3. If you want to know what is true, you must must know the depth of a thing

import random
import sys
board = [1,2,3,4,5,6,7,8,9]
 
x_squares = []
o_squares = []
 
def update_board(grid_place):
        if grid_place in x_squares:
            token = "X"
        elif grid_place in o_squares:
            token = "O"
        else:
            token = str(grid_place)
        return token