Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett"— Presentation transcript:

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

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

3 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…

4 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%

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

6 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

7 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

8 Have you used clickers before?
Yes No Maybe

9 “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).

10 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

11 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

12 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

13 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

14 Online resources

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

16 Textbook We will use an online textbook from Zybooks: 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

17 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

18 Discussion forums We use Piazza for discussion forums: 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!

19 Homework We use Gradescope for homework submissions: 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 and code M458W9 You don’t know what automata is, do you? SOON!

20 In class participation
We use i-clicker for in-class participation (any version of i-clicker should work fine) Register your clicker at (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!

21 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: 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.

22 Discrete Mathematics

23 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

24 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.

25 Logical reasoning It makes all other progress and innovation possible!
It saves us from scenes like this: Sarah's Certain Death Riddle 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

26 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, … 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

27 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


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

Similar presentations


Ads by Google