Creating a Power Point Presentation Jason Flear November 29, 2004.

Slides:



Advertisements
Similar presentations
Programming for Beginners Martin Nelson Elizabeth FitzGerald Lecture 3: Flow Control I: For Loops.
Advertisements

For(int i = 1; i
Picture It Very Basic Game Picture Pepper. Original Game import java.util.Scanner; public class Game { public static void main() { Scanner scan=new Scanner(System.in);
Memory Test.
Objective: Dealing with data in C++ Agenda: Notes Essay Help.
Control Panel in Lecture Theatre Learning Environment Services.
Chapter 2 Review Questions
PHYS 2020 Making Choices; Arrays. Arrays  An array is very much like a matrix.  In the C language, an array is a collection of variables, all of the.
©2004 Brooks/Cole Chapter 6 Methods and Scope. Figures ©2004 Brooks/Cole CS 119: Intro to JavaFall 2005 A Method Can Be Viewed as a Black Box To use a.
Creating Effective Power Point Presentations Presented by: Amanda Louie CSC 105 LF08 December 2, 2003.
E Birbeck 7/04 Natural Numbers Whole Numbers Integers Rational Numbers.
Concept of Computer Programming November 2, 2011.
Bell Activity Solutions. Graphic Organizer (From last week)
Variable Declaration  It is possible to declare multiple variables of the same data type on the same line.  Ex. double hours, rate, total;  Variables.
Chapter 2 Practice.
Java Data Types. Primitive Data Types Java has 8 primitive data types: – char: used to store a single character eg. G – boolean: used to store true or.
MATH AND RANDOM CLASSES.  The need for random numbers occurs frequently when writing software.  The Random class, which is part of the java.util class,
Outcomes: Represent the solution sets to inequalities in the following formats: Graphically Symbolically With Words.
GCOC – A.P. Computer Science A. College Board Topics – A.P. Computer Science A Program Design - Read and understand a problem's description, purpose,
I CAN COMPARE AND ORDER RATIONAL NUMBERS BY USING A NUMBER LINE. 1.5 RATIONAL NUMBERS.
Math With Java The Math Class. First, A Quick Review of Math Operators in Java Primitive Data type in Java that represent numbers: Primitive Data type.
Math Class Part of the Java.lang package. This package is from object so you do not have to import the lang package. Static: Math Class is static.
Introduction to Computer Programming Math Random Dice.
Lecture 5 Methods. Sometimes we want to perform the same sequence of operations multiple times in a program. While loops allow us to do this, they are.
Agenda Seating Chart – don’t sit in a seat Present My Life in Adjectives Getting to Know you Materials Needed My life in Adjectives assignment Assignment.
Social Media EDTC 5103 Jacquelyn Morgans. The Survey.
Remain Conscious & Alert Eyes remain open, Head remains up, Look at screen, Sit up, no lying down.
Variables in Java x = 3;. What is a variable?  A variable is a placeholder in memory used by programmers to store information for a certain amount of.
Classroom TA414 Introduction. TA414 classroom There are twelve computers in this classroom. Teacher can use this classroom to teach some courses.
Basics and arrays Operators:  Arithmetic: +, -, *, /, %  Relational:, >=, ==, !=  Logical: &&, ||, ! Primitive data types Byte(8), short(16), int(32),
The Math class Java provides certain math functions for us. The Math class contains methods and constants that can be very useful. The Math class is like.
Dividing a Decimal by a Decimal. Dividing Whole Numbers 12 ÷ 2 = 120 ÷ 20 = 1200 ÷ 200 = ÷ 2000 = Multiply both 12 and 2 by 10 Multiply.
7/31: Math.random, more methods About DrawLine.java modifications –allow user input –draw a curve Method definitions Math.random()
Agenda March 8 1.PowerPoint Presentation on Variables. For download:
I n 2 0 y e a r s B y C a m e r o n My job P o k é m o n g a m e c r e a t o r. I a m g o i n g t o c o m b i n e d r a g o n i t e a n d m e g a n i.
Math Class Mrs. C. Furman September 2, Math frequently used methods NameUse floor()rounds down ceil()rounds up pow(x,y)returns x to the power of.
Control Panel in Lecture Theatres Learning Environment Services.
1 Chap. 3 Creating Objects The String class Java Class Library (Packages) Math.random() Reading for this Lecture: L&L, 3.1 – 3.6.
A: A: double “4” A: “34” 4.
KINDERGARTEN AGES (5-6) ALEJANDRA PRADO FRACTIONS!
Random Numbers. Are a series of numbers that have no pattern to them Ex) 7, 31, 4, 9, 8, 99… Random Numbers are used in… - Computer Games - Lotteries(6-49)
Let’s not leave anything to chance. How that process to generate random numbers takes places requires some complicated statistics that are outside the.
Creating and Using Class Methods. Definition Class Object.
Special Methods in Java. Mathematical methods The Math library is extensive, has many methods that you can call to aid you in your programming. Math.pow(double.
Psych. DMA Please take out a piece of paper and complete the following: 1.Write down the vocabulary word and definition.2 2. Choose ONE of these options.
Power Point The Do’s and Don’ts! Down’s Syndrome Down’s syndrome is a genetic disorder in which a male or female has an extra chromosome. A normal person.
Arrays. What is an array? An array is a collection of data types. For example, what if I wanted to 10 different integers? int num1; int num2; int num3;
AP Java 10/1/2015. public class Rolling { public static void main( String [] args) public static void main( String [] args) { int roll; int roll; for.
What will each of the following lines print? System.out.println("number" ); number645 System.out.println("number" + (6 + 4)+ 5); number105 System.out.println(6.
Loops Review. How to generate random numbers Math.random() will return a random decimal value in the form of a double. double num1 = Math.random(); num1.
Put your heading on your paper.
AP Java 10/4/2016.
Building Java Programs
What Shapes Can You See in this Picture?
Dividing Decimals.
Coasters Vocabulary Pre-Assignment.
Multiplying Decimals 3-6 & 3-7.
Java Lesson 36 Mr. Kalmes.
Classifying Rational Numbers
Random number generators
Job Performance Requirement 10-15
Unit 7 - Short-Circuit Evaluation - De Morgan’s Laws - The switch statement - Type-casting in Java - Using Math.random()
Around the room Orders of operations.
Agenda Warmup Lesson 1.9 (random #s, Boolean variables, etc)
Measurement and Geometry 25
Random Numbers while loop
Thinking about Decimals, and what they mean.
Come and sit down in front of the whiteboard.
1. What animal 2. Male or Female ? 4. Male or Female? Why? Why?
Active Processing Strategies
Presentation transcript:

Creating a Power Point Presentation Jason Flear November 29, 2004

Agenda: Audience information Audience information Room information Room information Using a picture Using a picture Some information on java Some information on java How to use the method math.random(); How to use the method math.random(); A billiard ball graphic A billiard ball graphic That moves! That moves! (I hope) (I hope)

Audience Information A group of my friends A group of my friends Attending only for interests sake Attending only for interests sake Largely beginners Largely beginners Ages 18 – 22 Ages 18 – 22 Both males and females Both males and females

Room Information It will have a theatre shape: It will have a theatre shape: There will be 25 audience members There will be 25 audience members They will sit in semi-circles They will sit in semi-circles The screens at the flat end, The screens at the flat end, with the projector in the middle

Working With Pictures Raph & Mike! Raph & Mike! Leo & Donnie! The Ninja Turtles:

How to use Math.random(); math.random(); In order to make it generate an integer between 1 and 100 we change it to: int j = (int)(Math.random() * ); A basic method in Java that returns A double value between 0.0 and 1.0 A basic method in Java that returns A double value between 0.0 and 1.0 This assigns the integer j to the value retuned by Math.random This assigns the integer j to the value retuned by Math.random This turns the numbers from decimals into whole numbers (1-99) This turns the numbers from decimals into whole numbers (1-99) Needed so that it goes from 1 to 100, not 0 to 99!

Bonus: a Billiard Ball