Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course:CECS 541 Instructor: Dr. Michael Hoffman Date:Fall 2010.

Slides:



Advertisements
Similar presentations
Overloading Having more than one method with the same name is known as overloading. Overloading is legal in Java as long as each version takes different.
Advertisements

AP Computer Science Anthony Keen. Computer 101 What happens when you turn a computer on? –BIOS tries to start a system loader –A system loader tries to.
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 3: Flow Control I: For Loops.
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved.1 Chapter 3 Selections.
CS324e - Elements of Graphics and Visualization A Little Java A Little Python.
CSCI 51 Introduction to Programming Dr. Joshua Stough February 10, 2009.
Expressions ► An expression can be a single variable, or can include a series of variables. If an expression includes multiple variables they are combined.
CS 106 Introduction to Computer Science I 02 / 18 / 2008 Instructor: Michael Eckmann.
Bellevue University CIS 205: Introduction to Programming Using C++ Lecture 3: Primitive Data Types.
CS 106 Introduction to Computer Science I 01 / 30 / 2008 Instructor: Michael Eckmann.
COMP 14 Introduction to Programming Miguel A. Otaduy May 18, 2004.
Loops – While, Do, For Repetition Statements Introduction to Arrays
CS 106 Introduction to Computer Science I 10 / 04 / 2006 Instructor: Michael Eckmann.
Fundamental Programming Structures in Java: Comments, Data Types, Variables, Assignments, Operators.
JavaScript, Fourth Edition
Nested Quantifiers Goals: Explain how to work with nested quantifiers
CS 106 Introduction to Computer Science I 02 / 19 / 2007 Instructor: Michael Eckmann.
Admin Office hours 2:45-3:15 today due to department meeting if you change addresses during the semester, please unsubscribe the old one from the.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Adrian Ilie COMP 14 Introduction to Programming Adrian Ilie June 30, 2005.
Section 2 - More Basics. The char Data Type Data type of a single character Example char letter; letter = 'C';
Intro to Java Programming  A computer follows the instruction precisely and exactly.  Anything has to be declared and defined before it can be used.
Exercises A-Declare a variable of double type with initial value=0.0; B- Declare a constant of String type with initial value=“Good” C- Declare a variable.
 For Loops › for (variable set; condition; incremental or decrement){ // loop beginning › } // loop end  While loops › while (condition) { // beginning.
2440: 211 Interactive Web Programming Expressions & Operators.
Chapter 2 Basic Elements of Java. Chapter Objectives Become familiar with the basic components of a Java program, including methods, special symbols,
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
JAVA Tokens. Introduction A token is an individual element in a program. More than one token can appear in a single line separated by white spaces.
CIS 260: App Dev I. 2 Programs and Programming n Program  A sequence of steps designed to accomplish a task n Program design  A detailed _____ for implementing.
Chapter 8: Collections: Arrays. 2 Objectives One-Dimensional Arrays Array Initialization The Arrays Class: Searching and Sorting Arrays as Arguments The.
1 Operators and Expressions Instructor: Mainak Chaudhuri
CIS 260: App Dev I. 2 Programs and Programming n Program  A sequence of steps designed to accomplish a task n Program design  A detailed _____ for implementing.
Java Programming: From Problem Analysis to Program Design, 4e Chapter 2 Basic Elements of Java.
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 2: Variables & Data Types.
Chapter 3 Syntax, Errors, and Debugging Fundamentals of Java.
Other Variable Types Dim lab as String makes a box that can store a label tag Dim ColHead As String ColHead = “function” ColHead function Dim lab as Boolean.
Chapter 2 topics Concept # on Java Subset Required for AP Exam print and println10. Testing of output is restricted to System.out.print and System.out.println.
ICT Introduction to Programming Chapter 4 – Control Structures I.
Review TEST 2 Chapters 4,5,7. QUESTION For which type of operands does the == operator always work correctly: (a) int, (b) double, or (c) String?
School of Computer Science & Information Technology G6DICP - Lecture 4 Variables, data types & decision making.
1 More data types Character and String –Non-numeric variables –Examples: char orange; String something; –orange and something are variable names –Note.
CECS 5020 Computers in Education Visual Basic Variables and Constants.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting PHP Basics.
Chapter 14 JavaScript: Part II The Web Warrior Guide to Web Design Technologies.
CS 106 Introduction to Computer Science I 03 / 22 / 2010 Instructor: Michael Eckmann.
End of the beginning Let’s wrap up some details and be sure we are all on the same page Good way to make friends and be popular.
Python Basics  Values, Types, Variables, Expressions  Assignments  I/O  Control Structures.
Data Structures: Multi-Dimensional Arrays Damian Gordon.
Java Basics. Tokens: 1.Keywords int test12 = 10, i; int TEst12 = 20; Int keyword is used to declare integer variables All Key words are lower case java.
Sudeshna Sarkar, IIT Kharagpur 1 Programming and Data Structure Sudeshna Sarkar Lecture 3.
Lecture 3: More Java Basics Michael Hsu CSULA. Recall From Lecture Two  Write a basic program in Java  The process of writing, compiling, and running.
CCSA 221 Programming in C CHAPTER 3 COMPILING AND RUNNING YOUR FIRST PROGRAM 1 ALHANOUF ALAMR.
 Type Called bool  Bool has only two possible values: True and False.
CS170 – Week 1 Lecture 3: Foundation Ismail abumuhfouz.
Programming for Mobile Technologies
Nested Quantifiers Goals: Explain how to work with nested quantifiers
Chapter 4: Decision Structures and Boolean Logic
Java Programming: From Problem Analysis to Program Design, 4e
Selection CSCE 121 J. Michael Moore.
Chapter (3) - Looping Questions.
Fundamentals 2.
Chapter 4: Decision Structures and Boolean Logic
Chap 1 Chap 2 Chap 3 Chap 5 Surprise Me
Computer Science Core Concepts
Intro to Programming Concepts
ECS15 boolean.
Chapter 5 – Decisions Big Java by Cay Horstmann
Chapter 4: Decision Structures and Boolean Logic
Primitive Data Types and Operators
boolean Expressions Relational, Equality, and Logical Operators
OUTPUT DESIGN PRINT K, expression list K FORMAT (specification list)
Presentation transcript:

Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course:CECS 541 Instructor: Dr. Michael Hoffman Date:Fall 2010

 Integer Statement  Let Statement  Print Statement  Println Statement  Read Statement  If … Then Statement  While Statement  For Statement  Begin … End Statement  Function Statement  Declare Array Statement  Add to Array Statement  Array Length Statement

 Multiple identifiers can be declared with one statement.  Multiple expressions and literals can be printed with one statement.  Comparison operations >=, <=, and != be implemented in boolean statements.  Logical operators AND and OR can be used in boolean statements  Additional data types Boolean, String, Double and Array can be used.  SIL uses step by step execution in parsing.  ‘#’ symbol used for line comments