# Difference between revisions of "SP20:Syllabus"

(→Participation) |
|||

(5 intermediate revisions by the same user not shown) | |||

Line 33: | Line 33: | ||

* a final exam (roughly 30%), | * a final exam (roughly 30%), | ||

* homework assignments due every two weeks (roughly 30%, graded for correctness and clarity) | * homework assignments due every two weeks (roughly 30%, graded for correctness and clarity) | ||

− | * participation (roughly | + | * participation (roughly 10%) |

We often grade individual problems on an A/B/C/D scale, with an A indicating mastery, a B indicating a flawed solution that demonstrates a good understanding of the problem, and a C indicating major misunderstanding or lack of clarity, and a D indicating that you drew a picture of your cat. | We often grade individual problems on an A/B/C/D scale, with an A indicating mastery, a B indicating a flawed solution that demonstrates a good understanding of the problem, and a C indicating major misunderstanding or lack of clarity, and a D indicating that you drew a picture of your cat. | ||

Line 65: | Line 65: | ||

We will also post study guides with past exam questions and a list of topics. | We will also post study guides with past exam questions and a list of topics. | ||

− | = Participation = | + | == Participation == |

Your participation will be measured in two ways: using iClickers during lecture, and through attendance and participation in discussion. | Your participation will be measured in two ways: using iClickers during lecture, and through attendance and participation in discussion. | ||

− | To get full participation credit for lecture, you must attend and use your iClicker in at least 35 of the 40 lectures (not counting the first). The remaining lectures are intended to cover issues such as travel, missing batteries, busy schedule, illness, etc. If you need to miss more than 5 lectures for any reason, you should speak with professor George. | + | To get full participation credit for lecture, you must attend and use your iClicker in at least 35 of the 40 lectures (not counting the first). The remaining lectures are intended to cover issues such as travel, missing batteries, busy schedule, illness, etc. If you need to miss more than 5 lectures for any reason, you should speak with professor George (in particular, you need only inform me of excused absences if your total number of absences go above 6; at that point I'll update my records to record your excused absence). |

+ | |||

+ | '''Note:''' It is a violation of the course's academic integrity policy to use another student's iClicker. | ||

To get full participation credit for discussion, you are expected to attend 10 of the 12 sessions, and to spend your time working on the worksheet or other material provided each week. TAs will be checking in on your progress and recording participation. If you attend but are not working on the discussion, the discussion TAs have the right to mark you absent. | To get full participation credit for discussion, you are expected to attend 10 of the 12 sessions, and to spend your time working on the worksheet or other material provided each week. TAs will be checking in on your progress and recording participation. If you attend but are not working on the discussion, the discussion TAs have the right to mark you absent. | ||

+ | |||

+ | Note that for both iClickers and discussion, participation grades come from making a good faith effort and not from getting the correct answer. | ||

= Collaboration and Academic Integrity Policy = | = Collaboration and Academic Integrity Policy = |

## Latest revision as of 15:59, 31 January 2020

## Contents

# Important note

We will be experimenting a bit with the format of discussions, class participation, etc. Therefore, this syllabus is subject to change during the course of the semester. Any changes will be reflected here, announced on Piazza, and announced in class.

You are strongly encouraged to give regular feedback. The easiest way to do so is by filling out the forms in the pinned piazza post. They will remain there all semester.

# Topics

This course is different from many CS courses; especially beginning level courses. We do not require any programming (indeed, it is rarely discussed). Rather, this course has the flavor of a university-level mathematics course.

## Skills

Throughout the course we will focus on

- Definitions
- clear descriptions of terms. For the most part, all of the words we use will have crisp definitions
- Proofs
- arguments; sequences of logical steps, starting from agreed upon facts or assumptions and leading to a desired conclusion.

These skills are critical in many areas of computer science. Clear definitions are very similar to specifications of functions, classes, or programs. Writing and working with definitions will help you write good specifications.

The ability to write proofs and reason logically is critical for writing code that works. It is also critical for reasoning about programs more generally. Reading and writing proofs will also make you communicate more clearly, and will help you evaluate evidence and come to solid conclusions.

## Structures

The lecture schedule outlines the topics we will cover. In addition to providing lots of practice and examples for the skills listed above, they are all useful in various areas of computer science:

- Basic tools— sets, functions, and relations
- These basic objects are useful for modeling a large variety of problems. Sets are simply collections of objects, be they the set of pages on a website, a set of users, or more abstract objects like the set of possible traces through a program. Functions model input/output relationships, and can be used to represent programs and data structures. Relations model more general kinds of relationships between objects, such as the "friend" relationship in a social network.
- Number theory
- We will study properties of the integers, as well as a new kind of number-like object called a modular number. modular numbers are useful for reasoning about remainders; we will see applications to hashing and cryptography. Modular numbers also have applications in digital circuits, for example to implement error correcting codes.
- Automata
- Automata are simple models of computers. After giving formal definitions, we will study the limits of computation, and will also show how the computational power of automata can be described with the high level language of regular expressions. Automata have applications in compilers, networks, and in the theoretical study of the limits of computation. Regular expressions are also useful for text processing.
- Combinatorics
- Combinatorics is the art of counting things without listing them. It is useful for the analysis of algorithms.
- Probability
- Probability allows reasoning about uncertain events, and assigning likelihoods to various outcomes. Probability has applications in artificial intelligence, systems, and the design of randomized algorithms.
- Metalogic
- We will apply the logical tools we've used all semester to study logic itself. Metalogic has applications in program verification and security, as well as in programming language design.

# Websites and information

- Lecture summaries and office hours are on the course website
- We will be using Piazza for all course announcements. Piazza is also a good place to ask questions about the course. Please enroll yourself.
- We will be using Gradescope for assignment submissions and grades.

# References

We do not follow any single textbook particularly closely. The best resource are the lecture notes posted on the course website.

We will use the textbook "Mathematics for Computer Science" (MCS) by Lehman, Leighton, and Meyer. It is freely available.

The textbooks "Lecture Notes in Discrete Structures" by Pass and Tseng. and "Discrete Mathematics and Its Applications" by Rosen have been used in past semesters, and may serve as helpful additional references.

The textbook "Introduction to Automata Theory, Languages, and Computation" by Hopcroft and Ullman is an excellent reference on automata theory.

# Grades

Your course grade will be based on:

- two
**evening prelims**(roughly 15% each), - a final exam (roughly 30%),
- homework assignments due every two weeks (roughly 30%, graded for correctness and clarity)
- participation (roughly 10%)

We often grade individual problems on an A/B/C/D scale, with an A indicating mastery, a B indicating a flawed solution that demonstrates a good understanding of the problem, and a C indicating major misunderstanding or lack of clarity, and a D indicating that you drew a picture of your cat.

**A/B/C/D problem scores do not translate directly to final course grades**. If you get all A's on the homework and exams, you may not get an A in the course (you'll probably get an A+). If you get all B's, that doesn't guarantee a B. There are many factors that go into my determination of final course grades.

In an ideal world, everybody would get an A+; of course this also means it's possible for everyone to get a C. In my experience, the median final course grade has usually been a B or B+. I will post grade estimates after each of the prelims.

## Homework

Unless specified otherwise, assignments will be due **Fridays at 5:00 PM**. They should be submitted on Gradescope. We will accept late assignments until **Saturday at 5:00 PM**. You may submit one late assignment with no penalty; subsequent late assignments will have a 50% penalty applied. In the case of unforseeable circumstances (e.g. a death in the family or a fire in your dorm), you should contact us; we may give additional extensions.

Assignments may be completed individually or in pairs. Both students in a group are expected to understand and have contributed to all parts of the assignment.

You may create the PDF files however you want (for example by scanning *legible* handwritten responses), but we encourage you to typeset them using LaTeX. Please check that you have handed in the right file by downloading it and comparing it to the original. Saying that you accidentally handed in the wrong homework does not count as an excuse!

Regrade requests for homework assignments and exams should be submitted on Gradescope, within a week of when grades are released. We will regrade the entire exam or problem set; your score may go up or down.

## Exams

Exams will be closed everything, and will not require a calculator or any other device. You will 90 minutes for the prelims and 150 minutes for the final exam.

There will be makeup exams offered if you have a legitimate conflict, such as:

- Another exam at the same time
- Three exams in a 48 hour period
- Travel due to a interview, extracurricular activity, etc.

Details will be announced on Piazza as the exam approaches.

The exams will cover all material from lecture, the homework, and discussion. The second prelim is not cumulative, but the final exam is (with a heavier emphasis on new material. We will also post study guides with past exam questions and a list of topics.

## Participation

Your participation will be measured in two ways: using iClickers during lecture, and through attendance and participation in discussion.

To get full participation credit for lecture, you must attend and use your iClicker in at least 35 of the 40 lectures (not counting the first). The remaining lectures are intended to cover issues such as travel, missing batteries, busy schedule, illness, etc. If you need to miss more than 5 lectures for any reason, you should speak with professor George (in particular, you need only inform me of excused absences if your total number of absences go above 6; at that point I'll update my records to record your excused absence).

**Note:** It is a violation of the course's academic integrity policy to use another student's iClicker.

To get full participation credit for discussion, you are expected to attend 10 of the 12 sessions, and to spend your time working on the worksheet or other material provided each week. TAs will be checking in on your progress and recording participation. If you attend but are not working on the discussion, the discussion TAs have the right to mark you absent.

Note that for both iClickers and discussion, participation grades come from making a good faith effort and not from getting the correct answer.

# Collaboration and Academic Integrity Policy

**You may not obtain or view any part of anyone else's solution. To do so is a violation of the academic integrity code. This includes solutions downloaded from the Internet.**

The types of problems assigned in this class lend themselves naturally to a two-step approach. First, you have to understand the question and devise a solution. Second, you have to clearly describe your solution.

During the first phase, you are encouraged to work together and consult outside references. You may ask questions during office hours, or discuss the problems with other groups. You may consult reference material that discusses the general concepts, but not published solutions to the assignments or similar problems.

**You must clearly cite all sources consulted (with the exception of the course wiki and MCS).**

During the second phase, you and your partner should put away your notes and write the solutions on your own.

**While writing your solutions, you must not consult any notes.**. Do not sit next to the whiteboard that contains the formula that you and another group devised. Do not look at anything on the web. Do not consult the notes you took during office hours. Don't do anything you wouldn't do in an exam situation. If you find you are stuck, set your submission aside, consult your notes, and then restart the question you were working on.

**When working in a group, both group members are expected to contribute to the solution and to fully understand it.**

**It is also against the academic integrity policy of the course to transfer any course materials to any third party.** This includes problem sets, handouts, lecture notes, etc. All course materials are copyrighted by Michael George.

Violations of the academic integrity policy will be punished. Punishments for first offences may be as severe as failure of the course. Repeat offences can lead to more serious punishments, including expulsion. Cheating is never worth it. If you feel that you cannot complete your work without violating the academic integrity policy, speak to Professor George or another member of the course staff.

# Special Needs

We provide appropriate academic accommodations for students with special needs and/or disabilities. Requests for academic accommodations are to be made during the first three weeks of the semester and must be accompanied by official documentation. Please register with Student Disability Services in 420 CCC to document your eligibility.

All accommodation forms should be submitted to **both** Professor George and to Corey Torres (ct635, Gates 401).