Computer Science 1 V22.0101 section 3 Lecture 1: administrative details Professor: Evan Korth New York University 1.

Slides:



Advertisements
Similar presentations
CPAC I Professor Evan Korth Fall 2011 Road Map for Today Welcome to CPAC I! Course Description – What material will we cover? – What am I getting myself.
Advertisements

Computers in Principle and Practice Lecture 1: administrative details and an introduction to computers Professor: Evan Korth New York University.
Computers and Society Lecture 1: administrative details and an introduction to the class Professor: Evan Korth New York University.
Visual and Internet Programming using JAVA
Computers in Principle & Practice I - V Deena Engel Computers in Principle and Practice I V , Sections 1 & 2 Fall, 2009 Deena Engel .
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 1 Introduction/Overview Wed. 9/6/00.
Introduction to Computers and Programming Using Java -- Fall, 2006 Professor Deena Engel V : Section 3 Office hours: Mondays.
Introduction to Computers and Programming Using Java Professor Deena Engel V : Sections 1 and 4 Office hours: Tuesdays & Thursdays.
Welcome to Introduction to Computers and Programming Course! Course Introduction Professor: Sana` Odeh Office hours: Mondays / Wednesdays.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
Introduction to Computers and Programming Lecture 1: administrative details and an introduction to computers Professor: Evan Korth New York University.
COMP 110 Introduction to Programming Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307.
Introduction to Computers and Programming Using Java Professor Deena Engel V : Section 1 Office hours: MW 12:00 - 1:00 in room.
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.
COMP 14 – 02: Introduction to Programming Andrew Leaver-Fay August 31, 2005 Monday/Wednesday 3-4:15 pm Peabody 217 Friday 3-3:50pm Peabody 217.
Welcome! Computers in Principle and Practice I V , Section 2 Professor Evan Korth Computer Science Department New York University.
Introduction to Computers and Programming Lecture 1: administrative details and an introduction to computers Professor: Evan Korth New York University.
Java How to Program, 9/e Instructor: José M. Reyes Álamo © by Pearson Education, Inc. All Rights Reserved.
Java PAL.  Contains the development kit and the runtime environment ( aka the Java Virtual Machine )  Download Link:
1 Are you ready?. 2 Professor: Vladimir Misic Office : Phone: Office Hours : Mon, Tue; 2:00pm – 4:00pm Website :
Sadegh Aliakbary Sharif University of Technology Fall 2011.
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
Welcome to CS 115! Introduction to Programming. Class URL Please write this down!
Introduction COMP104: Fundamentals and Methodology.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
CSE 501N Fall ‘09 00: Introduction 27 August 2009 Nick Leidenfrost.
COMP Introduction to Programming Yi Hong May 13, 2015.
 2003 Prentice Hall, Inc. All rights reserved. 1 Java Training Course Dr. H.E. Dunsmore Purdue University Java – How to Program, Deitel (5 th Edition)
Lecture 1 Page 1 CS 111 Summer 2015 Introduction CS 111 Operating System Principles.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
Programming in Java This is a one semester course. You will learn the language and some basic programming skills. You are expected to read, program,
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Computers in Principle and Practice Lecture 1: administrative details and an introduction to computers Professor: Evan Korth New York University.
ICS 102 Computer Programming University of Hail College of Computer Science & Engineering Computer Science and Software Engineering Department.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
CS355 Advanced Computer Architecture Fatima Khan Prince Sultan University, College for Women.
CS1201: Programming Language 2 C++(Course Introduction) Level 2 Nouf Aljaffan 1 st Term Nouf Aljaffan (C) CSC 1201 Course at KSU.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
Computers and Society Lecture 1: administrative details and an introduction to the class Professor: Evan Korth New York University.
Computer Science 102 Data Structures and Algorithms CSCI-UA.0102 Fall 2012 Lecture 1: administrative details Professor: Evan Korth New York University.
ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
Lecture 1 Page 1 CS 111 Summer 2013 Introduction CS 111 Operating System Principles Peter Reiher.
Lecture.1: Getting Started With Java Jiang (Jen) ZHENG May 9 th, 2005.
Welcome to the MTLC MATH 115 Spring MTLC Information  Hours of Operation  Sunday:4:00pm – 10:00pm  Monday – Thursday: 8:00am – 10:00pm  Friday:8:00am.
Computer Science 1 Lecture 1: administrative details and Professor: Evan Korth New York University 1.
CT1513 Introduction To java © A.AlOsaimi.
PAC I Professor Evan Korth Fall 2014 Road Map for Today Welcome to PAC I! Course Description – What material will we cover? – What am I getting myself.
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
COP4610/CGS5765 Operating Systems Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: W M F 9:10am – 10:00am, or by appointments.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2002 Sections Ms. Susan Mitchell.
Data Structures and Algorithms in Java AlaaEddin 2012.
Java How to Program, 9/e Presented by: José M. Reyes Álamo © by Pearson Education, Inc. All Rights Reserved.
1 Introduction Read D&D Sec 1.8; Sec 1.13 THE Java tutorial -
1 Chapter 1 Java –Originally for intelligent consumer-electronic devices –Then used for creating Web pages with dynamic content –Now also used for: Develop.
Computer Science I ISMAIL ABUMUHFOUZ | CS 180. CS 180 Description BRIEF SUMMARY: This course covers a study of the algorithmic approach and the object.
Computer Engineering Department Islamic University of Gaza
CS101 Computer Programming I
Professor Evan Korth Fall 2017
Computer Science 102 Data Structures CSCI-UA
Programming COMP104: Fundamentals and Methodology Introduction.
CS 1302 Programming Principles II
Computer Programming 1 introduction to JAVA Lecture 1 Instructor: Ruba A. Salamah Islamic University of Gaza.
Accelerated Introduction to Computer Science
Presentation transcript:

Computer Science 1 V section 3 Lecture 1: administrative details Professor: Evan Korth New York University 1

Road Map for Today Welcome to Introduction to Computer Science I! Course Description –What material will we cover? –What am I getting myself into? Administrative Issues –Course Web Page, Text Book, Exams, Office Hours, Homework, Grading, Cheating Policy, etc. Syllabus Reading: chapter 1 2

Course Prerequisites Prerequisite: –V or departmental permission. –Math placement at Calculus I level or higher. Who should be taking this course: –computer science majors or minors –other science students –students who know the basics of some programming language. Who should NOT be taking this course –Students that know Java well (should either go straight to 102 or take the honors section) –Students that do not know any programming language You must get a c or better in this class to take further computer science classes. 3

Course Description Official Description: Students learn how to design algorithms to solve problems and how to translate these algorithms into working computer programs. Experience is acquired through programming projects in a high level programming language. V is intended as a first course for computer science majors, and for students of other scientific disciplines. Programming assignments. 4

What the class is really about There are three main goals of this course: I.Foundations of Java a)We will talk about object orientated concepts. II.Foundations Algorithm Development III.Foundations of Software Development 5

1. Foundations of Java Programming Java is a popular programming language, widely used in industry. We will learn all the specifics of how to program in Java. This includes all the peculiar rules that are specific to Java. First we will review the fundamentals: Variables, Arithmetic, If / Else, For Loops, While Loops, Methods, Arrays, etc. Then will then cover new material including object orientated concepts. 6

7 2. Algorithm development We will look at problem solving methods that involve analyzing the problem and designing an algorithm before we start to write code.

Learn the Principles of Software Development Building high quality software is very difficult. The course presents the syntax and concepts of programming, and also presents strategies for building real software that addresses real problems. I will also try to bring my real-world industry experience to class. 8

Administrative Matters 9

Course Web Site Course web site is available at: 003/index.html Web site contains the following information: –Administrative information –Course Syllabus –Homework assignments –Class notes –Class programs –Sample exams –Link to the class mailing list 10

Class mailing list First assignment is to join it. Do it today! Go to: 003_fa06 and follow the instructions All assignments and news will be sent to the class list Homework questions should be sent to the list and answered by students when possible. 11

Course Text Book Introduction to Java Programming (6th Edition) Fundamentals First edition Available at the NYU Bookstore Book includes a CD- ROM with Java programs and other supplemental materials. Lecture notes will follow the book. Please keep up with the reading! 12

Software For the course, you may use any IDE you are comfortable using. I will use one or more of the following in the classroom: –Eclipse –JCreator (Note: this IDE has no debugger) –Netbeans All these products can be downloaded from the web for free. The class website has links to the downloading sites for these programs. Please download the compiler as soon as possible. If you do not have your own computer, the computer labs on campus have the software. 13

Grading Your grade will be determined as follows: –Midterm (30%) –Homework (possible quizzes) (30%) –Final Exam (40%) Class participation will help your grade! 14

homework If you do not do the homework programs, you cannot pass the course. If home work is late, 25% is deducted. After one week of lateness, home work will not be accepted. Style counts from the beginning of this class. Submit the program via to the e-tutor (more on this later) Back-up your files: For you own good you must save all programs in several places (make back-up copies!!). Computer crashes or lost programs are not valid excuses for not handing in an assignment. 15

A Word About Cheating For the purposes of this class, cheating is defined as by the CS Department’s academic integrity policy academic integrity policy –Discussing homework concepts is fine, but you must submit your own work. If you are caught cheating, you will receive an immediate FAILURE for the course. 16

Student Civility In an effort to make this class enjoyable for everybody… –Please be on time to class! –Please do not talk to your friends and neighbors in class! It disturbs everyone, and makes it hard to concentrate. If you have a question, just ask me! –Please turn your pagers and cell-phones off! –Please do not sit in the back row. 17

Getting Help Help is always available! Option 1: Come to my Office Hours –Tuesday and Thursday 5:00 - 6:00, (I may change the time of my office hours) –Location: Room 419 Warren Weaver Hall –I get bored when nobody visits! –If you cannot make my office hours, I will be happy to make an appointment with you. Please try to give me advance warning when you need an appointment. Option 2: Write to the class mailing list. Please do not send homework code to the list. Option 3: Our TA. Option 4: Our e-tutor. Option 5: CAS Learning Center 18

19 syllabus Chapter 1, Introduction to Java Chapter 2, Primitive Data Types Chapter 3, Selection Statements Chapter 4, Loops Chapter 5, Methods Chapter 6, Arrays Chapter 7, Objects and Classes Chapter 8, Strings Chapter 9, Inheritance and Polymorphism Chapter 10, Abstract Classes and Interfaces Chapter 11 Object Orientated Design Chapter 16, Applets Chapter 19, Recursion

Object Orientated Programming Objects –Reusable software components that model items in the real world –Meaningful software units Date objects, time objects, paycheck objects, invoice objects, audio objects, video objects, file objects, record objects, etc. Any noun can be represented as an object –Very reusable –More understandable, better organized, and easier to maintain than procedural programming –Favor modularity  2000 Prentice Hall, Inc. All rights reserved. 20

History of Java A group of 13 Sun employees including James Gosling started the “Green Project” in 1991 with the intention of planning for the next wave in computing. They designed the *7 which was “ an interactive, handheld home- entertainment device controller with an animated touchscreen user interface” Gosling’s contribution to the project was an entirely new processor independent language call “Oak”. 21

22 History of Java (continued) To make a long story short, people at Sun decided to use this new language for the web. At the Sun World conference in May 1995, Marc Andreessen of Netscape announced an agreement to integrate Java into its browser – in a nutshell - webpages were no longer going to be static. Over the next few years, java became very popular for writing applets (small programs included on webpages) Today in addition to writing applets, Java is used for writing large applications as well as applications for mobile devices For more on the history of Java, check out:

23 Characteristics of Java F Java is simple F Java is object-oriented F Java is distributed F Java is interpreted F Java is robust F Java is secure F Java is architecture-neutral F Java is portable F Java’s performance F Java is multithreaded F Java is dynamic  2003 Prentice Hall, Inc. All rights reserved.

24 Basics of a Typical Java Environment Java programs normally undergo five phases –Edit Programmer writes program (and stores program on disk) –Compile Compiler creates bytecodes from program –Load Class loader stores bytecodes in memory –Verify Verifier ensures bytecodes do not violate security requirements –Execute Interpreter translates bytecodes into machine language  2003 Prentice Hall, Inc. All rights reserved.

25 Typical Java environment Primary Memory Disk Editor Compiler Class Loader Program is created in an editor and stored on disk in a file ending with.java. Compiler creates bytecodes and stores them on disk in a file ending with.class. Class loader reads.class files containing bytecodes from disk and puts those bytecodes in memory. Phase 1 Phase 2 Phase 3 Primary Memory Bytecode Verifier Bytecode verifier confirms that all bytecodes are valid and do not violate Java’s security restrictions. Phase 4 Primary Memory Interpreter Interpreter reads bytecodes and translates them into a language that the computer can understand, possibly storing data values as the program executes. Phase 5  2003 Prentice Hall, Inc. All rights reserved.