1 Math 140 Data Structures and Algorithms Course Overview Lecture # 00 01/20/15.

Slides:



Advertisements
Similar presentations
5/19/2015CS 2011 CS 201 – Data Structures and Discrete Mathematics I Syllabus Spring 2014.
Advertisements

CS 46101–600/CS Design and Analysis of Algorithms Dr. Angela Guercio Spring 2010.
Objects and Classes First Programming Concepts. 14/10/2004Lecture 1a: Introduction 2 Fundamental Concepts object class method parameter data type.
CMSC 132: Object-Oriented Programming II
CSIS-385: Analysis of Algorithms Dr. Eric Breimer.
CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
CSIS-385: Analysis of Algorithms Dr. Eric Breimer.
Dr. Tatiana Erukhimova [year] Overview of Today’s Class Folders Syllabus and Course requirements Tricks to survive Mechanics Review and Coulomb’s Law.
CSCE 110 PROGRAMMING FUNDAMENTALS WITH C++
CO320 Introduction to Object- Oriented Programming Michael Kölling 3.0.
5.0 Objects First with Java A Practical Introduction using BlueJ David J. Barnes Michael Kölling.
CPSC 100 – Personal Computers & Their Uses Fall 2010 Dongsheng Che Department of Computer Science East Stroudsburg University.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
COMP 151: Computer Programming II Spring Course Topics Review of Java and basics of software engineering (3 classes. Chapters 1 and 2) Recursion.
© 2004 Goodrich, Tamassia CS2210 Data Structures and Algorithms Lecture 1: Course Overview Instructor: Olga Veksler.
7-Sep-15 Physics 1 (Garcia) SJSU Conceptual Physics (Physics 1) Prof. Alejandro Garcia Spring 2007.
CIS162AD: C#.Net Programming Level I Instructor: Gary R. Smith, MS.
COMP 111 Programming Languages 1 First Day. Course COMP111 Dr. Abdul-Hameed Assawadi Office: Room AS15 – No. 2 Tel: Ext. ??
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
5.0 Objects First with Java A Practical Introduction using BlueJ Introduction to Computer Science I Instructor: Allyson Anderson.
ITEC 2620A Introduction to Data Structures
Object Oriented Programming (OOP) Design Lecture 1 : Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang.
CST 229 Introduction to Grammars Dr. Sherry Yang Room 213 (503)
ICS 102 Computer Programming University of Hail College of Computer Science & Engineering Computer Science and Software Engineering Department.
CSCE 1040 Computer Science 2 First Day. Course Dr. Ryan Garlick Office: Research Park F201 B –Inside the Computer Science department.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
1 COS 260 DAY 1 Tony Gauvin. 2 Agenda Class roll call Instructor Introduction Instructor’s Educational Philosophy Contract on Classroom Behavior Syllabus.
CS 23021–600 Computer Science I Dr. Angela Guercio Spring 2010.
Data Structures (Second Part) Lecture 1 Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University.
Introduction to Data Structures
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
CMSC 2021 CMSC 202 Computer Science II for Majors Fall 2002 Mr. Frey (0101 – 0104) Mr. Raouf (0201 – 0204)
ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
CS-2851 Dr. Mark L. Hornick 1 CS-2852 Data Structures Dr. Mark L. Hornick Office: L341 Phone: web: people.msoe.edu/hornick/
Principles of Computer Science I Honors Section Note Set 1 CSE 1341 – H 1.
Introduction to ECE 2401 Data Structure Fall 2005 Chapter 0 Chen, Chang-Sheng
OO Data Structures SE Dr. Samir Tartir 2010/2011 Second Semester.
1 1.Log in to the computer in front of you –Temp account: 231class / 2.Update your in Cascadia's system –If I need to you I'll use.
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
CSCE 1030 Computer Science 1 First Day. Course Dr. Ryan Garlick Office: Research Park F201 B –Inside the Computer Science department.
CSC 213 – Large Scale Programming Prof. Matthew Hertz WTC 207D /
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2002 Sections Ms. Susan Mitchell.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2001 Sections Ms. Susan Mitchell.
1 Data Structures COP 4530 Spring 2010 MW 4:35 PM – 5:50 PM CHE 101 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2003 Mr. Frey (0101 – 0104) Mr. Raouf (0201 – 0204)
CS151 Introduction to Digital Design Noura Alhakbani Prince Sultan University, College for Women.
CST 223 Concepts of Programming Languages Dr. Sherry Yang PV 171
BIT 143: Programming – Data Structures It is assumed that you will also be present for the slideshow for the first day of class. Between that slideshow.
Course Info Instructor U.T. Nguyen Office: CSEB Office hours: Tuesday, 14:30-15:30 Thursday, 12:00-12:45 By.
Data Structures and Algorithms in Java AlaaEddin 2012.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
Information Retrieval CIS-462 Dr. Samir Tartir 2013/2014 First Semester.
Data Structures By Dr. Mehedi Masud ِAssociate Professor, Computer Science Dept. College of Computers and Information Systems Taif University 1.
Administrative Preliminaries Computer Architecture.
Course Information CSE 2031 Fall Instructor U.T. Nguyen Office: CSE Home page:
CMPT 238 Data Structures Instructor: Tina Tian. General Information Office: RLC 203A Office Hour: Tue and Fri 12:30 - 2:00PM.
Computer Science I ISMAIL ABUMUHFOUZ | CS 180. CS 180 Description BRIEF SUMMARY: This course covers a study of the algorithmic approach and the object.
Fundamentals & Ethics of Information Systems IS 201
Computer Engineering Department Islamic University of Gaza
CSc 020: Programming Concepts and Methodology II
Computer Science 102 Data Structures CSCI-UA
CS 201 – Data Structures and Discrete Mathematics I
CS 201 – Data Structures and Discrete Mathematics I
Accelerated Introduction to Computer Science
Computer Engineering Department Islamic University of Gaza
Introduction CSE 2320 – Algorithms and Data Structures
Computer Engineering Department Islamic University of Gaza
Presentation transcript:

1 Math 140 Data Structures and Algorithms Course Overview Lecture # 00 01/20/15

Overview Syllabus The Importance of Data Structures and Algorithms Review of Java Preparing for projects  Eclipse/Netbean exercises  Code style conventionsconventions

Missing Class It’s your responsibility to ask classmates for notes if you miss class.

4 M140 Course Description Intermediate course in computer science  Training in program design and development.  Introduction to data structures: lists, stacks, queues, trees, and graphs.  Implementation and analysis of important algorithms and design patterns: recursion, divide and conquer, dynamic programming, sorting, and searching algorithms

5 Math 140 Meeting Times  Lecture: Tue, Thu: 12:00 pm - 1:15 pm, rm 394  Lab: Tue, Thu: 1:25 pm - 2:40 pm, rm 394 Class Webpages:  swccd.blackboard.com  swccd.edu/~bsmith dept.swccd.edu/bsmith 

6 Instructor Contact Info  Bruce Smith, Prof. of Mathematics  Phone: , x5291   Office: room 390d  Office hours: M,W: 8 am – 8:50 am M: 12 pm – 12:50 pm –You can also contact me to setup an appointment outside these hours!

7 Textbook and Materials Required:  Algorithms, Fourth Edition, by Robert Sedgewick On-line reference:  docs.oracle.com/javase docs.oracle.com/javase  External storage device req’d  eg, USB flash drive

9 Books on Reserve

10 Evaluation Policy Semester Grade Evaluation Policy Quizzes (~9) 40% Projects (~6) 20% Midterm (1) 20% Final Exam 20% Total: 100% course grade = 0.4* avg_quiz * avg_proj + 0.2* avg_exam + 0.2* final_exam excuse reducer: lowest quiz dropped

Attendance You can be dropped if you have more than 4 absences Tardiness and early departures may also be counted as absences Lowest quiz dropped for those with fewer than 4 absences and class participation  if absent for a quiz, these will be your “freebies.” Student: “My friend is getting married and I have to miss class next week. Can I make up the exam?” Me: “Enjoy the wedding. If there’s a quiz that you missed, then this will be your freebie. No makeups allowed.”

Projects Assignments are submitted via Blackboard All assignments MUST be submitted as a.zip compressed file.  You should generally submit ONE item: a.zip that contains everything. Your name should be present in each file you submit

Code Conventions Link herehere

15 Labs Same room as lecture, rm 394 Posted on Blackboard Submitted via Blackboard Work on projects, quizzes, exams, and case studies. Also, lab time may extend lecture material. Attendance is required

16 DSS Please see me within the first 2 weeks of class if there are special needs Or call DSS at  Voice: (619)  TTY: (619)

17 Class Policies No food or drink (water bottles OK)‏ Cell phones silent No children or visitors without prior permission Lab computers are for class-related work.

18 Class Policies “penalty grades”  If you are found cheating or helping someone cheat, you may receive as much as (–)50% of the assignment’s value Students (both the giver and the receiver) involved in cheating and/or plagiarism will receive a “penalty grade” on the assignment and, at the discretion of the instructor, earn a failing grade in the class.  Also see SWC Course Catalog regarding student conduct.

Algorithms (run this on codepad.org) Efficiency of algorithms:  linear search vs binary search  ~N vs ~lg N static int search(int a[], int v, int l, int r) { int m = (l+r)/2; while (r >= l) { if (v == a[m]) return m; if (v < a[m]) r = m-1; else l = m+1; } return -1; }

Data Structures Arrays Linked Lists Trees Graphs

21 Fundamental concepts of OOP object class method parameter data type

22 Demo: Using BlueJ to explore objects

23 Objects and classes objects  represent ‘things’ from the real world, or from some problem domain (example: “the red car down there in the car park”)‏ classes  represent all objects of a kind (example: “car”)‏

24 Methods and parameters Objects have operations which can be invoked (Java calls them methods). Methods may have parameters to pass additional information needed to execute.

25 Other observations Many instances can be created from a single class. An object has attributes: values stored in fields. The class defines what fields an object has, but each object stores its own set of values (the state of the object).

26 State

27 Two circle objects

the power of Eclipse create a Name class  instance variables: first, last  “setty” and “getty” methods mutators and accessors  main() to use/test the methods

Lab Work File I/O and arrays  practice code to read and write files  given a file of 100,000 numbers, find the average value 

30 Lab Work, part I DOS/Command Shell overview Running Java from the Command Line File I/O examples File submission: a.zip Explore compilers:  BlueJ, TextPad, and Eclipse Discuss software download for home use  Java, BlueJ, Eclipse, Notepad++ Resources  eclipse.org, bluej.org, java.sun.com eclipse.org