Computer Science Studio

Computer science tools made for your classroom

Answers are computed by code and double-checked by a second method. A teacher should review each activity before use.

No account needed
Free account needed

Computer Science Reference Sheet

Powers of 2

2^0
1
0x1
2^1
2
0x2
2^2
4
0x4
2^3
8
0x8
2^4
16
0x10
2^5
32
0x20
2^6
64
0x40
2^7
128
0x80
2^8
256
0x100
2^9
512
0x200
2^10
1,024
0x400
2^11
2,048
0x800
2^12
4,096
0x1000
2^13
8,192
0x2000
2^14
16,384
0x4000
2^15
32,768
0x8000
2^16
65,536
0x10000
2^17
131,072
0x20000
2^18
262,144
0x40000
2^19
524,288
0x80000
2^20
1,048,576
0x100000

ASCII Character Codes (printable range)

␣
32
!
33
"
34
#
35
$
36
%
37
&
38
'
39
(
40
)
41
*
42
+
43
,
44
-
45
.
46
/
47
0
48
1
49
2
50
3
51
4
52
5
53
6
54
7
55
8
56
9
57
:
58
;
59
<
60
=
61
>
62
?
63
@
64
A
65
B
66
C
67
D
68
E
69
F
70
G
71
H
72
I
73
J
74
K
75
L
76
M
77
N
78
O
79
P
80
Q
81
R
82
S
83
T
84
U
85
V
86
W
87
X
88
Y
89
Z
90
[
91
\
92
]
93
^
94
_
95
`
96
a
97
b
98
c
99
d
100
e
101
f
102
g
103
h
104
i
105
j
106
k
107
l
108
m
109
n
110
o
111
p
112
q
113
r
114
s
115
t
116
u
117
v
118
w
119
x
120
y
121
z
122
{
123
|
124
}
125
~
126

Boolean Algebra Laws

Identity: A AND 1 = AA · 1 = A
Identity: A OR 0 = AA + 0 = A
Annulment: A AND 0 = 0A · 0 = 0
Annulment: A OR 1 = 1A + 1 = 1
Idempotent: A AND A = AA · A = A
Idempotent: A OR A = AA + A = A
Complement: A AND NOT A = 0A · A' = 0
Complement: A OR NOT A = 1A + A' = 1
Double Negation: NOT (NOT A) = AA'' = A
Commutative: A AND B = B AND AA · B = B · A
Commutative: A OR B = B OR AA + B = B + A
Associative: (A AND B) AND C = A AND (B AND C)(A·B)·C = A·(B·C)
Associative: (A OR B) OR C = A OR (B OR C)(A+B)+C = A+(B+C)
Distributive: A AND (B OR C) = (A AND B) OR (A AND C)A·(B+C) = A·B + A·C
Absorption: A OR (A AND B) = AA + A·B = A
Absorption: A AND (A OR B) = AA·(A+B) = A
De Morgan's: NOT (A AND B) = NOT A OR NOT B(A·B)' = A' + B'
De Morgan's: NOT (A OR B) = NOT A AND NOT B(A+B)' = A' · B'

Logic Gate Truth Tables

AND: A AND B
ABOut
000
010
100
111
OR: A OR B
ABOut
000
011
101
111
NOT: NOT A
AOut
01
10
NAND: A NAND B
ABOut
001
011
101
110
NOR: A NOR B
ABOut
001
010
100
110
XOR: A XOR B
ABOut
000
011
101
110

TeachSpark Pseudocode Syntax

SET var = valueAssign a value to a variable.
IF condition THEN ... END IFExecute the block only if the condition is true.
FOR i = start TO end ... NEXT iRepeat with i from start to end inclusive.
WHILE condition ... END WHILERepeat while the condition is true.
OUTPUT valuePrint a value.
+ - * / MODArithmetic operators (MOD = modulo remainder).
> < = >= <= <>Comparison operators (<> = not equal).
Reference data computed by code from JavaScript built-in functions. No AI, no credits. Made with TeachSpark.
No account needed

Generate, preview and print right away

Computer Science Reference Sheet

Grades 6 – 12

Powers of two, character code table, Boolean laws and pseudocode syntax key. No AI, no credits.

Computer ScienceReference
Open tool

Puzzles and Review Games

Use your own terms, clues and questions. Layouts are built by code, with no AI credits.

How it works

  1. Pick a tool and set your options — topics, difficulty, and problem count.
  2. Click Generate. Code builds the problems, diagrams, and answers.
  3. Preview, print, or share a digital link with your students.

FAQ

Are the answers ever wrong?

Answers are computed by code. A teacher should review the activity before use.

Do Computer Science tools use AI credits?

No. All Computer Science tools are pure code — they never use a generation credit.

Need a different computer science tool?

0/500

TeachSpark uses cookies and local storage to improve your experience and process payments securely. Learn More