Computer Programming 12 Mr. Jean March 5 th, 2014.

Slides:



Advertisements
Similar presentations
Introduction to Programming
Advertisements

Parts of a Computer.
Computing Science Software Design and Development SOFTWARE DESIGN AND DEVELOPMENT USING PYTHON.
Presentation and Multimedia
Computer Hardware 4 Main Types.
Computer Programming Lab(7).
P3- Represent how data flows around a computer system
CS107 Introduction to Computer Science Lecture 3, 4 An Introduction to Algorithms: Loops.
C++ Basics March 10th. A C++ program //if necessary include headers //#include void main() { //variable declaration //read values input from user //computation.
Today’s topics: I/O (Input/Output). Scribbler Inputs & Outputs  What are the Scribbler’s inputs and outputs?  reset button  motors/wheel  light sensor.
Aspect-Oriented Software Development (AOSD) Additional Material Start Writing in AspectJ.
© The McGraw-Hill Companies, 2006 Chapter 5 Arrays.
Input Devices or Ways to create the stuff you want.
Moving To Code 3 More on the Problem-Solving Process §The final step in the problem-solving process is to evaluate and modify (if necessary) the program.
By Asma Khalil.  As now a days world is known as the global village. We can share our ideas through out the world and in this mean computer helps us.
Using Java's Math & Scanner class. Java's Mathematical functions (methods) (1)
Computer Programming Lab(5).
Warm-Up: Monday, March 3 List all devices you can think of that can be used to input information into the computer.
An Introduction To Computer Hardware
Today’s Agenda: Computer Basics Review Hardware: The physical components of a computer, any internal or external computer part that you can touch. Software:
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
Computers and Disability Case Study IB Computer Science II Paul Bui.
MULTIMEDIA Is the presentation of information by a computer system using graphics, animation, sound and text.
COMPUTER PARTS AND COMPONENTS INPUT DEVICES
Computer Programming 12 Mr. Jean May 8 th, The plan: Video clip of the day Upcoming Assessment Bot.java.
Computer Programming 12 Mr. Jean April 24, The plan: Video clip of the day Upcoming Quiz Sample arrays Using arrays More about arrays.
Tools for information processes Organising IPT 2009.
Can we talk?. In Hello World we already saw how to do Standard Output. You simply use the command line System.out.println(“text”); There are different.
The 5 th and 6 th tutoring session - A case study about verifying a ISBN - Writing code for problems in HW1 Fall, 2012 Haidong(Haydon) Xue 5:30pm—8:30pm.
HARDWARE INPUT DEVICES GETTING DATA INTO THE COMPUTER.
1. Understand the application of Pseudo Code for programming purposes 2. Be able to write algorithms in Pseudo Code.
CSC1401 Strings (text). Learning Goals Working with Strings as a data type (a class) Input and output of Strings String operations.
CS110 Programming Language I Lab 4: Control Statements I Computer Science Department Spring 2014.
Introduction Chapter 1 8/31 & 9/1 Imagine! Java: Programming Concepts in Context by Frank M. Carrano, (c) Pearson Education - Prentice Hall, 2010.
Assignment statement and Arithmetic operation 1 The major part of data processing.
Introduction to Computing Concepts Note Set 15. JOptionPane.showMessageDialog Message Dialog Allows you to give a brief message to the user Can be used.
Math 11 Mr. Jean March 1 st, The plan: Video clip of the day Finding the transformations Re-arranging trigonometric equations from general to standard.
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
AGENDA – DIGITAL COMPUTER 1B MARCH 22, thurSDAY  MS PowerPoint Advance Course Lesson 3: Working with Visual and Sound Objects (Applications) 
 Software Development Life Cycle  Software Development Tools  High Level Programming:  Structures  Algorithms  Iteration  Pseudocode  Order of.
Parts of a Computer. Two Basic Components of a Computer System Hardware Parts of the Computer System you can physically touch Software Computer Instructions.
Iterative Structures (Loops) CS 1401 Spring 2013 Shirley Moore, Instructor February 28, 2013.
ISLAMIC UNIVERSITY OF GAZA FACULTY OF ENGINEERING ISLAMIC UNIVERSITY OF GAZA FACULTY OF ENGINEERING Computer Programming Lab 1 Programming Basics By Eng.
GCSE Computing: Programming GCSE Programming Remembering Python.
EXT 10 Mr. Jean September 13 th, The plan: Video clip of the day Moodle Site How to survive a car crash? Assignment #1 –Complete by the end of class.
Dale Roberts Introduction to Java - Input, Program Control and Instantiation Dale Roberts, Lecturer Computer Science, IUPUI
import java.util.Scanner; class myCode { public static void main(String[] args) { Scanner input= new Scanner(System.in); int num1; System.out.println(“Enter.
1 Project 4: Computing Distance. 222 Computing Distance Write a program to compute the distance between two points. Recall that the distance between the.
FOR LOOPS "LOOP FOR A SET NUMBER OF TIMES.". FOR ( START_VALUE; END_VALUE; INCREMENT_NUMBER ) { //YOUR_CODE_HERE } So after the word "for" (in lowercase)
Agenda For Feb PowerPoint Presentation on Java Methods. 3. Finish Happy Face Assignment (Due by the.
1 Sections 3.3 – 3.4 Terminal I/O and Comments Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Chapter 2 Clarifications
Chapter 1 Introduction to Java
1. If you travel at 10mph for 1 hour, how far do you travel?
Keyboarding Class LHMS Ms. Key © Mr. Thrasher
Computers & Programming Languages
Unit Flow In the long run, the product flow through each operation must be proportional to the output flow of the process 8/24/04 Paul A. Jensen Operations.
Introduction to Classes and Methods
Computer Basics: How Do Computers Work? Part II
[your assigned person’s name and status]
Page 18 Rule: Area Formula: L x W  Input x Input  (Input) = Output
Evaluating Logarithms
21 3 Variables Selection Functions Repetition Challenge 21
Small Basic Programming
Clip & Convert to ASCII Program Kelly Knapp Spring 2010
CS 1111 Introduction to Programming Spring 2019
H446 Computer Science.
Python Creating a calculator.
Presentation transcript:

Computer Programming 12 Mr. Jean March 5 th, 2014

The plan: Video clip of the day Review of yesterday’s notes Step by step building a project Scan statements Java Programming Pass in Assignment #2

Review of yesterday's program:

How to build new projects:

Today’s work: We want to use a “scanning” tool in our programs.

The variables scanner:

Calling the scanner:

Using the called scanner:

Scanning for data:

Displaying scanned information:

Java Program Pass in assignment Create a program called “convertkmmph” which allows –a user to enter in km/h and it converts it to mph. –a user to enter in mph and it converts it to km/h. Output screen: Speed in km/h: “Input here” Speed converted to mph: “result” Speed in mph: “Input here” Speed converted to km/h: “result”

To do: Finish yesterday’s “IntOperations” program Start the speed converter “convertkmmph” program.