CSC 320: Fall 2009 Dr. Wendy Myrvold ECS 552

Slides:



Advertisements
Similar presentations
CSC 445/545: Linear Programming Instructor: Wendy Myrvold Home page:
Advertisements

1 Welcome to CS105 and Happy and fruitful New Year שנה טובה (Happy New Year)
Course Overview CSE8313 Object-Oriented Analysis and Design Spring 2015 Dr. LiGuo Huang Dept. of Computer Science and Engineering Southern Methodist University.
CSc 2310 Principles of Programming (Java)
Today’s Agenda  Syllabus CS2336: Computer Science II.
Economics 1 Principles of Microeconomics Instructor: Ted Bergstrom.
Welcome to CSE105 and Happy and fruitful New Year
COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.
CS 450: COMPUTER GRAPHICS COURSE AND SYLLABUS OVERVIEW SPRING 2015 DR. MICHAEL J. REALE.
A Bogus Induction Proof
Introduction to MA Day 1. Name: Charlotte Bailey Office: MATH 802 Office Phone: (765)
CIS162AD: C#.Net Programming Level I Instructor: Gary R. Smith, MS.
MAT 0145 College Readiness Math II Spring 2015
COMP Introduction to Programming Yi Hong May 13, 2015.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
CSC 212 – Data Structures Prof. Matthew Hertz WTC 207D /
WELCOME AP Computer Science A Mr. Smith. Basic Information AP Computer Science A Mr. Smith - Room S315
1 CSC 482/582 Fall 2012 Dr. Wendy Myrvold, ECS 552,
Welcome to Physics 1D03.
Supplies - pencil - binder -notebook paper - colored paper -4 in graph paper - highlighters -Colored pencils - calculator -Sheet protectors Grading Scale.
Catie Welsh January 10, 2011 MWF 1-1:50 pm Sitterson 014.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
1 Exercise: Prove that the set S = { π : π is a permutation of {1, 2, 3, …, n} for some integer n ≥ 1 } is countable.
1 P(n): for any x, x n = 1. 1.[Basis] n=0. P(0) says that for all x, x 0 = 1 which is true. 2.The induction hypothesis is that P(k) holds for all k ≤ n.
1 P(n): for any x, x n = 1. 1.[Basis] n=0. P(0) says that for all x, x 0 = 1 which is true. 2.The induction hypothesis is that P(k) holds for all k ≤ n.
Introduction Welcome to Class! Counseling 120 Counseling 120 College and Career Success.
Introduction Welcome to Class! Counseling 120 Counseling 120 College and Career Success.
Welcome to Geometry! Ms. Matthews. TAKE CARE OF YOURSELF: If you find that you are having difficulty at ANY time, please talk to your teacher. Course.
Welcome to Astronomy 113 “ It would seem that you have no useful skill or talent whatsoever, he said.
08/29/2006 Introduction INTRODUCTION Instructor: Petru S. Fodor Class webpage: PHYSICS 243H.
Course Overview CSE5319/7319 Software Architecture and Design Spring 2016 Dr. LiGuo Huang Dept. of Computer Science and Engineering Southern Methodist.
MAT 279 Data Communication and the Internet Prof. Shamik Sengupta Office 4210 N Fall 2010.
WELCOME TO MICRO ECONOMICS AB 224 Discussion of Syllabus and Expectations in the Class.
Myron B. Thompson Academy
Networking CS 3470, Section 1 Sarah Diesburg
All important information will be posted on Blackboard
Computer Network Fundamentals CNT4007C
Computer Engineering Department Islamic University of Gaza
Networking CS 3470, Section 1 Sarah Diesburg
CS101 Computer Programming I
CSc 1302 Principles of Computer Science II
COMP 283 Discrete Structures
WELCOME (Back) …TO THE CAMPUS OF TOMORROW.
Computer Networks CNT5106C
Welcome to General Biology II!
It’s called “wifi”! Source: Somewhere on the Internet!
CS5040: Data Structures and Algorithms
Welcome to MATH FALL 2016.
Course Overview CSE8313 Object-Oriented Analysis and Design
Introduction to MA Day 1.
Introduction to MA Day 1.
E-BUSINESS SYSTEMS DESIGN IS 232 T
Introduction Math 075.
Computer Networks CNT5106C
Introduction to Computers Fall 2017
MA Fall 2016 Instructor: Matt Weaver Office: MATH 615
Assume that p, q, and r are in
CSC 225: Design and Analysis of Algorithms
Introduction Welcome to Class! Welcome.
Introduction CSE 373 Data Structures.
Welcome to Physics 1D03.
Introduction to Computers Fall 2018
COMS 161 Introduction to Computing
Welcome to CS220/MATH 320 – Applied Discrete Mathematics Fall 2018
Introduction to Computers SPRING 2019
PHYS 202 Intro Physics II Catalog description: A continuation of PHYS 201 covering the topics of electricity and magnetism, light, and modern physics.
Automata and Formal Languages
Σ 2i = 2 k i=0 CSC 225: Proof of the Day
Computer Engineering Department Islamic University of Gaza
Presentation transcript:

CSC 320: Fall 2009 Dr. Wendy Myrvold ECS 552 wendym@cs.uvic.ca Cartoon by Simon Woodside: simonwoodside.com/weblog/images/2005/turing.gif

A Bogus Induction Proof P(n): for any x, xn = 1. [Basis] n=0. P(0) says that for all x, x0 = 1 which is true. The induction hypothesis is that P(k) holds for all k ≤ n. [Induction step] To prove P(n+1) note that xn+1 = xn ۰ xn / xn-1. But by the induction hypothesis, xn-1 = 1 and x n = 1 (that is, P(n) and P(n-1) are both true) so x n+1 = 1 ۰ 1 / 1 = 1. Where is the flaw in this argument?

Announcements Assignment 1 is posted- due Wed. Sept. 23. Tutorial 1 is posted for Tues. Sept. 15 or Fri. Sept. 18. Attend both if you need extra help. A midterm study aid has a reading list, for now read Chapter 1. Next week- bring schedule to class to help me in selecting office hours. Make sure you sign the attendance sheet every class to get credit for attending. Powerpoint slides will be posted. SIGMA on assignment is typeset as ∑.

Outline for Lecture 1 Who is the instructor? My research interests Logistics for CSC 320- the critical points are included on the course outline Brief overview of course content- don’t worry about taking notes today

About me: M.Sc. : Computer Science, McGill University, 1983 M.Math. : Combinatorics and Optimization, University of Waterloo, 1984 Ph.D. in Computer Science: Waterloo, 1988 University of Victoria: started in 1988, currently a full professor by Mark A. Hicks, illustrator. From: Gurl Guide to programming.

Jennifer Sean

My Research: Large Combinatorial Searches Independent Set: Set of vertices which are pairwise non-adjacent

Fullerenes: Working with Patrick Fowler (chemist) Graphite Diamond

Topological Graph Theory: Algorithms and Obstructions

Latin Squares Please come talk to me if you are looking for Honours project research topics or for an NSERC undergraduate research project.

COMBINATORIAL ALGORITHMS GROUP University of Victoria http://www.cs.uvic.ca/~wendym/cag Our research interests include: Graph Theory and Graph Algorithms Combinatorics Combinatorial Algorithms Computational Geometry Randomized Algorithms Computational Complexity Network Reliability Topological Graph Theory Computational Biology Cryptography Design Theory Join our listserv to get information about conferences and research talks. Undergrads are welcome to all events. Combinatorial Potlatch, SFU, Nov. 21, 2009. Upcoming talks: Thurs. Sept. 17, 3:30pm, Ruth Hass, Cor A 221 The Center for Women in Mathematics at Smith College Tues. Sept. 22, 11:00am, Holger H. Hoos, ECS 660 Taming the complexity monster

CSC 320 Logistics Starts Sept. 15. Course Website: http://www.cs.uvic.ca/~wendym/320.html Instructor: Dr. Wendy Myrvold Email: wendym@cs.uvic.ca I answer all student e-mails. If you do not get a response in a reasonable time frame please find out why the e-mail did not work. Office: ECS 552 Phone Number: 472-5783 (use e-mail for a faster response) Office Hours: See course web page. This week: TWF 12:30-1:20 or by apt. Lecture Schedule: TWF 11:30 - 12:20 p.m. ECS 116 Tutorial Schedule: T 2:30 - 3:20 p.m. ECS 130 F 2:30 - 3:20 p.m. CLE D 134 Attend both tutorials if you need extra help. Starts Sept. 15.

Course Textbook Elements of the Theory of Computation, 2nd Edition by Harry R. Lewis and Christos H. Papadimitriou, Prentice-Hall, 1998 See the midterm study aid for a reading list for the first half of the course. Selected course notes will also be posted online.

CSC 320 Grading ITEM REQUIRED FOR FINAL MAX POINTS Assignments (5-6) You collect points from assignments, the midterm and participation: ITEM REQUIRED FOR FINAL MAX POINTS Assignments (5-6) 10/20 = 50% 20 Midterm Fri. June 20 10/25 = 40% 25 Participation 2.5/5 = 50% 5

Computation of Final Grade If you get less than 50% on the assignments 40% on the midterm or 50% of the participation marks, you cannot write the final- your grade is N. Otherwise: You have Q points where 22.5 ≤ Q ≤ 50. Your final numeric grade is: Q plus your score on the final exam weighted so that it is out of (100 - Q).

How to get an A+ in CSC 320 With 23 points: With 50 points: A+ 87 B+ 67.5 B 61 B- 54.5 C+ 48 C 41.5 D 35 With 50 points: A+ 80 A 70 A- 60 B+ 50 B 40 B- 30 C+ 20 C 10 D 0

Important Announcements from Jane Guy Prerequisites for CSC 320 are: CSC 225, and either MATH 222 or registration in a Combined Physics/CSC program. If you do not have the prereqs you should drop the class now to avoid paying for it. If you have already taken this class twice you must get permission from the chair and dean to register. Do it now to avoid fees.

Keys to Success Attend all classes and tutorials. Do all your homework. Come see me (early and often) if you need help. I love working with students. Ask questions in class as well. Join a study group but prepare your final submissions independently. Work old midterms and final exams as practice for your midterm and final. Don’t be afraid of generating incorrect solutions- real mathematicians make many mistakes in the process of creating new mathematics.

Students with a disability Please let me know as soon as possible how I can accommodate your disability. It’s often possible to go beyond what is first offered by the disability center.

H1N1 Prevention To decrease spread of infection: Wash your hands regularly and well with soap and water and/or an alcohol-based hand gel. Avoid touching your eyes, nose or mouth. Space yourself away from as many others as possible and avoid contact with people who are ill. Cough or sneeze with care – into a tissue or your sleeve. If you develop a fever and cough, stay home and limit contact with others. Do not attend class when ill with flu-like illness. If you are unable to visit a health professional due to the acute or infectious nature of your illness, call or e-mail health services (250) 721-8492 and report details of your health situation. This will provide a log of your illness in the event that you require an academic concession.

Accommodation for H1N1: If you have the flu, assignments may be submitted by e-mail, by paper mail (postmark will indicate date submitted) or put it in a sealed envelope with your signature along the seal and ask a friend to hand it in. You can easily miss one assignment and/or several classes and make an A+ in the class according to our grading scheme. Plan ahead, attend classes, and excel at assignments at the beginning of the term so that you are not in a bad situation if you miss things at the end of the term. If you fail to hand in an assignment on time, it can still be marked for feedback (but not credit) if handed in late.

CSC320: Theory of Computation Computation: processing of information based on a finite set of operations or rules. paper and pencil arithmetic abacus calculator digital computers programs in C/Java cells/DNA? human brain? quantum computers?

Desirable properties of a theory Generality - technology independent - ignores inessential details Precision - formal mathematical model - able to prove things about what can and cannot be computed

Representing Data Alphabet: finite set of symbols Ex. { a, b, c, … , z} Strings: finite sequence of alphabet symbols Ex. abaab, hello, cccc Inputs and outputs of computations: represented by strings. ε represents an empty string (length 0)

Examples of Problems Given a string x, does x have an even number of a’s? Given a string of symbols, does it represent a syntactically correct C program? Given an integer p, is p prime? Given a JAVA program, are there any inputs for which it gets stuck in an infinite loop?

Language: set of strings First names of students taking CSC 320 {Allan, Andrew, Arturo, Arvand, Bradley, Brent, Caleb, Christopher, Daniel, David, Eric, Farbod, Francesco, Graham, John, Joshua, Julie, Julius, Ke, Manpreet, Mark, Matthew, Michael, Nicholas, Przemyslaw, Rayeez, Ryan, SongZi, Xiao-Jing} Strings over {a,b} with even length {ε , aa, ab, ba, bb, aaaa, aaab, aaba, …} Syntactically correct JAVA programs

How hard is it given a language L and a string w to answer the question: Is w in L? yes or no? Regular languages: finding patterns in strings Context-free languages: compiler design, parsing computer languages such as C, JAVA, HTML Turing-decidable languages: yes/no questions which are computable on a computer Turing-acceptable languages: an algorithm can be designed which halts when the answer is yes but possibly computes forever when the answer is no.

Classes of Languages

Transferable Skills Formal specification of problems. Ability to identify correct and incorrect solutions and justify your answers. Enhanced ability to read and write proofs. Background needed for compiler design. Appreciation of what can and cannot be computed using a computer.