Unit 1: Introduction Lesson 1: PArts of a java program

Slides:



Advertisements
Similar presentations
Designing a Program & the Java Programming Language
Advertisements

compilers and interpreters
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Activity 1 - WBs 5 mins Go online and spend a moment trying to find out the difference between: HIGH LEVEL programming languages and LOW LEVEL programming.
CS102 Introduction to Computer Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
Integrated Development Environments (IDEs) CS 21a: Introduction to Computing I First Semester,
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
© 2006 Pearson Education 1 Obj: cont 1.3 and 1.4, to become familiar with identifiers and to understand how programming languages work HW: p.51 #1.8 –
CMPS 211 JavaScript Topic 1 JavaScript Syntax. 2Outline Goals and Objectives Goals and Objectives Chapter Headlines Chapter Headlines Introduction Introduction.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
Chapter 3 Syntax, Errors, and Debugging Fundamentals of Java.
1 12/4/1435 h Lecture 2 Programs and Programming Languages.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
ERRORS. Types of errors: Syntax errors Logical errors.
Integrated Development Environments (IDEs) CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila.
1 Overview of Programming Principles of Computers.
Compilers and Interpreters
Introduction to Computer Programming using Fortran 77.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Chapter 1: Introduction to Computers and Programming.
CHAPTER 3 COMPLETING THE PROBLEM- SOLVING PROCESS AND GETTING STARTED WITH C++ An Introduction to Programming with C++ Fifth Edition.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Third Edition by Tony Gaddis.
The purpose of a CPU is to process data Custom written software is created for a user to meet exact purpose Off the shelf software is developed by a software.
Chapter 1: Introduction to Computers and Programming
Software Development Environment
Lecture 1 Introduction Richard Gesick.
GC101 Introduction to computer and program
CSCI-235 Micro-Computer Applications
Chapter 3 Assignment and Interactive Input.
ICS103 Programming in C Lecture 3: Introduction to C (2)
Intro to Programming Week # 1 Hardware / Software Lecture # 2
Chapter 1. Introduction to Computers and Programming
A451 Theory – 7 Programming 7A, B - Algorithms.
Java programming lecture one
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Microsoft Access Illustrated
Computer science By/ Midhat Mohiey. Introduction to Programming using C ++ 2.
Unit# 8: Introduction to Computer Programming
TRANSLATORS AND IDEs Key Revision Points.
Chapter 1: Introduction to Computers and Programming
Unit E Step-by-Step: Programming with Python
Chapter 10 Programming Fundamentals with JavaScript
Introduction to C++ Programming
Chapter 1 Introduction(1.1)
Chapter 2: Introduction to C++.
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
12th Computer Science – Unit 5
Software Development Environment, File Storage & Compiling
Introduction to programming
Lexical Elements & Operators
Programming Logic and Design Eighth Edition
ASCII and Unicode.
Chapter 1: Introduction to Computers and Programming
PYTHON - VARIABLES AND OPERATORS
Presentation transcript:

Unit 1: Introduction Lesson 1: PArts of a java program

Keywords Keywords have special meaning and are part of the Java programming language. They may not be used for anything other than their intended purpose.

OPERATORS Operators are symbols or words which perform operations (mathematical, logical etc.) on a piece of data. A piece of data which an operator acts on is called an Operand. Words that act as operators usually begin with a period.

Punctuation Punctuation characters are symbols which mark the beginning or end of statements. Punctuation characters may also be used to separate data items on a list.

Programmer defined words Programmer Defined Words are words that are defined by the programmer. The programmer chooses the purpose, and name of programmer defined words. Similar to Key Words, once the programmer defines the words and their purpose, the words may not be used in any other way.

Syntax Syntax are rules for how key words, operators punctuation, and user defined words may be used. Any use of key words, operators, punctuation or user defined words which is not in accordance with Syntax will result in an error.

Variables Variables are the most basic way in which a Java program stores information. Variable names are user defined. There are several types of variable, each type can only store a certain type of data. Variables can only store one item of data at a time, if the program stores another value, it will replace the original value.

The Compiler When a Program is written, the computer cannot immediately execute that code. It must first be converted from the Java programming language to a form that is readable by the computer's CPU. The Compiler is responsible for this conversion.

Integrated Development Environment An IDE is an application which bundles together a compiler, a text editor and a debugger. IDEs are commonly used to write programs, check for errors, compile, and execute the program. Some common IDEs are "Dr.Java", "JCreator" and "Eclipse"