Download presentation
Presentation is loading. Please wait.
Published byPhoebe Matthews Modified over 9 years ago
1
Algorithms and Data Structures
2
Dr. Barry Wittman Not Dr. Barry Whitman Education: PhD and MS in Computer Science, Purdue University BS in Computer Science, Morehouse College Hobbies: Reading, writing Enjoying ethnic cuisine DJing Lockpicking
3
E-mail: wittmanb@etown.edu Office:Esbenshade 284B Phone:(717) 361-4761 Office hours:MWF11:00am – 12:00pm MF3:30 – 5:00pm T1:00 – 3:00pm And by appointment Website: http://users.etown.edu/w/wittmanb/
5
What’s the purpose of this class? What do you want to get out of it? Do you want to be here?
7
Robert Sedgewick and Kevin Wayne Algorithms 4 th Edition, 2011, Addison-Wesley Professional ISBN-10: 032157351X ISBN-13: 978-0321573513 First time I'm using this book!
8
You are expected to read the material before class If you're not prepared, you will be asked to leave You will not be able to lecture about the subject You will forfeit the opportunity to take quizzes Much more importantly, you will forfeit the education you have paid around $100 per class meeting to get
9
Java expertise Computational complexity Recursion Sorting Graph algorithms A little concurrency Data structures Stacks Queues Binary trees Hash tables Undirected graphs Directed graphs Priority queues
10
This class is serious business Big theoretical component Big coding component We’ve got to catch up Competition is stiff Students at other American universities Students abroad People in software boot camps
11
Tell me about a Java feature that you didn't learn in a lecture
12
If you can solve the puzzle, you're given a harder one Once you start getting puzzles so hard you can't solve it, are you: Discouraged and ready to give up? Excited and eager for more?
13
People with fixed mindsets believe that they are unchanging Either smart or stupid, good at CS or not People with growth mindsets believe that they can change and improve People who are excited by puzzles they can't solve have a growth mindset Guess which mindset leads to greater happiness and success?
14
Singly linked Doubly linked Circular Pros and cons?
15
Stacks Queues Pros and cons?
16
Binary search trees Red-black trees Tries B-trees
17
Hashing functions Strategies for collisions
18
Model for representing many problems Traversals Shortest paths Spanning trees Eulerian tours Hamiltonian tours NP-completeness
19
Linear search Binary search Heap sort Quicksort Merge sort Bucket sort
20
For more information, visit the webpage: http://users.etown.edu/w/wittmanb/cs221 The webpage will contain: The most current schedule Notes available for download Reminders about projects and exams Syllabus (you can request a printed copy if you like) Detailed policies and guidelines Piazza will allow for discussion and questions about the projects: https://piazza.com/etown/fall2015/cs221
22
32% of your grade will be four equally weighted projects Each will focus on a different major area from the course: Arrays and memory management Stacks and queues Trees Graphs You will work on each project in two-person teams
23
All projects are done in teams of two You may pick your partners But you have to have a different partner for each project! Use the Groups tab under the People section on the Canvas page for CS221 to form teams I will copy assignments from the leader’s class folder ( J:\FA2015-2016\CS221A )
24
Projects must be turned in by saving them in your team leader’s class folder ( J:\FA2015-2016\CS221A ) before the deadline Do not put projects in your public directories Late projects will not be accepted Exception: Each team will have 3 grace days You can use these grace days together or separately as extensions for your projects You must inform me before the deadline that you are going to use grace days If two people in a team don't have the same number of grace days, the number of days they will have available will be the maximum of those remaining for either teammate
26
15% of your grade will be from assignments, given roughly once every two weeks 4 of the assignments will be probably be written, and about 3 will be coding There will be 7 assignments total Assignments will not be due on weeks when projects are due Each written assignment typeset in LaTeX is worth 1% extra credit applied to your final grade
28
3% of your grade will be lectures that you give You will give roughly two of these lectures at any time during the semester, without any warning You will have 3 to 5 minutes in which you must present the material to be read for that day Students are encouraged to ask questions There is no better way to learn material than by teaching it Polishing public speaking skills is never a bad thing
30
5% of your grade will be pop quizzes These quizzes will be based on material covered in the previous one or two lectures They will be graded leniently They are useful for these reasons: 1. Informing me of your understanding 2. Feedback to you about your understanding 3. Easy points for you 4. Attendance
32
There will be two equally weighted in-class exams totaling 30% of your final grade Exam 1:09/25/2015 Exam 2:11/02/2015 The final exam will be worth another 15% of your grade Final:2:30 – 5:30pm 12/07/2015
33
Conceptual portion Short answer or matching questions Programming portion Short programming problems you will write code for
36
Project 1:8% Tentatively due 09/18/2015 Project 2:8% Tentatively due 10/09/2015 Project 3:8% Tentatively due 11/06/2015 Project 4:8% Tentatively due 12/04/2015
38
32% Four projects Equally weighted 15% Homework assignments 3% Impromptu student lectures 5% Quizzes 30% Two equally weighted midterm exams 15% Final exam
40
You are expected to attend class You are expected to have read the material we are going to cover before class Missed quizzes cannot be made up If you miss a day without an excuse, you might get a zero for a lecture you should have given that day Exams must be made up before the scheduled time, for excused absences
41
I hate having a slide like this I ask for respect for your classmates and for me You are smart enough to figure out what that means A few specific points: Silence communication devices Don’t use the computers in class unless specifically told to No food or drink in the lab
42
We will be doing a lot of work on the computers together However, students are always tempted to surf the Internet, etc. Research shows that it is nearly impossible to do two things at the same time (e.g. use Facebook and listen to a lecture) For your own good, I will enforce this by taking 1% of your final grade every time I catch you using your computer for anything other than course exercises
43
Don’t cheat First offense: I will give you a zero for the assignment, then lower your final letter grade for the course by one full grade Second offense: I will fail you for the course and try to kick you out of Elizabethtown College Refer to the Student Handbook for the official policy Ask me if you have questions or concerns You are not allowed to look at another student's code, except for group members in group projects (and after the project is turned in) I will use tools that automatically test code for similarity
44
Elizabethtown College welcomes otherwise qualified students with disabilities to participate in all of its courses, programs, services, and activities. If you have a documented disability and would like to request accommodations in order to access course material, activities, or requirements, please contact the Director of Disability Services, Lynne Davies, by phone (361-1227) or e-mail daviesl@etown.edu. If your documentation meets the college’s documentation guidelines, you will be given a letter from Disability Services for each of your professors. Students experiencing certain documented temporary conditions, such as post-concussive symptoms, may also qualify for temporary academic accommodations and adjustments. As early as possible in the semester, set up an appointment to meet with the instructor to discuss the academic adjustments specified in your accommodations letter as they pertain to my class.
46
I will do a refresher on: Java syntax Types Libraries Strings OOP Interfaces Exceptions Read 1.1 Ignore stuff about the StdIn and StdOut libraries the book provides
47
Read section 1.1 Brush up on Java Apply for a Shutterfly scholarship: $5,500 for you $4,500 to your K-12 schools http://www.shutterfly.com/computer-science- scholarship/ http://www.shutterfly.com/computer-science- scholarship/ (You have to write an essay, but it's short)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.