CSC106 Lecture 8
Mary Sanseverino
[email protected]
http:/connex.csc.uvic.ca
Phone: 250 472 5792
Drop in help / Office Hours:
Monday 3:30 5:00 pm in ECS 608
Open Door ECS 608
Goals at the end of this
s
CSC106 Lecture 9
Mary Sanseverino
[email protected]
http:/connex.csc.uvic.ca
Phone: 250 472 5792
Drop in help / Office Hours:
Monday 3:30 5:00 pm in ECS 608
Open Door ECS 608
Goals at the end of this
s
Results
Participants ranged in age from 17 to 35, the mean being 21 years (SD = 3.34).
Thirtyfive participants were female and fifteen were male. The average time spent
driving was 5 hours and 15 min
CSC 106, Spring 2017, Homework #3
Due: March 3, 11:55 pm on the connex site.
Hand in a single PDF containing your answers to the following questions.
2 questions, 50 marks total
Worth 10% of y
CSC 110: Fundamentals of Programming I
Assignment #3: Static Methods, Parameter Passing,
& Return Values
Due date
Friday, October 7th, 2016 at 5:00 pm via submission
CSC 106, Spring 2017, Homework #2
Due: February 10, 11:55 pm on the connex site.
Hand in a PDF containing your answers to the following questions.
4 questions, 50 marks total
Worth 10% of your f
CSC 106, Spring 2017, Homework #4
Due: March 21, 11:55 pm on the connex site.
3 questions, 35 marks total
Worth 10% of your final grade
Code for this assignment is available for download from
output2.txt
Sat Oct 01 10:42:19 2016
$ java CalendarCanada
Number of days in month? 31
Date of first Sunday? 3
Su
Mo
Tu
We
Th
Fr
Sa
++++++++






1 
2 

3 
4 
5 
6 
7 
8 
9 

CSC 110: Fundamentals of Programming I
Assignment #2: Static Methods, Scanners, forloops
Due date
5:00 pm on Friday, September 30th by submission to conneX.
How to
CSC 110: Fundamentals of Programming I
Fall 2016
Assignment #1: Introduction to Programming
Due date
Noon (12:00 pm) 5:00 pm on Friday, September 23rd by submission to
CSC 106, Spring 2017, Homework #4
Due: March 21, 11:55 pm on the connex site.
Hand in a single PDF containing your answers to the following questions.
3 questions, 35 marks total
Worth 10% of yo
SOME BIOINFORMATICS /
COMPUTATIONAL BIOLOGY:
AN ALGORITHM TO BUILD
EVOLUTIONARY TREES
Ulrike Stege
WHAT IS BIOINFORMATICS/
COMPUTATIONAL BIOLOGY?
an
interdisciplinary field addressing biological prob
Computer Applications in Geography
conducted by the Atkinson research Lab:
High Country and Northern Weather Impacts Laboratory
A survey discussion for CS
David E. Atkinson*
Department of Geography
Un
Implicit Modelling Comes of Age
By Brian Wyvill
University of Victoria
Originally given at Microso1 Asia Beijing:
Driving 7me 4 days 3 hours 16 minutes
Victoria 2017
University of Victoria BC to B
' \ Dist. to start:
0.
02

ES
"115
12
m
Current Vertex:
3/14/17 3/14/17
Current Vertex:
Mml
_'I
Current Vertex: C Dist. to start: 3/14/17
Current Vertex: , Dist. to start: % Curre
20141113
CSC106 Lecture 18
Mary Sanseverino
[email protected]
http:/connex.csc.uvic.ca
Phone: 250 472 5792
Drop in help / Office Hours:
Monday 3:30 5:00 pm in ECS 608
Open Door ECS 608
Next week
Last
CSC106 Lecture 8
Mary Sanseverino
[email protected]
http:/connex.csc.uvic.ca
Phone: 250 472 5792
Drop in help / Office Hours:
Monday 3:30 5:00 pm in ECS 608
Open Door ECS 608
Goals at the end of this
s
Algorithm Prac.ce
You are given a binary value. You are asked to state its
corresponding value in decimal. But, as in so much of life,
CONTEXT IS EVERYTHING!
Binary v
CSc 106:
The Practice of Computer
Science
Algorithms continued
And
Binary, Hexadecimal and 2s
Complement
Our solu(on from yesterday
start
year
no
year % 4 = 0
A is an algorithm so
def selection sort(A)
m = len(A)
cur_ind = m1
while cur_ind > 0
cur_max = 99999999
i = 0
max_ind = 0
while i <= cur_ind:
if A[i] > cur_max:
cur_max = A[i]
max_ind = i
i = i + 1
tmp = A[cur_ind]
A[cu
CSC 106  Spring 2016
Graph Algorithms II
Bill Bird
Department of Computer Science
University of Victoria
March 18, 2016
University of Victoria  CSC 106  Spring 2016
1
Iterative DFS (1)
v7
Stack
v8
CSC 106  Spring 2016
Graph Algorithms III
Bill Bird
Department of Computer Science
University of Victoria
March 22, 2016
University of Victoria  CSC 106  Spring 2016
1
Course Scheduling (1)
Course
CSC 106  Spring 2016
Decision Problems II
Bill Bird
Department of Computer Science
University of Victoria
March 30, 2016
University of Victoria  CSC 106  Spring 2016
1
A Balancing Problem (1)
1
2
?
CSC 106  Spring 2016
Graph Algorithms I
Bill Bird
Department of Computer Science
University of Victoria
March 15, 2016
University of Victoria  CSC 106  Spring 2016
1
Algorithms (1)
An algorithm is
CSC 106  Spring 2016
Decision Problems I
Bill Bird
Department of Computer Science
University of Victoria
March 30, 2016
University of Victoria  CSC 106  Spring 2016
1
Satisfiability (1)
A
XOR
B
XOR