Wrapup1 CS110 Wrapup Tuesday, May 11, 2004 Announcements –final exam Thursday, May 20, 8:00 AM McCormack, Floor 01, Room 0608 (easier than last exam?!)

Slides:



Advertisements
Similar presentations
Chapter 1: Computer Systems
Advertisements

Programming with Java. Problem Solving The purpose of writing a program is to solve a problem The general steps in problem solving are: –Understand the.
IntroductionIntroduction  Computer program: an ordered sequence of statements whose objective is to accomplish a task.  Programming: process of planning.
George Blank University Lecturer. CS 602 Java and the Web Object Oriented Software Development Using Java Chapter 4.
Outline Java program structure Basic program elements
Lecture 171 CS110 Lecture 17 Thursday, April 1, 2004 Announcements –hw7 due tonight –pass/fail, withdraw deadline April 8 Agenda –Questions –Juno –JFile.
COMP 14: Intro. to Intro. to Programming May 23, 2000 Nick Vallidis.
Chapter 1 Introduction.
Copyright 2013 by Pearson Education Building Java Programs Chapter 1 Lecture 1-1: Introduction; Basic Java Programs reading:
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Java Software Solutions Foundations of Program Design Sixth Edition by Lewis.
Java Software Solutions Lewis and Loftus Chapter 2 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Software Concepts -- Introduction.
Principles of Computer Programming (using Java) Review Haidong Xue Summer 2011, at GSU.
Prepared by Uzma Hashmi Instructor Information Uzma Hashmi Office: B# 7/ R# address: Group Addresses Post message:
University of Limerick1 Work with API’s. University of Limerick2 Learning OO programming u Learning a programming language can be broadly split into two.
1 Identifiers  Identifiers are the words a programmer uses in a program  An identifier can be made up of letters, digits, the underscore character (
Java: Chapter 1 Computer Systems Computer Programming II.
Java Language and SW Dev’t
Lecture 61 CS110 Lecture 6 Thursday, February 12, 2004 Announcements –hw2 due today Agenda –questions –testing –modeling text files –declarations (classes,
1 Computer Systems -- Introduction  Chapter 1 focuses on:  the structure of a Java application  basic program elements  preparing and executing a program.
The Java Programming Language
CSC204 – Programming I Lecture 4 August 28, 2002.
Lecture 2 Object Oriented Programming Basics of Java Language MBY.
CS 11 java track: lecture 1 Administrivia need a CS cluster account cgi-bin/sysadmin/account_request.cgi need to know UNIX
Lecture 21 CS110 Lecture 2 January 29, 2004 Announcements –hw1 part 1 – due right now –hw1 part 2 – due Tuesday night Questions Agenda –turnin –Object.
C Derived Languages C is the base upon which many build C++ conventions also influence others *SmallTalk is where most OOP comes Java and Javascript have.
Hello.java Program Output 1 public class Hello { 2 public static void main( String [] args ) 3 { 4 System.out.println( “Hello!" ); 5 } // end method main.
CS 112 Department of Computer Science George Mason University CS 112 Department of Computer Science George Mason University Final Review Lecture 14.
Chapter 2: Java Fundamentals
Lecture 131 CS110 Lecture 13 Thursday, March 11, 2004 Announcements –hw5 due tonight –Spring break next week –hw6 due two weeks from tonight Agenda –questions.
Page: 1 การโปรแกรมเชิงวัตถุด้วยภาษา JAVA บุรินทร์ รุจจนพันธุ์.. ปรับปรุง 15 มิถุนายน 2552 Keyword & Data Type มหาวิทยาลัยเนชั่น.
Chapter 1: Introduction Java Programming Language How the Java Virtual Machine Works (compiling, etc…) Update by: Dan Fleck Coming up: The Java Programming.
Java The Java programming language was created by Sun Microsystems, Inc. It was introduced in 1995 and it's popularity has grown quickly since A programming.
Lecture 101 CS110 Lecture 10 Thursday, February Announcements –hw4 due tonight –Exam next Tuesday (sample posted) Agenda –questions –what’s on.
Instructor: Alexander Stoytchev CprE 185: Intro to Problem Solving (using C)
JAVA COURSE 1 Computer Engineering Association. Compile your first program Public class Hello{ public class Hello(){ System.out.println(“Hello”); } puclic.
Lecture 121 CS110 Lecture 12 Tuesday, March 9, 2004 Announcements –hw5 due Thursday –Spring break next week Agenda –questions –ArrayList –TreeMap.
Java Language Basics By Keywords Keywords of Java are given below – abstract continue for new switch assert *** default goto * package.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
Quick Review of OOP Constructs Classes:  Data types for structured data and behavior  fields and methods Objects:  Variables whose data type is a class.
CS110 Introduction to Programming Lecture 1 January 27, 2004 Ethan Bolker Philosophy Bank: user interface, Java, object model Programming environment Homework.
© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.
Introduction to Java Programming by Laurie Murphy Revised 09/08/2016.
Copyright 2010 by Pearson Education APCS Building Java Programs Chapter 1 Lecture 1-1: Introduction; Basic Java Programs reading:
1 Problem Solving  The purpose of writing a program is to solve a problem  The general steps in problem solving are: Understand the problem Dissect the.
JAVA MULTIPLE CHOICE QUESTION.
Working with Java.
Chapter 4 Assignment Statement
Lecture 2: Data Types, Variables, Operators, and Expressions
Variables and Arithmetic Operators in JavaScript
University of Central Florida COP 3330 Object Oriented Programming
Chapter 3 Assignment Statement
Starting JavaProgramming
null, true, and false are also reserved.
Introduction to Java Programming
CS-0401 INTERMEDIATE PROGRAMMING USING JAVA
An overview of Java, Data types and variables
Instructor: Alexander Stoytchev
Chapter 1: Computer Systems
Units with – James tedder
Units with – James tedder
JavaScript Reserved Words
Instructor: Alexander Stoytchev
Focus of the Course Object-Oriented Software Development
CSE 142, Spring 2012 Building Java Programs Chapter 1
Instructor: Alexander Stoytchev
Zorah Fung University of Washington, Spring 2015
Chap 2. Identifiers, Keywords, and Types
CSE 142, Winter 2014 Building Java Programs Chapter 1
Agenda Types and identifiers Practice Assignment Keywords in Java
Zorah Fung University of Washington, Winter 2016
Presentation transcript:

wrapup1 CS110 Wrapup Tuesday, May 11, 2004 Announcements –final exam Thursday, May 20, 8:00 AM McCormack, Floor 01, Room 0608 (easier than last exam?!) –wise1 due next tonight –wise due Thursday Wrapup –Course goals –How we met them –Final exam –Where you can go next at UMass in the profession

wrapup2 WISE wise1 due tonight must compile and run minimal functionality acceptable if (whatever) ( if (somethingElse) { // many lines of code that run // off the edge of the pap er }

wrapup3 Learning to program Lots of fun Practical Hard, time consuming Unusual mixture: –sophisticated intellectual content –picky details that must be right Exercise in reading, writing, thinking CS110 is for CS majors, future professionals slide from lecture 1

wrapup4 Teaching/learning style To learn a language well, live in a land where it’s spoken – anxiety producing, but efficient! Learn to write by to reading and writing and writing about what you learn 60% of a lot is more than 100% of a little Ask questions (to slow me down) slide from lecture 1

wrapup5 CS110 goals Learn to think like a programmer by reading and writing programs Learn Java Prepare for life as a CS major Work hard / work productively Have fun Amaze yourself by how much you’ve learned

wrapup6 Teaching philosophy Programming is much more than the details –think about the important ideas –but the details matter: learn syntax too Read more code than you write, write about the code you read and write Work on significant applications: Bank, shapes, Juno, WISE Learn from lots of sources –class, books, net, API, friends Pay as little attention to grades as possible

wrapup7 OOP Think of the (software) world as a bunch of objects communicating with one another Choose a language that supports that view Java –object oriented –portable –fashionable –well designed –right for CS110 and for practical programming

wrapup8 Development Environment: xemacs Arguments for –basis for future work in major and career –easy to set up on a PC –java and javac are visible commands –command line interface (no GUI) Arguments against (for a modern graphical environment instead) –command line interface (no GUI, unintuitive) –old fashioned –no sparkle

wrapup9 Official Java Keywords – sandbolts/_keywords.html abstract, boolean, break, byte, case, catch, char, class, const, continue, default, do, double, else, extends, final, finally, float, for, goto, if, implements, import, instanceof, int, interface, long, native, new, package, private, protected, public, return, short, strictfp, static, super, switch, synchronized, this, throw, throws, transient, try, void, volatile, whilehttp://java.sun.com/docs/books/tutorial/java/nut sandbolts/_keywords.html Other syntactic elements = + - * / \ “” ‘’ ( ) { } [ ] || &&., ; >= <= == % // /* */ /** ? : ! != ; += ++

wrapup10 Vocabulary Java API classes String, TreeMap, Iterator, ArrayList, Integer, Object, Character, File, System, *Reader, *Writer, Math, StringTokenizer, StringBuffer, Date, Exception,... From our applications Bank, *Account, Shape, Screen, Box, *Line, LinearEquation, Juno, Shell, ShellCommand, JFile, Directory, TextFile, User, *Exception, Terminal, WISE*, …

wrapup11 Vocabulary For talking about programs comment, api, message, method, object, class, convention, polymorphism, token, identifier, parse, javadoc, cast, unit test, implementation, inheritance, JVM, getter, overrides, documentation, declaration, scope, parameter, argument, signature, field, variable, error, instance, block, call stack, syntax, semantics, delegate, design, model, compile time, run time,... Study from JOI glossary

wrapup12 Final Exam Structure like the hour exams Mix of easy and hard questions Exam is three hours long but I will try to write one that takes just two Chapters 1-9 of JOI, examples Based on Bank 9, Juno 7 Closed book/notes

wrapup13 Final Exam Some questions will refer to WISE system solution (to be posted) – bring code to class Some perfectly predictable questions –what are the tokens, classes, objects, messages, …? –in which class will you find …? –what does this program/line/method do …? Improve WISE by adding …

wrapup14 Final Exam Write HelloWorld.java or some similarly simple program, from scratch Boxes and arrows Call stack Questions with the answer “It depends … ” Questions that require you to write sensibly about programs and programming

wrapup15 What next? CS210: Data Structures and Algorithms –interfaces (more abstract than abstract classes) –lists, trees, stacks, queues –dynamic data, references, equality, cloning –searching, sorting, parsing, evaluating expressions –efficiency considerations –GUI programming –more Java CS240: Programming in C –procedural programming (not OOP) –memory layout: bits and bytes, pointers, the stack and the heap, debugging –introduction to Unix, particularly tools

wrapup16 What next? CS major –CS210 & CS240, calculus & linear algebra, CS310, CS320, upper level work... Real world –Software development –QA (Quality Assurance = software testing) –IT (Information Technology = business computing infrastructure) –System administration –Technical writing –Web development/maintenance –Customer support –Your own internet startup company

wrapup17 Heaven and Earth There are more things in heaven and earth than are dreamt of in your philosophy. (Shakespeare’s Hamlet) There are more things dreamt of in your philosophy than are in heaven and earth. (Programmers can invent worlds that never were, nor ever could be.)

wrapup18 Thank you I enjoyed this semester Good luck on the exam I learned a lot I hope you can say the same