CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett

Slides:



Advertisements
Similar presentations
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
Advertisements

Intro to CIT 594
BEGIN THE FIRST DAY OF CLASS. Know what's expected of you Take notes from the first day even if it's routine stuff you think you already know. How to get.
CS112: Course Overview George Mason University. Today’s topics Go over the syllabus Go over resources – Marmoset – Blackboard – Piazza – Textbook Highlight.
CSC 212 – Data Structures Prof. Matthew Hertz WTC 207D /
COURSE REDESIGN MANAGERIAL FINANCE Dr. Shannon Donovan, Professor, Accounting and Finance, Bridgewater State University
CS211: Course Overview George Mason University. Today’s topics Go over the syllabus Go over resources – Marmoset – Piazza – Textbook Highlight important.
Succeeding in the American Classroom Aimee Nord Office of International Programs.
COMP Introduction to Programming Yi Hong May 13, 2015.
EECE 310 Software Engineering Lecture 0: Course Orientation.
Prof. Matthew Hertz SH 1029F /
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Prof. Matthew Hertz WTC 207D /
Computer Science 10: Introduction to Computer Science Dr. Natalie Linnell with credit to Cay Horstmann and Marty Stepp.
Peer Instruction: Best Practices Leo Porter Cynthia Bailey Lee.
CSE 12 – Basic Data Structures Cynthia Bailey Lee Some slides and figures adapted from Paul Kube’s CSE 12 CS2 in Java Peer Instruction Materials by Cynthia.
CS 106X – Programming Abstractions in C++ Cynthia Bailey Lee CS2 in C++ Peer Instruction Materials by Cynthia Bailey Lee is licensed under a Creative Commons.
A2 Mathematics with Mechanics Vivien Moore. The course The A2 course consists of three modules: C3, C4 and M2. We will be finishing C3 by the end of October.
CPSC 121: Models of Computation Unit 0 Introduction George Tsiknis Based on slides by Patrice Belleville and Steve Wolfman.
Student Preferences For Learning College Algebra in a Web Enhanced Environment Dr. Laura J. Pyzdrowski, Pre-Collegiate Mathematics Coordinator Institute.
Introduction to Programming in MATLAB Intro. MATLAB Peer Instruction Lecture Slides by Dr. Cynthia Lee, UCSD is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike.
CS 4620 Intelligent Systems. What we want to do today Course introductions Make sure you know the schedule for the next three weeks.
CS112: Course Overview George Mason University. Today’s topics Go over the syllabus Go over resources – Marmoset – Blackboard – Piazza – Textbook Highlight.
n Taking Notes and Keeping a Journal n Listening Skills n Working Together n Managing Your Time.
Syllabus Highlights CSE 1310 – Introduction to Computers and Programming Alexandra Stefan University of Texas at Arlington 1.
MGF Math for Liberal Arts Course website: Lecturer: Jim Wooland Lectures: M WF 11:15 – 12:05, HCB 102 Labs: Monday.
Introduction to CSCI 1311 Dr. Mark C. Lewis
1 Chapter Chapter 2 The Whole Numbers.
Networking CS 3470, Section 1 Sarah Diesburg
Duncan MacFarlane Professor of Electrical Engineering
Networking CS 3470, Section 1 Sarah Diesburg
CSc 1302 Principles of Computer Science II
Visiting Professor: Johnathan Jones
Honors Geometry, periods 6/7 & 9, Room 272
1 MATH 112 (Thursday) Fall 2014 Instructor:.
Study Tips For A Great Education In Math.
COMP 283 Discrete Structures
Introduction to Programming
MID-Semester Online CTLE: How to make the best use of student feedback
It’s called “wifi”! Source: Somewhere on the Internet!
Reading Effectively.
Studying.
Using MyMathLab Features
We’ll be spending minutes talking about Quiz 1 that you’ll be taking at the next class session before you take the Gateway Quiz today.
Measuring Polygon Side Lengths
Welcome to Biology 101! Please pick up a syllabus (if you don’t have one yet) and a clicker at the front desk. You will need to rent a clicker from.
Welcome to CS 1010! Algorithmic Problem Solving.
Welcome to CS 1340! Computing for scientists.
Welcome to CS 1010! Algorithmic Problem Solving.
Activities and Technology in the Classroom
MGF (Labs 02-14) Math for Liberal Arts
MGF Math for Liberal Arts
EECE 310 Software Engineering
MGF Math for Liberal Arts
Your Turn What kind of notes did you take in high school? Do you think you learned how to take good notes? Is the same method working for you now? Why.
Welcome to CS 1301! Principles of Programming I.
Welcome to Biology 101! Please pick up a syllabus (if you don’t have one yet) and a clicker at the front desk. You will need to rent a clicker from.
WELCOME TO TOWSON UNIVERSITY
Math 260 Hybrid (5517) Spring 2017 Mandatory Orientation Wednesday, February 8, 2017, 12:10-1:35 pm Instructor: Anne Siswanto Website:
PHYS 202 Intro Physics II Catalog description: A continuation of PHYS 201 covering the topics of electricity and magnetism, light, and modern physics.
How you will learn the material for this course.
Tips for Success in Mathematics
Study Tips for College Algebra
Online Teaching & Learning Online Instructor
How to Stay Organized in an Online Class
They Say, I Say Chapter 1 and 12
Lecture 1a- Introduction
Problem Solving Fall 2016.
Course Introduction Data Visualization & Exploration – COMPSCI 590
Getting Ready For This Course
Presentation transcript:

CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett

Today’s Topics Introduce myself to you Course structure and procedures Introduce Discrete Mathematics

Who Am I? Shachar Lovett, faculty at CSE Research: Algorithms and complexity What do I do? Find new ways to design algorithms And understand why sometimes we cant…

Class basics: your grade Final: 40% (must pass to pass the class) Midterm: 30% (best out of two) Homework: 20% Activities in textbook: 5% (both participation and challenge activities) Participation in class (i-clicker): 5%

What do I do in class? Think of me as your tutor Be your guide in inducing you to explore concepts Create situations and pose problems that set the scene for your exploration Answer your questions Not spend lecture reading the textbook to you with slightly different words

What do you do before class? Read the relevant chapters in the online textbook Answer all the interactive question in the textbook (“reading quiz”) Come prepared with any questions that you may have

What do you do in class? (before class, you prepared yourself by reading the textbook and answering the reading quizzes) I ask a question You first answer it by yourself Then discuss in assigned groups of 3-4 students Like a jury, you must come to a unanimous decision Answer the question a second time I will ask groups to share their insights, and I will provide additional clarification as needed The ideas, not your neighbors

Have you used clickers before? Yes No Maybe

“But professor, wouldn’t it be more efficient if you just taught us the right answer to begin with?” Have you ever heard of an aerobics class where the instructor did all the exercises at the front of class, while the class just watched attentively? Me neither. To learn, you must do the work with your own muscle (your brain).

What do you do in this course? Prepare your brain for maximum in-class learning Reading, interactive quizzes In class: engage with your neighbors and the class, engage with the ideas Turn them upside down and sideways, think about what common errors or misconceptions might be Seek help and seek to help others In class, forums, office hours, discussion section I expect each class member to contribute to an environment of mutual aid and cooperation The ideas, not your neighbors

Tips for a good group discussion Take turns being the first one to talk Once you all agree on the answer, don’t stop! Always go over each wrong answer and explain why it is wrong Also interesting and useful to think about why somebody might be tempted to choose it—how was the professor hoping to “trick” somebody by including that wrong answer? Even if your group-mate has said something very clearly and correctly, it’s a good idea to repeat it yourself “So, what I think you said was, …” Might seem pointless, but your brain will remember better if YOU say it too

Rules for what you do in this course Textbook activities (participation + challenge): Yes: Open book, though being able to answer without a book is a good sign You can retry a question if you answer incorrectly, and you can take as much time as you need Complete them individually No: Sharing answers is as inappropriate as sharing answers on an in-class exam—don’t do it

Rules for what you do in this course Homework Homework should be solved in groups of 3-4 students Use forums to post advertisements looking for groups, or announcing group availability Example: “Hey a bunch of us are in S&E library right now until about midnight if anyone wants to join us.” Expect homework to be hard. This is the best preparation for midterm / final

Online resources

Class website http://cseweb.ucsd.edu/classes/fa16/cse20-a/ http://cseweb.ucsd.edu/classes/fa16/cse20-b/ Same Contain all the information you need to know about the class

Textbook We will use an online textbook from Zybooks: http://www.zybooks.com/ Sign in, use the code: UCSDCSE20LovettFall2016 Contains: Reading material Participation + Challenge activities (which I sometimes call “reading quizzes”) Need to do these before every class

Optional extra study help Essentials of Discrete Mathematics by David J. Hunter, 2nd edition Pretty similar to zybooks Discrete Mathematics with Applications by Susanna Epp Very verbose, can be good if you like detailed explanations and examples

Discussion forums We use Piazza for discussion forums: http://piazza.com/ucsd/fall2016/cse20 We set up two discussion forums: One for all your questions One for scheduling group study You should already be registered; if not, let me know You don’t know what automata is, do you? SOON!

Homework We use Gradescope for homework submissions: https://gradescope.com/courses/4402 Homework is done in groups of 3-4 students Can change groups b/w homeworks No collaboration outside groups is allowed Submit only one homework per group You should already be registered; if not, register with your UCSD email and code M458W9 You don’t know what automata is, do you? SOON!

In class participation We use i-clicker for in-class participation (any version of i-clicker should work fine) Register your clicker at https://www1.iclicker.com/register-clicker/ (otherwise I cannot associated your clicker ID with you, and you won’t gain any participation points…) You don’t know what automata is, do you? SOON!

I don’t know if you already noticed… But I have an accent Nothing I can do about it, but it might make it harder for you to understand me (in particular as the topics we learn will be new to you) Some solutions: Everything I say is recorded: https://podcast.ucsd.edu/ All the slides are available in the class website If you don’t understand something, don’t wait – come to office hours. Sometimes one small clarification can make all the difference.

Discrete Mathematics

What is Discrete Mathematics? Training in the mathematical techniques and ways of thinking that you will need to succeed in a CSE major, and as a computer programmer We’ll spend a great deal of time focusing on logic Logical thinking Hardware logic Programming logic Logical argument and proof

Relations to future classes Prepares you for nearly all future classes, eg CSE100 (data structures), CSE101 (algorithms), CSE105 (computability),… as well as more domain specific classes (compilers, databases, etc) In all of them, you will need to be able to argue formally why something works or doesn’t work. The goal of this class is to teach you how to do so.

Logical reasoning It makes all other progress and innovation possible! It saves us from scenes like this: Sarah's Certain Death Riddle https://www.youtube.com/watch?v=2dgmgub8mHw We will look at logic from a highly formal, mathematical perspective that allows us to be much more accurate than just “what makes sense” Many things that we can discover with proof and logic are very counter-intuitive! We have to rely on our formal approach, not just intuition about what seems to make sense

Analogy to algebra 2x + 6 ?= 2 (x + 3) How do we know these are equal? We can try out several values of x, like 3, -3, 1.3333… and see that both sides are equal (have to be sure to try “weird”/different examples not just obvious ones) We can try every single value of x and check that both sides are equal Other/None/More than one

Thought of the Week --Thomas Beagle, IT/programmer “To be a good geek you have to have both humility and arrogance in equal measures. The humility is so you’ll admit you don’t know something and get help/read the docs/etc. The arrogance is the bit that says “I don’t know that now… but I can and I will soon.”” --Thomas Beagle, IT/programmer