Programming Vocabulary.

Slides:



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

Introducing JavaScript
IT151: Introduction to Programming
University of Palestine software engineering department Introduction to data structures Introduction to java application instructor: Tasneem Darwish.
© 2007 Lawrenceville Press Slide 1 Chapter 3 Classes and Objects.
 2005 Pearson Education, Inc. All rights reserved Introduction.
1 ICS103 Programming in C Lecture 3: Introduction to C (2)
Outline Java program structure Basic program elements
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
XP Tutorial 1 New Perspectives on JavaScript, Comprehensive1 Introducing JavaScript Hiding Addresses from Spammers.
1. 2 Chapter 1 Introduction to Computers, Programs, and Java.
CSE 1301 J Lecture 2 Intro to Java Programming Richard Gesick.
CH1 – A 1 st Program Using C#. Program Set of instructions which tell a computer what to do. Machine Language Basic language computers use to control.
CS102 Introduction to Computer Programming
© The McGraw-Hill Companies, 2006 Chapter 1 The first step.
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
Android How to Program, 2/e © Copyright by Pearson Education, Inc. All Rights Reserved.
Comments are for people Header comments supply basic information about the artifact.
Introduction to Java Thanks to Dan Lunney (SHS). Java Basics File names The “main” method Output to screen Escape Sequence – Special Characters format()
Chapter 1 Introduction. Goal to learn about computers and programming to compile and run your first Java program to recognize compile-time and run-time.
© 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 –
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
1 JavaScript in Context. Server-Side Programming.
History of C 1950 – FORTRAN (Formula Translator) 1959 – COBOL (Common Business Oriented Language) 1971 – Pascal Between Ada.
Intro and Review Welcome to Java. Introduction Java application programming Use tools from the JDK to compile and run programs. Videos at
Java Programming, Second Edition Chapter One Creating Your First Java Program.
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.
CHAPTER 3 GC Java Fundamentals. 2 BASICS OF JAVA ENVIRONMENT  The environment  The language  Java applications programming Interface API  Various.
Java Syntax and Style JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin, Gary Litvin,
1.  10% Assignments/ class participation  10% Pop Quizzes  05% Attendance  25% Mid Term  50% Final Term 2.
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 2: Variables & Data Types.
Chapter 3 Introduction To Java. OBJECTIVES Packages & Libraries Statements Comments Bytecode, compiler, interpreter Outputting print() & println() Formatting.
CPS120: Introduction to Computer Science Introduction to C++
1 JavaScript in Context. Server-Side Programming.
Java FilesOops - Mistake Java lingoSyntax
Agenda Comments Identifiers Keywords Syntax and Symentics Indentation Variables Datatype Operator.
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction to Computers, Programs,
© 2007 Lawrenceville Press Slide 1 Chapter 3 Classes and Objects 1. How is a class different from an object?
Introducing Java Chapter 3 Review. Why Program in Java? Java, is an object-oriented programming language. OOP languages evolved out of the need to better.
1 Types of Programming Language (1) Three types of programming languages 1.Machine languages Strings of numbers giving machine specific instructions Example:
Chapter 3 Introducing Java. Objectives and Goals 1. Define terminology associated with object- oriented programming. 2. Explain why Java is a widely used.
Java Programming Fifth Edition Chapter 1 Creating Your First Java Classes.
Introduction to 1. What is Java ? Sun Microsystems Java is a programming language and computing platform first released by Sun Microsystems in The.
The Essentials of a Java Program JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
Introducing Java Chapter 3. Why Program in Java? 0 Java was developed by Sun Microsystems. It is a widely used high-level programming language. 0 One.
Computer Programming Your First Java Program: HelloWorld.java.
Working with Java.
Introduction to .NET Framework
Chapter 1 Introduction to Computers, Programs, and Java
GC101 Introduction to computer and program
CSCI-235 Micro-Computer Applications
Completing the Problem-Solving Process
Introduction to.
C Programming Hardik H. Maheta.
ICS103 Programming in C Lecture 3: Introduction to C (2)
Variables, Expressions, and IO
Java programming lecture one
Lecture Note Set 1 Thursday 12-May-05
CompSci 230 Software Construction
Introduction Java Chapter 3.
Chapter 3 Classes and Objects
MSIS 655 Advanced Business Applications Programming
elementary programming
A programming language
Lecture Notes - Week 2 Lecture-1. Lecture Notes - Week 2 Lecture-1.
CPS120: Introduction to Computer Science
Unit 3: Variables in Java
Presentation transcript:

Programming Vocabulary

Source Code A text editor used to type your program.

Syntax A specific format used to create your program.

Import Includes other libraries. import cs1.keyboard- another class or library that allows you to use other key words.

// Comments - Used to write notes about the program. /* - this is one content that spans several lines. */

Public Class (Name of program): The #include directive is a special instruction for the java compiler that tells the compiler to include the contents of another file.

Public static void main (string [] args) Void main is the name of a function. A function is simply a block of code that performs a task.

{ } The braces mark the beginning and the end of the code block.

Variables Variables are simply memory locations that the program will use while it is running.

; Variables are considered a statement and therefore ends in a semicolon.

Keyboard.readInt() Input statement Keyboard.readInt() pauses the program to allow the user to enter the current weekly pay.

System.out.print System.out.pirntin returns to a new line.

* / + - These symbols are used in mathematical equations Multiply * Divide / Add + Subtract -

White Space White Space is used to separate the word and symbols used in a program.

Complier A program that translates code in one language to equivalent code in another language.

IDE IDEs combine an editor, compiler, and other Java support tools into a single application.

Three Types of Errors Compile-time error Runtime error Logical error

Java Developed by Sun Microsystem High-Level programming language One reason for its wide-spread use is the ability to create platform independent applications.

Object, Classes, & Packages An object consists of related data and the instructions for performing actions on that data A class defines the type of data actions on that will be associated with an object of that class. A package, sometimes calle a library is a group of related classes.

Object, Classes, & Packages Library Fiction Biography Classes Name of Book Name of Book Object

Code Conventions An introductory comment should begin a program Package names should begin with a lowercase Class names should be nouns and beginwith an Uppercase letter A comment block should be included before each class.

Code Conventions Comments should not repeat what is clear for looking a the code Statements in a method should be indented. An oopen curly brace { should be placed on the same line as the class or method declaration.