Introduction to Computer Programming CS 126 Lecture 2 Zeke Maier.

Slides:



Advertisements
Similar presentations
Introducing Java CSC1401. Course Goals Teaching programming concepts In a “real” language.
Advertisements

Object Oriented Programming in Java George Mason University Fall 2011
JAVA BASICS SYNTAX, ERRORS, AND DEBUGGING. OBJECTIVES FOR THIS UNIT Upon completion of this unit, you should be able to: Explain the Java virtual machine.
Chapter 1: Introduction
© Janice Regan Problem-Solving Process 1. State the Problem (Problem Specification) 2. Analyze the problem: outline solution requirements and design.
Slides prepared by Rose Williams, Binghamton University Chapter 1 Getting Started 1.1 Introduction to Java.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
CHAPTER 1 INTRODUCTION GOALS  To understand the activity of programming  To learn about the architecture of computers  To learn about machine code and.
Aalborg Media Lab 21-Jun-15 Software Design Lecture 1 “ Introduction to Java and OOP”
CS101- Lecture 11 CS101 Fall 2004 Course Introduction Professor Douglas Moody –Monday – 12:00-1:40 – – –Web Site: websupport1.citytech.cuny.edu.
CS211 Data Structures Sami Rollins Fall 2004.
Slide 1 of 40. Lecture A The Java Programming Language Invented 1995 by James Gosling at Sun Microsystems. Based on previous languages: C, C++, Objective-C,
Compiler design Computer Science Rensselaer Polytechnic Lecture 1.
COMP 14: Primitive Data and Objects May 24, 2000 Nick Vallidis.
1. 2 Chapter 1 Introduction to Computers, Programs, and Java.
1 SD1042: Introduction to Software Development SD1042 Introduction to Software Development SCHOOL OF COMPUTING AND TECHNOLOGY Getting Started MODULE TEAM.
1 Chapter Two Introduction to the Programming Language C.
Chapter 1 - Introduction. Ch 1Goals To understand the activity of programming To learn about the architecture of computers To learn about machine code.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
Chapter 1 Introduction Dr. Frank Lee. 1.1 Why Study Compiler? To write more efficient code in a high-level language To provide solid foundation in parsing.
CS 106 Introduction to Computer Science I 01 / 25 / 2010 Instructor: Michael Eckmann.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
Welcome to the Lecture Series on “Introduction to Programming With Java”
Session One Introduction. Personal Introduction Role of programmers Robot Examination HUD & HID Uploading Code.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
Object Oriented Programming Computer Engineering Department JAVA Programming Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
Lecture 2: Classes and Objects, using Scanner and String.
Board Activity Find your seat on the seating chart Login – Remember your login is your first initial your last name and the last three numbers of your.
Programming Concept Chapter I Introduction to Java Programming.
Week 1 - Friday.  What did we talk about last time?  Our first Java program.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
CHAPTER 1 INTRODUCTION. CHAPTER GOALS To understand the activity of programming To understand the activity of programming To learn about the architecture.
Fall 2006Slides adapted from Java Concepts companion slides1 Introduction Advanced Programming ICOM 4015 Lecture 1 Reading: Java Concepts Chapter 1.
Parse & Syntax Trees Syntax & Semantic Errors Mini-Lecture.
Introduction to Computer Programming CS 126 Lecture 4 Zeke Maier.
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 6: Object-Oriented Programming.
© 2004 Pearson Addison-Wesley. All rights reserved ComS 207: Programming I Instructor: Alexander Stoytchev
Introduction to Computer Programming CS 126 Lecture 1 Zeke Maier.
CS Computer Science I. BCPL was developed in 1967 as a language for writing operating systems and software compilers In 1970, the creators of the.
CS 106 Introduction to Computer Science I 01 / 22 / 2007 Instructor: Michael Eckmann.
Agenda Comments Identifiers Keywords Syntax and Symentics Indentation Variables Datatype Operator.
COP 2551 Introduction to Object Oriented Programming with Java Topics –Introduction to the Java language –Code Commenting –Java Program Structure –Identifiers.
Programming for Interactivity Professor Bill Tomlinson Tuesday & Wednesday 6:00-7:50pm Fall 2005.
Chapter 1: Introduction to Computers and Programming.
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Intro to Programming STARS College of Communication and Information Florida State University Written by: Hannah Brock Alissa Ovalle Nicolaus Lopez Martin.
Introduction to Computer Science What is Computer Science? Getting Started Programming.
1 Sections 3.1 – 3.2a Basic Syntax and Semantics Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
CSC 241: Introduction to Computer Science I
CS210 Intermediate Computing with Data Structures (Java)
Computer Engineering Department Islamic University of Gaza
Introduction to Computer Programming
Lecture 1: Introduction to JAVA
C Programming Language
Algorithm and Ambiguity
Introduction to C# AKEEL AHMED.
Assembler, Compiler, Interpreter
Introduction to Computer Programming
Introduction to Algorithm Design
CS110D Programming Language I
Programming.
Building Java Programs
Assembler, Compiler, Interpreter
Introduction to AppInventor
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
(Computer fundamental Lab)
ICT Programming Lesson 1:
CSC 241: Introduction to Computer Science I
Computer Programming Tutorial
Presentation transcript:

Introduction to Computer Programming CS 126 Lecture 2 Zeke Maier

Plan for Today Questions Administrivia Course Census Results Java Introduction Assignment CEC Accounts

Questions: Jobs Job market is tight right now Google, Microsoft, Boeing, Monsanto… FBI, NSA, smaller firms, start a new company! PositivesNegatives Job SatisfactionActivity $50,000Monotony Still GrowingCeiling

Questions: Job Skills Multitude of languages –.NET, Java, C/C++, Ruby… – HTML, CSS, Javascript, ActionScript/Flash,.NET, Ruby, PHP, Python… – SQL Source Revision Control –Subversion, CVS, GIT Other –Projects, Aptitude, Coding Style, Methodology

Administrivia –Teaching Assistant schedule –Telesis for grades –Calendar updated –AIM account –Assignment cover sheet

Course Census Results

Course Goals “Understand how computers operate to strengthen my everyday interactions” “Gain a basic understanding of programming to evaluate potential future endeavors” Additional Comments “Can I do well without previous programming experience?”

Languages Syntax –Rules of writing structure Semantics –Meaning of what is written class Hello { //My first program! public static void main(String args[]) { system.out.println(“Hello, World!”); }

Programming Languages A language for describing computer computations –High level languages Description: abstraction of low level languages Examples: Java, C++,… –Low level languages Description: 1s and 0s, computer executable Examples: assembly & machine code

High Level Languages: Basic Elements Primitives –Numbers, characters, strings, addition… Means of combination –x=3+4; Means of abstraction –Data abstraction (Facebook profile) Means of capturing common patterns –Inheritance

High to Low Level

Java Object Oriented Programming Language –Programs are a collection of communicating objects Class = type of object Object = instantiation of class Class –Models something… –Consists of: Data members Methods

Program Sequence of instructions which specify a computation –Take in input –Perform operations –Produce output –Testable

Debugging Process of tracking down and correcting bugs –Compile-time errors Syntax –Run-time errors Exceptions –Logic errors Semantic Experimental debugging

Assignment Lab 0 to be done in lab sections today Readings –Friday AD Chapter 1 KG Notes