CSC 225: Design and Analysis of Algorithms

Slides:



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

Data Structures and Algorithms Dr. Robin Gras Ext Lambton Tower 8111.
CSIS-385: Analysis of Algorithms Dr. Eric Breimer.
COMP171 Data Structures and Algorithm Huamin Qu Lecture 1 (Sept. 1, 2005)
EE 220 (Data Structures and Analysis of Algorithms) Instructor: Saswati Sarkar T.A. Prasanna Chaporkar, Programming.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
A Bogus Induction Proof
MAT 0145 College Readiness Math II Spring 2015
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
COMP Introduction to Programming Yi Hong May 13, 2015.
CS 103 Discrete Structures Lecture 01 Introduction to the Course
CSC 212 – Data Structures Prof. Matthew Hertz WTC 207D /
ECEN 301Discussion #1 – Syllabus1 All Sections MWF 1:00 – 1:50 PM 256 CB Lecture: MW Recitation: F Labs: M or Th Instructor: Prof. David Long Office: CB.
1 CSC 482/582 Fall 2012 Dr. Wendy Myrvold, ECS 552,
Welcome to Physics 1D03.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Introduction to Data Structures
Introduction to ECE 2401 Data Structure Fall 2005 Chapter 0 Chen, Chang-Sheng
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
CS 4700: Foundations of Artificial Intelligence Instructor: Prof. Selman Admin.
1 Data Structures COP 4530 Spring 2010 MW 4:35 PM – 5:50 PM CHE 101 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB
Data Structures and Algorithms in Java AlaaEddin 2012.
WELCOME TO MICRO ECONOMICS AB 224 Discussion of Syllabus and Expectations in the Class.
Welcome to Online Statistics! - Course Resources: - This course is located on Canvas and MyLab. - Canvas contains resources for study (see Modules), Assignments,
Myron B. Thompson Academy
1 Chapter Chapter 2 The Whole Numbers.
CS16: Introduction to Algorithms and Data Structures
Introduction to Computers Spring 2017
All important information will be posted on Blackboard
Computer Network Fundamentals CNT4007C
Networking CS 3470, Section 1 Sarah Diesburg
COMP9024: Data Structures and Algorithms
CSc 1302 Principles of Computer Science II
CSc 020: Programming Concepts and Methodology II
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.
Database Design and Implementation
Course Overview CSE8313 Object-Oriented Analysis and Design
Computer Science 102 Data Structures CSCI-UA
Welcome to CS 1010! Algorithmic Problem Solving.
Student Success Strategies
FALL 2017 Dr. Senanu Spring-Pearson
Welcome to CS 1010! Algorithmic Problem Solving.
Computer Networks CNT5106C
Course Overview - Database Systems
Lecture 0 Course Information
Welcome to CS 1010! Algorithmic Problem Solving.
Introduction to Computers Fall 2017
MA Fall 2016 Instructor: Matt Weaver Office: MATH 615
CSCD 330 Network Programming Spring
CSC 320: Fall 2009 Dr. Wendy Myrvold ECS 552
CS 4700: Foundations of Artificial Intelligence
Introduction to Computers Spring 2018
Welcome to Physics 1D03.
CSCD 330 Network Programming Spring
Introduction to Computers Fall 2018
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.
CSCD 330 Network Programming Spring
Lecture 1a- Introduction
Intro to CIT 594
Welcome to Physics 5305!!.
Intro to CIT 594
Computer Networks CNT5106C
Course Introduction Data Visualization & Exploration – COMPSCI 590
Student Success Strategies
Presentation transcript:

CSC 225: Design and Analysis of Algorithms Dr. Wendy Myrvold, ECS 552, wendym@cs.uvic.ca Cartoon from: http://www.uoregon.edu/~ftepfer/SchlFacilities/TireSwingTable.html

Announcements Assignment #1 is posted: Due Wed. Sept. 23. Lab 1 is posted: print the code and test it on your computer before lab Sept. 14. Reading List linked to course page includes Chapter 1-4 contents (so far). Please read indicated sections of Chapter 1. Please make sure you sign the attendance sheet every class to get credit for attending. Bring your schedule to class next week to help me in choosing office hours. Powerpoint slides will be posted.

Outline for Lecture 1 Who is the instructor? My research interests Logistics for CSC 225- 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 225 Logistics Course Website: http://www.cs.uvic.ca/~wendym/225.html Instructor: Dr. Wendy Myrvold Email: wendym@cs.uvic.ca Office: ECS 552 Phone Number: 472-5783 (use e-mail for a faster response) Office Hours: See course web page. This week: MWR 3:30-4:30 or by apt. 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. Lecture Schedule: MWR 2:30 - 3:20 p.m. ECS 125 Lab Schedule: (attend both if you feel you need extra help) (B01) M 12:00 - 12:50 p.m. CLE A 201 (B02) M 1:00 - 1:50 p.m. ELL 062 Labs start the week of Sept 14, 2009.

Course Textbook “This book has been taken out of print by W. H. Freeman. You are welcome to use it if you like. We believed in 1992 it was the way to introduce theory in Computer Science, and we believe that today.” - Al Aho and Jeff Ullman http://infolab.stanford.edu/~ullman/focs.html

Not all of the text will be covered- a reading list will be provided to tell you the relevant sections (see course web page) Text examples are in C, in class we will mostly use Java, and for assignments, you may program them in C, C++ or Java. To make the class easier: choose the language you are the most comfortable in using. For a challenge: try the language which is harder for you. Start assignments early so you can get help if you need it.

CSC 225 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 Wed. Oct. 21 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 225: 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 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 labs. 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.

CSC 225:

Max Sort beats Merge Sort for small problem sizes.

But for bigger problems, Merge Sort is a lot faster. We will learn paper and pencil techniques for predicting this type of behaviour.

Data Structures revisited: Queue Stack Images from: http://blog.abhisood.com/?p=69

Other data structures: Linked list Circular doubly linked list: http://www.itu.dk/research/algorithms/Kurser/SoegeProjekt/2003MAJ/mirrors/wiscdocs/notes/LINKED-LIST.html http://cslibrary.stanford.edu/109/TreeListRecursion.html

Heaps: Ordered binary trees: http://scienceblogs.com/goodmath/2008/04/ implementing_compact_binary_he.php http://cslibrary.stanford.edu/109/TreeListRecursion.html

Graphs, and minimum weight spanning trees http://www.cs.mcgill.ca/~cs251/OldCourses/1997/topic28/

Depth first search: Breadth first search: http://www.programmerinterview.com/datastruct/search.php

CSC 225: The goal is to provide you with the tools to make informed decisions of algorithms and data structures for solving a problem.