9-Aug-15 Vocabulary. Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation!

Slides:



Advertisements
Similar presentations
Using Jeroo Dianne Meskauskas
Advertisements

GCSE Computing Lesson 5.
compilers and interpreters
13-Jun-14 OOP features of Jeroo. Overview In this presentation we will discuss these topics: OOP terminology Jeroo syntax constructors methods.
Agenda 1. PowerPoint presentation on “the process of programming” (emphasis on terminology). 2. Assignment 1 (to be handed in by the end of the class)
CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
Creating Computer Programs lesson 27. This lesson includes the following sections: What is a Computer Program? How Programs Solve Problems Two Approaches:
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Course: Introduction to Computers
1 Programming Languages Examples: C, Java, HTML, Haskell, Prolog, SAS Also known as formal languages Completely described and rigidly governed by formal.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
The computer memory and the binary number system.
CCSA 221 Programming in C CHAPTER 2 SOME FUNDAMENTALS 1 ALHANOUF ALAMR.
1 Intro to Computer Science I Chapter 1 Introduction to Computation Algorithms, Processors, and Programs.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
DEPARTMENT OF COMPUTER SCIENCE & TECHNOLOGY FACULTY OF SCIENCE & TECHNOLOGY UNIVERSITY OF UWA WELLASSA 1 CST 221 OBJECT ORIENTED PROGRAMMING(OOP) ( 2 CREDITS.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
1 CSC204 – Programming I Lecture 2 Intro to OOP with Java.
Your First Java Application Chapter 2. 2 Program Concepts Modern object-oriented programs help us build models to manage the complexity found in a problem.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
1 2. Program Construction in Java Programming Fundamentals.
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
Robert Crawford, MBA West Middle School.  Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
Chapter 4 Software. Chapter 4: Software Generations of Languages Each computer is wired to perform certain operations in response to an instruction. An.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Introduction to OOP CPS235: Introduction.
©2016 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. CSC 110 – INTRO TO COMPUTING - PROGRAMMING Overview of Programming.
Objective You will be able to define the basic concepts of object-oriented programming with emphasis on objects and classes by taking notes, seeing examples,
1 Overview of Programming Principles of Computers.
17-Feb-16 Methods. Overview In this presentation we will discuss these 4 topics: Main method vs. Jeroo methods Choosing behaviors to turn into methods.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Programming. In your own words, explain what an algorithm is, and give an example of how people use algorithms every day.
Compilers and Interpreters
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Java Programming Fifth Edition Chapter 1 Creating Your First Java Classes.
Software Engineering Algorithms, Compilers, & Lifecycle.
Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.
Introduction to Jeroo a small object oriented programming language.
Chapter 1 Object Orientation: Objects and Classes.
Methods 9-Mar-17.
What Do Computers Do? A computer system is
Lecture 1b- Introduction
Component 1.6.
Visit for more Learning Resources
Topic: Programming Languages and their Evolution + Intro to Scratch
Introduction to programming
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
Key Ideas from day 1 slides
Lecture 1: Introduction to JAVA
Creativity in Algorithms
A451 Theory – 7 Programming 7A, B - Algorithms.
OOP features of Jeroo 8-Nov-18.
Language is a medium of communication.
a small object oriented programming language.
Your First Java Application
Programming Languages
Creating Computer Programs
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Ch. 1 Vocabulary Alice.
Creating Computer Programs
OOP features of Jeroo 3-Jul-19.
Dasar-Dasar Pemrograman 2: Java Basics
Presentation transcript:

9-Aug-15 Vocabulary

Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation! Jeroo is a fun program. You get to make things hop around an island on a great variety of adventures. In the process you’ll learn a lot about programming.

Essential Concepts In Jeroo you will write your own programs. You’ll type in the instructions to make Jeroos follow your commands. The code you type in is called your source code. Definitions: Program – a set of instructions for the computer Source code – a program written by a programmer in a programming language

TRANSLATING The computer cannot really understand the source code you type in. It has to be translated into something much simpler that a computer processor can understand. The compiler will turn your program into a form that can be processed. Definitions: Compiler – translates a program (or class) as a whole into another form such as byte code or machine code Java Byte Code – intermediate language created by the Java compiler. The JVM translates byte code into machine code. Machine Code – program in the form of binary codes - a series of 1’s and 0’s - that are understandable by the computer’s CPU

One really nice thing about Jeroo is that it has an interpreter. It translates your source code one line at a time and tells the Jeroo to follow your instructions one at a time so you can see it working. Definition: Interpreter – translates a program into machine language one statement at a time

Essential Concepts Before you can write a program, you should have a plan. This is your algorithm. Then you have to type in your instructions following the syntax of the language you are using. Jeroo uses Java syntax like this: Definitions: Algorithm – a plan for solving a problem Syntax – a set of rules for writing or speaking a language Semantics – the meaning associated with valid expressions

Essential Concepts - OOP A Jeroo is an object. There are things you know about it, its properties, that can change, such as where it is and how many flowers it has, and there are the methods which are things it can do. Definitions: Object – represents a specific concept or item that is relevant to a problem to be solved. There are 3 parts to an object, facts about the object, how it is created, and tasks it can perform. Attribute – is a fact associate with a specific object. Also known as a property or instance data. Behavior – is an action an object can perform in response to a request from an external source. You write code to turn a behavior into a method.

Essential Concepts - OOP Method – a collection of statements that are written in some programming language to describe a specific behavior Method Precondition – something that is assumed to be true before the method is invoked Method Postcondition – something that is assumed to be true after the method has been executed

Essential Concepts - OOP Class – is a collection of statements that are written in some programming language to describe both the attributes (properties) and the behaviors (methods) of an object. Instantiation – the process of creating a specific object. Jeroo clyde = new Jeroo(); clyde is an instance of the Jeroo class. This is also called constructing an object. Construct = Instantiate

Review for QUIZ – Match words with definitions 1. Compiler 2. Object 3. Algorithm 4. Byte code 5. Interpreter 6. Syntax 7. Attribute 8. Source code 9. Instantiate 10. Method A. A plan for solving a problem B. Translates one line of code at a time C. To create a new object in your program. D. Rules of how a language must be written. E. Something an object can do F. Part of a program that describes how an object can accomplish a particular behavior. G. Translates a whole program all at once H. The code you, the programmer, type in I. The code the computer understands J. One thing you can use in your program that has attributes and methods