1 CS1110 Fall 2011: David Gries & Steve Marschner CS1112: Matlab No prior programming experience One semester of calculus Math- & engineering- type problems.

Slides:



Advertisements
Similar presentations
CSc 2310 Principles of Programming (Java)
Advertisements

1 CS100J. Lecture 2, 25 January 2007 Today’s topic: Objects and classes Reading for this lecture: Section 1.3. It’s most important that you study this.
Introduction to Computer Programming I CSE 113
Introduction to CS170. CS170 has multiple sections Each section has its own class websites URLs for different sections: Section 000:
1 i206: Distributed Computing Applications & Infrastructure 2012
CS 1114: Introduction to Computing Using MATLAB and Robotics Prof. Noah Snavely
Welcome to IIT and cs105!. CS Secs Jon Hanrath SB Office Hours: –MW 8:00 A.M. – 9:45 A.M. –W 5:00 P.M. – 6:00 P.M
1 Welcome to CS 105 Intro Comp Pgm’g I Welcome to IIT too?
0 CS100J September 2007 CS100J: 12 weeks programming using Java, 2 using Matlab. David Gries. CS100M: 7 weeks of Matlab and 7 of Java. Daisy Fan. CS100H:
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
COMP 110 Introduction to Programming Jingdan Zhang June 20, 2007 MTWRF 9:45-11:15 am Sitterson Hall 014.
Honors 101, Fall 2006 Please do not sit in back of room! Lots of info on web page Join the mailing list Download Eclipse and start using it Read the text.
Transition to Matlab CS1132 Fall 2009 Instructor: K.-Y. Daisy Fan TA: Lucian Leahu Course consultants
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
1 CS1130 Spring 2011: David Gries & Walker White Transition to Object-Oriented Programming Assumes programming knowledge in a language like Matlab, C,
ITP © Ron Poet Lecture 1 1 IT Programming Introduction.
Quote for the day: Computational thinking: a fundamental skill for everyone … [It] is … choosing an appropriate representation for a problem or modeling.
Please open Daily Quiz 34. A scientific calculator may be used on this quiz. You can keep your yellow formula sheets out when you take the quiz. Remember.
CS105 Lab 1 – Introduction Section: ??? TA: ??? ??? Announcements CITES Accounts Compass Netfiles Other Administrative Information CS105 Fall
1 CS1110 Fall 2010 Instructors: David Gries & Lillian Lee CS1112: Matlab No prior programming experience One semester of calculus Math- & engineering-
Computing with Numbers CSC 161: The Art of Programming Prof. Henry Kautz 9/14/2009.
Quote for the day: Computational thinking: a fundamental skill for everyone … [It] is … choosing an appropriate representation for a problem or modeling.
MGS 351 Introduction to Management Information Systems
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
Welcome to IIT and cs115!.
ICS 102 Computer Programming University of Hail College of Computer Science & Engineering Computer Science and Software Engineering Department.
CS 114 – Class 02 Topics  Computer programs  Using the compiler Assignments  Read pages for Thursday.  We will go to the lab on Thursday.
1 CS1110. Lecture 1, 31 Aug Types, expressions, variables, assignment statements Can’t install DrJava and running a Microsoft operating system? Contact.
CS100J Spring 2006 CS100J: 11 weeks of programming using Java and 2 weeks using Matlab. David Gries is teaching CS100J. Graeme Bailey is teaching a special.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
1 CS1110 Fall 2011 David Gries, Steve Marschner Reading for this lecture and previous lecture: Sections 1.1, 1.2, 1.3. Lab 1 will give you practice with.
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.
Welcome to Physics 2015! ( General Physics Lab 1 - Fall 2012)
CPSC 121: Models of Computation Unit 0 Introduction George Tsiknis Based on slides by Patrice Belleville and Steve Wolfman.
Matter and Interactions 1 Fall 2006 Matter & Interactions I Physics Professor & Lecturer: Dr. Reinhard Schumacher Teaching Assistants: Ms. Elisa.
1 CS1110. Lecture 1, 31 Aug Types, expressions, variables, assignment statements Summary of lectures : On course webpage, click on “Lecture summaries”.
1 CS1100 Fall Instructor: David Gries CS100M: Matlab No prior programming experience One semester of calculus Math & engineering type problems CS100J:
1 CS1110 Fall Instructors: David Gries & Lillian Lee CS1112: Matlab No prior programming experience One semester of calculus Math- & engineering-
CSE8A: Introduction to Programming in Java Fall 2012 Prof. Christine Alvarado cse8afall.weebly.com.
CSE 1105 Week 1 CSE 1105 Introduction to Computer Science & Engineering Time: Wed 4:00 – 4:50 Thurs 9:30 – 10:20 Thurs 4:00 – 4:50 Place: 100 Nedderman.
CS100R: Introduction to Computing Using MATLAB and Robotics Prof. Ramin Zabih
1 CS 101 Today’s class will begin about 5 minutes late We will discuss the lab scheduling problems once class starts.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2001 Sections Ms. Susan Mitchell.
1 CS1110. Lecture 2, 28 Jan Objects & classes PLive: Activities 3-3.1, 3-3.2, (not 3-3.3), 3-4.1, Summary of lectures: On course page,
Data Structures and Algorithms in Java AlaaEddin 2012.
1 CS100J Spring Instructor: David Gries CS100M: Matlab No prior programming experience One semester of calculus Math & engineering type problems.
INSTRUCTIONS FOR WORK ON 8/27/15 EXERCISES 1. EXTRA CREDIT # 1 YOU MUST SHOW YOUR WORK TO ONE OF THE TEACHING ASSISTANTS IN CLASS WHEN DONE. THE TA WILL.
PROBLEM SOLVING AND PROGRAMMING ISMAIL ABUMUHFOUZ | CS 170.
1 CS Sept 2010 Customizing a class Quote for the day: I have traveled the length and breadth of this country and talked with the best people, and.
Introduction to CptS 111 Adam Carter. Meet your instructor Adam Carter "PhD Candidate" (ABD) Feel free to call me: – Adam (preferred) – Professor Carter.
Computer Science I ISMAIL ABUMUHFOUZ | CS 180. CS 180 Description BRIEF SUMMARY: This course covers a study of the algorithmic approach and the object.
Syllabus and Class Policies MATH 130: Summer 2016.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note- taking materials.
電腦圖學 Computer Graphic with Programming
CS101 Computer Programming I
CS1110 Spring Instructor: David Gries
CS1110 Classes, stepwise refinement 23 Sep 2009
Computer Science 102 Data Structures CSCI-UA
ECE/Comp Sci 352 Digital Systems Fundamentals
CS190/295 Programming in Python for Life Sciences: Lecture 1
CS 1110 Please do this now. Draw three variables on a piece of paper as shown to the right: b 4 c 7 d false Below is a “program” consisting of 3 assignment.
EG 1003 Overview.
Accelerated Introduction to Computer Science
CS100J CS100M is in Kimball Bll.
CS Problem Solving and Object Oriented Programming Spring 2019
CS201 – Course Expectations
Presentation transcript:

1 CS1110 Fall 2011: David Gries & Steve Marschner CS1112: Matlab No prior programming experience One semester of calculus Math- & engineering- type problems CS1110: Java No prior programming experience No calculus Non-numerical problems Later assignments: processing images, games, playing music website:

2 CS2110 Computers & Programming Uses Java Prerequisite: CS1110 or CS1130. CS1130: Transition to OO (using Java) CS1132: Transition to Matlab Both require previous programming experience. Self-paced, 1-credit (4 weeks), S/U. Engineers take CS1110–CS1132 or CS1112–CS1130. CS1110 course outcomes: (1)Basic understanding of object-oriented and procedural aspects of programming, as expressed in Java. (2)Fluency in Java —ability to write programs using classes and subclasses, as well as assignments, conditionals, recursion, and loops. (3)Knowledge of the basic API classes and their specifications.

Assignments (These may change, but this list gives you an idea of what you will be doing) 3 A4: Color models A5: Graphics packages —it’s turtles all the way A6: Editing image files (jpg, png, …) A7: Breakout

4 Methods to increase chances of success in the course. 1.Section/labs. In the ACCEL Lab, Carpenter Library 2 nd floor. Guided exercises on computer, with TA and consultants walking around, helping. Mandatory. 2.Quizzes. Let you know what material is important for you to know at that point. You will know exactly what the quiz will cover. Everyone expected to get A on each quiz. 3.Lectures: not 45 minutes of talking. See demos of programming and execution of programs almost every lecture. Also, some interactive work with you. We try to make it interesting. 4. Course text: CD at the back of book has minute lectures, each on 1 specific point. CD missing? See course website. 5.One-on-one sessions beginning 3rd week. Work for 30 minutes with Gries, Marschner, TA, or consultant on the computer.

5 6. First prog assignment, everyone eventually scores 10/10. Requires mastery. Submit, get feedback, resubmit, … until it is right. 7. “Interludes”, discuss some aspect of computing, internet, or CS to help you understand the computing world we live in. Tidbits on time management, study skills, etc. 8. AEW Workshops. 1 credit, 2 hours. No homework. Small, collaborative classes parallel to course. No class first week. See link on course website, talk to advisors in Olin Iclickers. Everyone: get your own clicker. By Tuesday. We use them to judge the sense of understanding of the class, to encourage staying alert, perhaps to give quizzes, attendance, etc. 10. Piazza. Our “town square” —ask and answer questions. Course Management System. Visit cms.csuglab.cornell.edu/ Not listed? Maria Witlox, ask to add you to CS1110 CMS. Include your Cornell netid in your

6 Recitations (Labs) in the Engineering ACCEL LAB ACCEL Lab: into the Engineering Library in Carpenter Hall, walk straight until you come to a staircase on your left, go up the stairs. Register for ANY recitation/section. But go to the one you want. Times of the recitation-labs: Attend ONE of them. Tuesday:12:20, 1:25, 2:30, 3:35 Wednesday:12:20, 1:25, 2:30, 3:35 Academic Integrity. We ask you not to cheat, in any way, shape, or form. On our side, we try our best to be fair about the amount of work, in grading the work, and in giving you a course grade. For more info, see course website. Do Quiz 0 on Course CMS.

Four things to do this weekend 7 1. Get on Course Management System (CMS). Get to it from link on course website. Not registered on our CMS? Maria Witlox and ask her to register you. She needs your netid. course website: 2. Get DrJava onto your computer. See course website, Piazza for info. Problems with it? You can wait, but do try. 3. Academic Integrity. Read about it on course website. Visit CMS and do Quiz Read in course text (see next slide)

8 Reading for this and the next lecture: Sections 1.1, 1.2, 1.3. Lab 1 will give you practice with concepts and details of 1.2, 1.3. You will not understand all the reading because there are many new terms, but doing the reading will enhance next lecture. PLive: Lesson 0, Lesson page 1.3, Activity Summary of lectures: On course website, click “Lecture summaries”. Today and Tuesday: Introduce expressions in Java (using DrJava) Show you around the CD ProgramLive DrJava. We write programs using the free IDE (Integrated Development Environment) called DrJava. Download it from the course website.

9 Terminology Programming language (Java, C, Fortran, Matlab, Python): a language in which you write programs, often to be executed on a computer. Program: A set of instructions, written in a programming language, to be executed (carried out, performed) to get some task done. Like a recipe in a cookbook. Machine language. The language of instructions that a computer is able to execute (carry out, perform). Java Compiler. A program that translates a Java program into a machine language form so that it can be executed on a computer.

10 Type: A set of values together with operations on them. Type integer: values: …, –3, –2, –1, 0, 1, 2, 3, 4, 5, … operations: +, –, *, /, unary – Memorize this definition! Write it down several times. Type int: values: – , – , …, –3, –2, –1, 0, 1, 2, 3, 4, 5, …, , operations: +, –, *, /, unary – – –1

11 Type: A set of values together with operations on them. Type double: values: Examples: –22.51E6 equivalent to – or –22.51 * E–6 equivalent to or * 10 –6 An approximation to the real numbers. operations: +, –, *, /, unary – exponentmantissa Type boolean Values: true false Operators: and && or || not !

12 Precedence of operators (page 23) Unary operators: + – ! Binary arithmetic: * / % Binary arithmetic: + – Arithmetic relations: = Equality relations: == != Logical and: && Logical or: | | The next lecture will also discuss: Types boolean (p. 20) and String (p. 22) You will use these things in Lab 01.