CPSC 121: Models of Computation
Instructor: Bob Woodham woodham@cs.ubc.ca
Department of Computer Science University of British Columbia
Lecture Notes 2008/2009, Section 203
CPSC 121: Models of Computation
CPSC 121: Models of Computation Instructor: Bob Woodham - - PowerPoint PPT Presentation
CPSC 121: Models of Computation Instructor: Bob Woodham woodham@cs.ubc.ca Department of Computer Science University of British Columbia Lecture Notes 2008/2009, Section 203 CPSC 121: Models of Computation Menu April 8, 2009 Topics: Example:
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
1
2
3
CPSC 121: Models of Computation
CPSC 121: Models of Computation
1
2
3
4
5
CPSC 121: Models of Computation
6
7
8
9
CPSC 121: Models of Computation
10 Convert integers from octal or hexadecimal to binary and
11 Convert positive integers from decimal to binary
12 Convert positive integers from binary to decimal 13 Take the 2’s complement of a fixed width binary number 14 Convert signed (either positive or negative) integers to
15 Add and subtract fixed width, 2’s complement (signed)
16 Convert decimal fractions (in positional notation) to binary
CPSC 121: Models of Computation
17 Critique different number representations describing their
18 Use truth tables to establish or refute the validity of a
19 Given a rule of inference and propositional logic statements
20 Explore the logical consequences of a set of propositional
CPSC 121: Models of Computation
1
2
3
4
5
CPSC 121: Models of Computation
6
7
8
9
CPSC 121: Models of Computation
10 Apply additional rules of inference for quantified
11 Prove (or disprove) conjectures involving quantified
CPSC 121: Models of Computation
1
CPSC 121: Models of Computation
2
3
CPSC 121: Models of Computation
1
2
3
4
5
CPSC 121: Models of Computation
6
7
CPSC 121: Models of Computation
8
1
2
CPSC 121: Models of Computation
1
2
3
4
CPSC 121: Models of Computation
1
2
3
4
5
CPSC 121: Models of Computation
6
7
8
9
CPSC 121: Models of Computation
1
2
3
4
5
6
CPSC 121: Models of Computation
1
2
3
4
5
6
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation
CPSC 121: Models of Computation