CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012 CSS 161: Fundamentals of Computing Instructor: Uma Murthy CSS SKL.

Slides:



Advertisements
Similar presentations
Foundations of Programming and Problem Solving Introduction.
Advertisements

TS 313 Multimedia Applications Welcome to TS 313 Multimedia Applications There is no audio lecture associated with this set of introduction slides Refer.
Lecture 1: Overview of Computers & Programming
Object Oriented Programming in Java George Mason University Fall 2011
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
Introduction to Computer Programming in C
Introduction to CS170. CS170 has multiple sections Each section has its own class websites URLs for different sections: Section 000:
CSS 161: Fundamentals of Computing Introduction
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
1-1 CMPU125 Topics in Computer Science Lecture 1 Jenny Walter Fall 2008.
Introduction to Java Lab CS110A – Lab Section 004 Instructor: Duo Wei.
30-Jun-15 Getting Ready for CIT Labs Lab is scheduled for 1:30-3:00 Fridays in Moore 207 Lab is not in Towne 313 (Registrar has it wrong) Everyone.
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.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
Introduction to Programming with Java, for Beginners Machine vs. Programming Language Intro to Java Edit-Compile-Run Program Process.
JAVA: An Introduction to Problem Solving & Programming, 6 th Ed. By Walter Savitch ISBN © 2012 Pearson Education, Inc., Upper Saddle River,
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
CMSC 202 Computer Science II for Majors Fall 2009 Introduction.
COMP Computer Basics Yi Hong May 13, 2015.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
INE2720 Web Application Software Development General Information.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Intro to CS – Honors I Introduction GEORGIOS PORTOKALIDIS
Introducing Java.
Introduction COMP104: Fundamentals and Methodology.
CS110/CS119 Introduction to Computing (Java)
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
COMP Introduction to Programming Yi Hong May 13, 2015.
COMP 110: Introduction to Programming Tyler Johnson January 14, 2009 MWF 11:00AM-12:15PM Sitterson 014.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
1 A Simple but Realistic Assembly Language for a Course in Computer Organization Eric Larson Moon Ok Kim Seattle University October 25, 2008.
COMP 171: Principles of Computer Science I John Barr.
Introduction to Computers & Java CSS 161: Fundamentals of Computing Joe McCarthy 1.
CS 444 Introduction to Operating Systems
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
CSS 161 Fundamentals of Computing Introduction to Computers & Java Joe McCarthy CSS 161: Fundamentals of Computing.
CSS 161 A Fundamentals of Computing Introduction September 24, 2012 Instructor: Uma Murthy CSS SKL 161 A Instructor: Joe McCarthy CSS 161: Fundamentals.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
COP2800 – Computer Programming Using JAVA University of Florida Department of CISE Spring 2013 Lecture 35 – Overview of Java Web Programming Webpage:
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
Lecture.1: Getting Started With Java Jiang (Jen) ZHENG May 9 th, 2005.
29-Nov-15 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
COP2800 – Computer Programming Using JAVA University of Florida Department of CISE Spring 2013 Lecture 11 – How to Get Started on Assignment #2 Webpage:
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
INTRODUCTION TO JAVA AND ANDROID. Slide 2 Our Ecosystem Java Eclipse Android SDK.
Introduction Computer Organization Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture
ITP 109 Week 2 Trina Gregory Introduction to Java.
PROBLEM SOLVING AND PROGRAMMING ISMAIL ABUMUHFOUZ | CS 170.
Computer Science I ISMAIL ABUMUHFOUZ | CS 180. CS 180 Description BRIEF SUMMARY: This course covers a study of the algorithmic approach and the object.
ECE/CS 352 Digital System Fundamentals1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Introduction Charles R. Kime.
Lecture 1b- Introduction
Mobile Applications (Android Programming)
A Short DOS Presentation
Java programming lecture one
Computer Software CS 107 Lecture 2 September 1, :53 PM.
Programming COMP104: Fundamentals and Methodology Introduction.
CS190/295 Programming in Python for Life Sciences: Lecture 1
Outline Introduction What Is a Computer? Computer Organization
Accelerated Introduction to Computer Science
(Computer fundamental Lab)
Review of Previous Lesson
ICS103 Programming in C 1: Overview of Computers And Programming
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012 CSS 161: Fundamentals of Computing Instructor: Uma Murthy CSS SKL 161 A Instructor: Joe McCarthy

Outline Update / reminder Introduction to Computers Introduction to Java CSS 161: Fundamentals of Computing

Updates Assigned readings – Any material in assigned readings is potential fodder for exams, regardless of whether we cover it in a lecture, lab or assignment Slides will always be posted on web site – Typically, shortly after each class Please complete survey by Friday, Sep 28 CSS 161: Fundamentals of Computing

Required Textbook Absolute Java, 5 th Edition Walter Savitch & Kenrick Mock Addison-Wesley, 2013 CSS 161: Fundamentals of Computing 4 th Edition OK, too

Supplemental Material (1/2) CSS 161: Fundamentals of Computing Java: An Introduction to Problem Solving & Programming, 6 th Edition Walter Savitch Addison-Wesley, h01.pdf h01.pdf (access via “Notes” link on course homepage)

Supplemental material (2/2) Practice It! Instructions to be provided in the coming weeks CSS 161: Fundamentals of Computing

Experimentation via programming “Do not be too timid and squeamish about your actions. All life is an experiment. The more experiments you make the better.” - Ralph Waldo Emerson CSS 161: Fundamentals of Computing Corollary: All programs are experiments. The more programs you make the better.

Other introductory CS courses CSS 161: Fundamentals of Computing

Java Goal: – Write once, run anywhere – JDK: Java Developers Kit – JRE: Java Runtime Environment Editions – SE: Standard Edition – EE: Enterprise Edition – ME: Micro Edition (mobile, embedded) – Embedded: flash memory, closed systems Versions – 1.0 (1992), (2006), 1.7 (2011) CSS 161: Fundamentals of Computing

Downloading Java [optional] – Current: Version 7 update 7 (1.7u7) On Mac, requires Mac OS X or higher – Can also use Version 6 update 35 (1.6u35) Supported thru February 2013 We will be writing Java, so we want JDK – Which includes JRE CSS 161: Fundamentals of Computing

Integrated Development Environments (IDEs) Programming tools – Edit text (code) + compile + run – Graphical representations of components We’ll be using BlueJ, but you can use others CSS 161: Fundamentals of Computing netbeans.orgeclipse.orgbluej.org

Downloading BlueJ [optional] CSS 161: Fundamentals of Computing

Computers CSS 161: Fundamentals of Computing

Computer Hardware CSS 161: Fundamentals of Computing

Computer Hardware CSS 161: Fundamentals of Computing

Computer Software CSS 161: Fundamentals of Computing

Computer Software CSS 161: Fundamentals of Computing

Note: program must be loaded into memory in order to execute

Computer Memory CSS 161: Fundamentals of Computing

Computer Memory CSS 161: Fundamentals of Computing Alternate perspectives: Key attributes: addressable / labeled locations that can store things

Computer Disk(s) CSS 161: Fundamentals of Computing

Computer Disk(s) CSS 161: Fundamentals of Computing Alternate perspectives:

Hierarchy of Memory CSS 161: Fundamentals of Computing Variables? [CSS 422 and CSS 430 go into much further depth]

Hierarchy of Memory CSS 161: Fundamentals of Computing Variables: Speed Cost Size Volatility [CSS 422 and CSS 430 go into much further depth]

CSS 161: Fundamentals of Computing

[In Mac OS X Terminal window] CSS 161: Fundamentals of Computing localhost:code umurthy$ ls FirstProgram* FirstProgram.java localhost:code umurthy$ javac FirstProgram.java Localhost:code umurthy$ ls FirstProgram* FirstProgram.classFirstProgram.java Localhost:code umurthy$ java FirstProgram Hello reader. Welcome to Java. Let's demonstrate a simple calculation. 2 plus 2 is 4 Localhost:code umurthy$

CSS 161: Fundamentals of Computing

Next time LAB 1 on Friday Homework 1 handed out on Monday Console input and output CSS 161: Fundamentals of Computing