Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is...

30
Welcome to CMPSC 360!

Transcript of Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is...

Page 1: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Welcome to CMPSC 360!

Page 2: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Today

Introductions Student Information Sheets, AutobiographyWhat is Discrete Math?Syllabus Highlightshttp://www.personal.psu.edu/

djh300/cmpsc360/

Introductory material: Mathematical sentences

Page 3: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

What is Discrete Math?An Overview of Some Topics in the Course

Revised for Fall 2013Doug Hogan

Penn State University

CMPSC 360 – Discrete Math for Computer Scientists

Page 4: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

What does “discrete” mean anyway????

Most things you’ve looked at in math so far are continuous. Usually using all real numbersContinuously-changing processesEx: time, temperature, speed, etc. Calculus studies continuous

mathematics.

Discrete is the opposite.

Page 5: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

What does “discrete” mean anyway????

Discrete is the opposite of continuous:Step-by-step processesUsing integersCannot divide the units into smaller

pieces

Page 6: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Why do we care?

Discrete math is the language of computer scienceThis course is highly theoreticalMany upper-level CS courses will

require a lot of math; this course provides that background

Page 7: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Abstract Mathematics

A transition point to something differentDefinitions, theorems, proofsNot always formulaic like most of the math you’re used to

“To think deeply of simple things” - A. E. Ross“Simple ≠ easy” - G. H. Stevens

Page 8: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Topics…

Page 9: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Logic

Evaluating whether statements are true or falseConstructing logical statementsProving statements to be equivalentMaking logical argumentsDetermining if arguments are valid

More on this to come….very soon…

Page 10: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Number Theory and Proofs

General forms of mathematical proofs that some claim is true in generalDirect proofs Indirect proofs, e.g. by contradiction

Basic number theoryTools used in CS – div, mod, floor, ceilingFactorization

Page 11: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Inductive Proofs and Recurrences

Induction Technique for proving statements of the

form “for all n.” Assume a statement is true for k, show it is

true for k+1. Then it is true for all n.

Recurrence relationsUnderstanding recursively-defined sequencesFinding non-recursive forms and proving themRelevant in the analysis of running time of recursive algorithms

Page 12: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Set Theory

Sets – unordered collections of objectsWe’ll look at operationsWe’ll prove claims about setsVery basic example:

Set A = {1, 2, 3}Set B = {2, 4}Union of A and B = {1, 2, 3, 4}Intersection of A and B = {2}

Page 13: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Functions and Relations

Like the functions you know from algebra, but for discrete situationsUsually more complicated definitionsSpecial kinds of functionsSpecial properties of relations

Page 14: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Graphs and Trees

Using vertices and edges to represent problems

A

B

C

D

Page 15: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Combinatorics

How to count……what they DIDN’T teach you on

Sesame Street

Ways of ordering objectsWays of combining setsUsing these combinations and permutations to find probabilities

Page 16: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

And more!

Formally proving the correctness of algorithmsApplicationsBrief preview of automata

Page 17: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Some Syllabus Highlights

Page 18: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Finding Us

Instructor: Doug Hogan [email protected] 338C IST Office hours: M 3:45-5:15 p.m. (ending at 4:45 today

only), W 10-10:50 a.m., 12:15-12:45 p.m., R 4-5 p.m.

Teaching Intern: Steve Styer [email protected] Office hours in 339 IST (Collaborative space) Office hours: T 9-10 a.m., F 11:15-12:15 a.m. (Graders behind the scenes)

Page 19: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Recitation Sections

On TuesdaysImportant that you go to your assigned section. Some rooms are full.Mixed activities. Often small problem solving things and Q&A. Sometimes quizzes.Lecture in recitation tomorrow.

Page 20: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Books

EppTarski’s World

Page 21: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Attendance and Conduct

Be here every classLet me know if you’ll missBe here on timeRespect your classmates and me. No cell phones or other distractions.We have a clock. (gasp)

Page 22: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Alertness Points

The ideaNeed a point tally person

Page 23: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Daily Homework

Out of EppMany with solutions in the back, intentionallyFor your own practiceCollected periodically in lecture Have the current unit’s homework with you

at every lecture

Grading is mainly about you keeping upYou get 10% for free (no late work, ever)Read policies on syllabus

Page 24: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Some data from S’12

28 students had perfect daily homework scores They all passed. 24 had As and Bs.

In the top half of the class by raw numeric grades, only 3 students had homework grades below 70%. 84% of the students who didn’t earn the required C had a homework grade below 70%.

Page 25: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Some data from F’12

23 students had perfect daily homework scores They all passed. 23 had B+ or better

grades.

59% of those who took the final earned grades of B- or better. Of those, only one had a homework grade below 70%. 75% of the students who didn’t earn the required C had a homework grade below 70%.

Page 26: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Formal Problem Write-Ups

Less frequentlyClear mathematical writing and presentation are a focus

Page 27: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Exams

9/16, 10/17, 11/14 in 26 HoslerEmphasize current unit but cumulative in a senseConflict exam form on syllabus. Due about two weeks before the exam.

Page 28: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Grades

35% - homework (daily and formal)45% - midterms20% - final

Participation, effort, etc. can affect grades within a few percent

Page 29: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

Read the syllabus in its entirety!

If you took my FYS last spring and didn't get an email last week, see me after class.

Page 30: Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights

On to Lecture

Notes packets formatHave some blank paper handy If you want to write moreSolving practice problemsQuizzes

I recommend a 3-ring binder