Creating a Java class with a main method

Size: px
Start display at page:

Download "Creating a Java class with a main method"

Transcription

1 Creating a Java class with a main method The purpose of this exercise is to ensure you can code your own Java application class. This type of class used here is special in the sense that it has a main method; the main method is the place where application programs begin their execution. Many of the programs in our Java text are exactly that: a Java class with one method which begins with the line: Previously you interacted with a set of Java classes using the BlueJ workbench. You may want to take a moment and examine those classes especially Triangle, Circle, and Square. If you examine Triangle: You will see, in lines 12-16, fields/variables ( height, width, xposition, yposition, color) that have meaning for a triangle. For instance, xposition and yposition determine where an object will exist on a canvas. You should also note there are chunks of code called methods (e.g. makevisible, changecolor) that are responsible for doing things. In this exercise you create a new Java class with a main method that does the following: Create an object (e.g. a triangle) Request the object to make itself visible Request the object to do other things (e.g. change its colour) Repeat the above as necessary to achieve the picture you want. You may do this work on your own laptop if you have that with you. 1

2 1. Create a BlueJ project and import/copy the Shapes example classes into the project. 2. Create a new class: press the New Class button and give the class a name (e.g. MakePicture) 3. Modify the class. Your new class will have some code in it already. This skeleton code is generated automatically by BlueJ and is useful when you are creating classes such as Canvas, Triangle, and so on, but the generated code is not so useful for our purpose here. Right-click on the class and select Open Editor and you will be able to edit the code so it becomes the following: /** * This program creates a picture and * displays the picture on the canvas. * (... ) */ public class MakePicture { Some points about the above The lines delimited by /** and **/ are called comments that are useful for humans, but are ignored by Java. Modify comment to include your name. The name of the class is MakePicture The characters { and always appear in pairs. The outermost pair delimits the code that comprises the makepicture class. The innermost pair delimits the code that comprises the method named main. We need to add code to the main method, but first, click the Compile button to ensure your program is executable. o It is good practice to frequently compile code to ensure your changes do not have syntax errors. o If your code does not compile then, at this point in the course, you should probably ask the instructor to examine your code to inform you of your error and its correction. 2

3 4. Create a triangle, make it do things and have it make itself visible on the canvas. To create a triangle and make it visible you need to add code (see the highlighted code below) such as: /** * This program creates a picture and * displays the picture on the canvas. * (... ) */ public class MakePicture { Triangle t1 = new Triangle(); t1.movevertical(25); t1.changecolor("red"); t1.makevisible(); Some points about the above code: The line Triangle t1 = new Triangle(); Results in the creation of triangle that is known by the name t1 in the program. t1.movevertical(25); is asking the triangle t1 to execute its movevertical method with the argument 25. The result of this is that t1 will move on the screen to a new position 25 pixels downward. t1.changecolor("red"); is asking the triangle t1 to execute its changecolor method with the argument red. The result of this is that t1 changes its colour. t1.makevisible(); is asking the triangle t1 to execute its makevisible method. The result of this is that t1 now appears on the canvas. 3

4 5. Compile the code. Every time you modify code you will see the diagonal lines in the rectangular box that represents the class in the project. This indicates you must compile the code. Click the Compile button. 6. Running the code. Once compiled, and with no compile-time errors, you can run the main method by selecting it: Right-click the class and choose as shown below. You must click on the OK button for the code to run: 4

5 7. The expected outcome is the canvas: 8. Now, more objects add more code to create more objects. Give each one a name such as t2, c3, s1, p1, p2, etc. Can you arrange the objects to form a picture? If requested by the instructor submit your.java files via . 5

Structured Programming

Structured Programming CS 170 Java Programming 1 Objects and Variables A Little More History, Variables and Assignment, Objects, Classes, and Methods Structured Programming Ideas about how programs should be organized Functionally

More information

Programs as Models. Procedural Paradigm. Class Methods. CS256 Computer Science I Kevin Sahr, PhD. Lecture 11: Objects

Programs as Models. Procedural Paradigm. Class Methods. CS256 Computer Science I Kevin Sahr, PhD. Lecture 11: Objects CS256 Computer Science I Kevin Sahr, PhD Lecture 11: Objects 1 Programs as Models remember: we write programs to solve realworld problems programs act as models of the real-world problem to be solved one

More information

Programming Project 1

Programming Project 1 Programming Project 1 Handout 6 CSCI 134: Fall, 2016 Guidelines A programming project is a laboratory that you complete on your own, without the help of others. It is a form of take-home exam. You may

More information

Com S 227 Assignment Submission HOWTO

Com S 227 Assignment Submission HOWTO Com S 227 Assignment Submission HOWTO This document provides detailed instructions on: 1. How to submit an assignment via Canvas and check it 3. How to examine the contents of a zip file 3. How to create

More information

Animations that make decisions

Animations that make decisions Chapter 17 Animations that make decisions 17.1 String decisions Worked Exercise 17.1.1 Develop an animation of a simple traffic light. It should initially show a green disk; after 5 seconds, it should

More information

THE PRINCIPLE OF INDUCTION. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin

THE PRINCIPLE OF INDUCTION. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin THE PRINCIPLE OF INDUCTION MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin The Principle of Induction: Let a be an integer, and let P(n) be a statement

More information

An Introduction to Processing

An Introduction to Processing An Introduction to Processing Creating static drawings Produced by: Mairead Meagher Dr. Siobhán Drohan Department of Computing and Mathematics http://www.wit.ie/ Topics list Coordinate System in Computing.

More information

Introduction to Flash - Creating a Motion Tween

Introduction to Flash - Creating a Motion Tween Introduction to Flash - Creating a Motion Tween This tutorial will show you how to create basic motion with Flash, referred to as a motion tween. Download the files to see working examples or start by

More information

Microsoft Office Word 2010

Microsoft Office Word 2010 Microsoft Office Word 2010 Inserting and Working with Pictures (Images) 1. Images in your work An image is a great way to liven up a document, but in academic uses is normally only included where something

More information

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks Unit 21 - Creating a Navigation Bar in Macromedia Fireworks Items needed to complete the Navigation Bar: Unit 21 - House Style Unit 21 - Graphics Sketch Diagrams Document ------------------------------------------------------------------------------------------------

More information

PSD to Mobile UI Tutorial

PSD to Mobile UI Tutorial PSD to Mobile UI Tutorial Contents Planning for design... 4 Decide the support devices for the application... 4 Target Device for design... 4 Import Asset package... 5 Basic Setting... 5 Preparation for

More information

SCHOOL OF COMPUTING, ENGINEERING AND MATHEMATICS SEMESTER 1 EXAMINATIONS 2015/2016 CI101 / CI177. Programming

SCHOOL OF COMPUTING, ENGINEERING AND MATHEMATICS SEMESTER 1 EXAMINATIONS 2015/2016 CI101 / CI177. Programming s SCHOOL OF COMPUTING, ENGINEERING AND MATHEMATICS SEMESTER 1 EXAMINATIONS 2015/2016 CI101 / CI177 Programming Time allowed: THREE hours: Answer: ALL questions Items permitted: Items supplied: There is

More information

CISC 1600 Lecture 3.1 Introduction to Processing

CISC 1600 Lecture 3.1 Introduction to Processing CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists

More information

Objects and Classes Lecture 2

Objects and Classes Lecture 2 Objects and Classes Lecture 2 Waterford Institute of Technology January 12, 2016 John Fitzgerald Waterford Institute of Technology, Objects and ClassesLecture 2 1/32 Classes and Objects Example of class

More information

Lab 8. An Introduction to Objects

Lab 8. An Introduction to Objects Lab 8 An Introduction to Objects 1 Overview One of the characteristics, perhaps the most important, of a good designer is the ability to deal with abstractions or generalizations. In the process of learning

More information

Lesson 5: Creating Heterogeneous Parts

Lesson 5: Creating Heterogeneous Parts Lesson 5: Creating Heterogeneous Parts Lesson Objectives After you complete this lesson you will be able to: Create a Heterogeneous part Annotate a Heterogeneous part (Optional) Heterogeneous Parts A heterogeneous

More information

CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

More information

Exercise in Biology and Geometry Part 2

Exercise in Biology and Geometry Part 2 Exercise in Biology and Geometry Part 2 Background Information Imagine you are a scientist that is sent two specimens that have a 3-D configuration. The two specimens have the same size, volume, shape,

More information

Three Dimensional Figures. TeacherTwins 2015

Three Dimensional Figures. TeacherTwins 2015 Three Dimensional Figures TeacherTwins 2015 Warm Up What is a 2 dimensional figure? What is a three dimensional figure? Draw a picture of each. Using the nets provided, make the following three dimensional

More information

CAS London CPD Day February 16

CAS London CPD Day February 16 Practical Sheet: GUI Programming This sheet is a set of exercises for introducing GUI programming in Python using Tkinter, assuming knowledge of basic Python programming. All materials are at http://www.eecs.qmul.ac.uk/~william/cas-london-2016.html

More information

1. Complete these exercises to practice creating user functions in small sketches.

1. Complete these exercises to practice creating user functions in small sketches. Lab 6 Due: Fri, Nov 4, 9 AM Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2, D3 ), the Processing Language and IDE, and Saving and Submitting. Rules: Do not use the

More information

CS 100 Python commands, computing concepts, and algorithmic approaches for final Fall 2015

CS 100 Python commands, computing concepts, and algorithmic approaches for final Fall 2015 CS 100 Python commands, computing concepts, and algorithmic approaches for final Fall 2015 These pages will NOT BE INCLUDED IN THE MIDTERM. print - Displays a value in the command area - Examples: - print

More information

HO-1: INTRODUCTION TO FIREWORKS

HO-1: INTRODUCTION TO FIREWORKS HO-1: INTRODUCTION TO FIREWORKS The Fireworks Work Environment Adobe Fireworks CS4 is a hybrid vector and bitmap tool that provides an efficient design environment for rapidly prototyping websites and

More information

Learning outcomes. COMPSCI 101 Principles of Programming. Drawing 2D shapes using Characters. Printing a Row of characters

Learning outcomes. COMPSCI 101 Principles of Programming. Drawing 2D shapes using Characters. Printing a Row of characters Learning outcomes At the end of this lecture, students should be able to draw 2D shapes using characters draw 2D shapes on a Canvas COMPSCI 101 Principles of Programming Lecture 25 - Using the Canvas widget

More information

CS Programming Exercise:

CS Programming Exercise: CS Programming Exercise: An Introduction to Java and the ObjectDraw Library Objective: To demonstrate the use of objectdraw graphics primitives and Java programming tools This lab will introduce you to

More information

Assignment Submission HOWTO

Assignment Submission HOWTO Assignment Submission HOWTO This document provides detailed instructions on: 1. How to submit an assignment via Blackboard 2. How to create a zip file and check its contents 3. How to make file extensions

More information

Math-2 Lesson 6-3: Area of: Triangles, rectangles, circles and Surface Area of Pyramids

Math-2 Lesson 6-3: Area of: Triangles, rectangles, circles and Surface Area of Pyramids Math- Lesson 6-3: rea of: Triangles, rectangles, circles and Surface rea of Pyramids SM: Lesson 6-3 (rea) For the following geometric shapes, how would you answer the question; how big is it? Describe

More information

Word 3 Microsoft Word 2013

Word 3 Microsoft Word 2013 Word 3 Microsoft Word 2013 Mercer County Library System Brian M. Hughes, County Executive Action Technique 1. Insert a Text Box 1. Click the Insert tab on the Ribbon. 2. Then click on Text Box in the Text

More information

Customise your module structure

Customise your module structure VITAL how to guides Customise your module structure Creating new menu items in a module menu Editing menu items in a module menu Re-ordering items in a module menu The Module Page elearning Unit Last updated:

More information

COMP 102: Test August, 2017

COMP 102: Test August, 2017 Family Name:.......................... Other Names:.......................... Student ID:............................ Signature.............................. COMP 102: Test 1 14 August, 2017 Instructions

More information

AP Computer Science A Summer Assignment

AP Computer Science A Summer Assignment Mr. George AP Computer Science A Summer Assignment Welcome to AP Computer Science A! I am looking forward to our class. Please complete the assignment below. It is due on the first day back to school in

More information

Guided Problem Solving

Guided Problem Solving -1 Guided Problem Solving GPS Student Page 57, Exercises 1 1: Match each rule with the correct translation. A. (x, y) (x, y 1 ) I. P(, 1) P (3, ) B. (x, y) (x 1 3, y) II. Q(3, 0) Q (3, ) C. (x, y) (x 1,

More information

Creating T-Spline Forms

Creating T-Spline Forms 1 / 28 Goals 1. Create a T-Spline Primitive Form 2. Create a T-Spline Revolve Form 3. Create a T-Spline Sweep Form 4. Create a T-Spline Loft Form 2 / 28 Instructions Step 1: Go to the Sculpt workspace

More information

Student Outcomes. Lesson Notes. Classwork. Opening Exercise (3 minutes)

Student Outcomes. Lesson Notes. Classwork. Opening Exercise (3 minutes) Student Outcomes Students solve problems related to the distance between points that lie on the same horizontal or vertical line Students use the coordinate plane to graph points, line segments and geometric

More information

Lesson 22: Surface Area

Lesson 22: Surface Area Student Outcomes Students find the surface area of three-dimensional objects whose surface area is composed of triangles and quadrilaterals, specifically focusing on pyramids. They use polyhedron nets

More information

To build shapes from scratch, use the tools are the far right of the top tool bar. These

To build shapes from scratch, use the tools are the far right of the top tool bar. These 3D GAME STUDIO TUTORIAL EXERCISE #5 USE MED TO SKIN AND ANIMATE A CUBE REVISED 11/21/06 This tutorial covers basic model skinning and animation in MED the 3DGS model editor. This exercise was prepared

More information

Separate Text Across Cells The Convert Text to Columns Wizard can help you to divide the text into columns separated with specific symbols.

Separate Text Across Cells The Convert Text to Columns Wizard can help you to divide the text into columns separated with specific symbols. Chapter 7 Highlights 7.1 The Use of Formulas and Functions 7.2 Creating Charts 7.3 Using Chart Toolbar 7.4 Changing Source Data of a Chart Separate Text Across Cells The Convert Text to Columns Wizard

More information

Enjoy upgrading to Microsoft Word Author: Christine Kent. Web address Blog address

Enjoy upgrading to Microsoft Word Author: Christine Kent. Web address   Blog address Enjoy upgrading to Microsoft Word 2007 Copyright Christine Kent, April 2008, revised September 08 Author: Christine Kent Web address www.christinekent.net Blog address http://christinekent.blogspot.com/

More information

CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

More information

Labels and Envelopes in Word 2013

Labels and Envelopes in Word 2013 Labels and Envelopes in Word 2013 Labels... 2 Labels - A Blank Page... 2 Selecting the Label Type... 2 Creating the Label Document... 2 Labels - A Page of the Same... 3 Printing to a Specific Label on

More information

CK-12 Geometry: Exploring Similar Solids. Learning Objectives Find the relationship between similar solids and their surface areas and volumes.

CK-12 Geometry: Exploring Similar Solids. Learning Objectives Find the relationship between similar solids and their surface areas and volumes. CK-12 Geometry: Exploring Similar Solids Learning Objectives Find the relationship between similar solids and their surface areas and volumes. Review Queue a. We know that every circle is similar, is every

More information

Unit 7: 3D Figures 10.1 & D formulas & Area of Regular Polygon

Unit 7: 3D Figures 10.1 & D formulas & Area of Regular Polygon Unit 7: 3D Figures 10.1 & 10.2 2D formulas & Area of Regular Polygon NAME Name the polygon with the given number of sides: 3-sided: 4-sided: 5-sided: 6-sided: 7-sided: 8-sided: 9-sided: 10-sided: Find

More information

CPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment.

CPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment. CPS109 Lab 1 Source: Partly from Big Java lab1, by Cay Horstmann. Objective: i. To become familiar with the Ryerson Computer Science laboratory environment. ii. To obtain your login id and to set your

More information

Computer Science AP 2017 Summer Assignment Mrs. McFarland

Computer Science AP 2017 Summer Assignment Mrs. McFarland Computer Science AP 2017 Summer Assignment Mrs. McFarland Read Chapter 1 from the book Think Java: How to Think Like a Computer Scientist by Allen B. Downey. I have included Chapter 1 in this pdf. If you

More information

SE06: In-Sight Explorer New Tools for Defect Detection - Hands On Lab Werner Solution Expo April 8 & 9

SE06: In-Sight Explorer New Tools for Defect Detection - Hands On Lab Werner Solution Expo April 8 & 9 SE06: In-Sight Explorer New Tools for Defect Detection - Hands On Lab Werner Solution Expo April 8 & 9 Learning Goals: At the end of this lab, the student should have familiarity with the most common settings

More information

Self-Teach Exercises: Getting Started Turtle Python

Self-Teach Exercises: Getting Started Turtle Python Self-Teach Exercises: Getting Started Turtle Python 0.1 Select Simple drawing with pauses Click on the Help menu, point to Examples 1 drawing, counting, and procedures, and select the first program on

More information

Chapter 5. Inserting Objects. Highlights

Chapter 5. Inserting Objects. Highlights Chapter 5 Inserting Objects Highlights 5. Inserting AutoShapes, WordArts and ClipArts 5. Changing Object Position, Size and Colour 5. Drawing Lines 5.4 Inserting Pictures and Text Boxes 5.5 Inserting Movies

More information

CST112 Variables Page 1

CST112 Variables Page 1 CST112 Variables Page 1 1 3 4 5 6 7 8 Processing: Variables, Declarations and Types CST112 The Integer Types A whole positive or negative number with no decimal positions May include a sign, e.g. 10, 125,

More information

Lesson 24: Surface Area

Lesson 24: Surface Area Student Outcomes Students determine the surface area of three-dimensional figures, those that are composite figures and those that have missing sections. Lesson Notes This lesson is a continuation of Lesson

More information

CSCI 136 Programming Exam #2 Fundamentals of Computer Science II Spring 2012

CSCI 136 Programming Exam #2 Fundamentals of Computer Science II Spring 2012 CSCI 136 Programming Exam #2 Fundamentals of Computer Science II Spring 2012 This part of the exam is like a mini- programming assignment. You will create a program, compile it, and debug it as necessary.

More information

11.7 Exploring Similar Solids

11.7 Exploring Similar Solids 11.7 Exploring Similar Solids Learning Objectives Find the relationship between similar solids and their surface areas and volumes. Review Queue 1. We know that every circle is similar, is every sphere

More information

AP Computer Science A Summer Assignment

AP Computer Science A Summer Assignment AP Computer Science A Summer Assignment Welcome to AP Computer Science A! I am looking forward to our class. Please complete the assignment below. Email the completed Part I as an attachment to kgeorge@glenridge.org

More information

OCTAVO An Object Oriented GUI Framework

OCTAVO An Object Oriented GUI Framework OCTAVO An Object Oriented GUI Framework Federico de Ceballos Universidad de Cantabria federico.ceballos@unican.es November, 2004 Abstract This paper presents a framework for building Window applications

More information

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java)

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java) Goals - to learn how to compile and execute a Java program - to modify a program to enhance it Overview This activity will introduce you to the Java programming language. You will type in the Java program

More information

Generating Vectors Overview

Generating Vectors Overview Generating Vectors Overview Vectors are mathematically defined shapes consisting of a series of points (nodes), which are connected by lines, arcs or curves (spans) to form the overall shape. Vectors can

More information

Drawing Tools. Drawing a Rectangle

Drawing Tools. Drawing a Rectangle Chapter Microsoft Word provides extensive DRAWING TOOLS that allow you to enhance the appearance of your documents. You can use these tools to assist in the creation of detailed publications, newsletters,

More information

End-of-Module Assessment Task

End-of-Module Assessment Task Name Date 1. The juice box pictured below is 4 inches high, 3 inches long, and 2 inches wide. a. In the grid above, the distance between grid lines represents one inch. Use the grid paper to sketch the

More information

9. a. 11. A = 30 cm 2, P = 30 cm. 12. A = 29 cm 2, P = 13. A = 72 in. 2, P = 35 in.

9. a. 11. A = 30 cm 2, P = 30 cm. 12. A = 29 cm 2, P = 13. A = 72 in. 2, P = 35 in. Answers Applications. Area = 20 cm 2 (base = 5 cm, height = cm), perimeter = 20 cm (Each side is 5 cm.) 2. Area = 9 cm 2 (base = 3 cm, height = 3 cm), perimeter 2. cm (The side lengths are 3 cm and ~ 3.2

More information

Using Graphics. Building Java Programs Supplement 3G

Using Graphics. Building Java Programs Supplement 3G Using Graphics Building Java Programs Supplement 3G Introduction So far, you have learned how to: output to the console break classes/programs into static methods store and use data with variables write

More information

Area and Perimeter Name: Date:

Area and Perimeter Name: Date: Area and Perimeter Name: Date: RECTANGLE: PARALLELOGRAM: TRIANGLE: TRAPEZOID: PERIMETER: 1. Plot the following points on the graph above: R(-3, 2), T(-3, 7), W(-9, 2), S(-9, 7). Now connect the points.

More information

Create Sponsor Scroll

Create Sponsor Scroll Appendix B Create Sponsor Scroll TABLE OF CONTENTS... 1 CREATE, ANIMATE AND UPLOAD SPONSOR LOGOS Create... 2 Animate... 5 Upload... 6 Please note, this process requires two different programs, which should

More information

COMP 102: Test August, 2017

COMP 102: Test August, 2017 Family Name:.......................... Other Names:.......................... Student ID:............................ Signature.............................. COMP 102: Test 1 14 August, 2017 Instructions

More information

MAKING A TRIPTYCH IN PHOTOSHOP CC

MAKING A TRIPTYCH IN PHOTOSHOP CC MAKING A TRIPTYCH IN PHOTOSHOP CC Open Photoshop CC and create a New Document Remember, the images shown here are 'screen grabs from my computer. I am using Photoshop CC. Therefore your screen may look

More information

Lesson 1: Creating and formatting an Answers analysis

Lesson 1: Creating and formatting an Answers analysis Lesson 1: Creating and formatting an Answers analysis Answers is the ad-hoc query environment in the OBIEE suite. It is in Answers that you create and format analyses to help analyze business results.

More information

CSIS10A Installation Instructions for setting up the BlueJ Java IDE

CSIS10A Installation Instructions for setting up the BlueJ Java IDE CSIS10A Installation Instructions for setting up the BlueJ Java IDE I. Install Java JDK (NOT JRE!) 1) To use the BlueJ IDE in this class, you must first download the latest Java JDK from the following

More information

ACS-1903 Basic program structure Feb 16, 2017

ACS-1903 Basic program structure Feb 16, 2017 Problem: Suppose we need a program to calculate someone s net pay. For input the program requires a name, gross pay, deductions and a tax rate. The output comprises the name, gross pay, deductions, taxes

More information

Customizing FrontPage

Customizing FrontPage In this Appendix Changing the default Web page size Customizing FrontPage toolbars Customizing menus Configuring general options B Customizing FrontPage Throughout the chapters comprising this book, you

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

Session 7 MS Word. Graphics. Inserting Clipart, and Graphics Modify graphics Position graphics

Session 7 MS Word. Graphics. Inserting Clipart, and Graphics Modify graphics Position graphics Session 7 MS Word Graphics Inserting Clipart, and Graphics Modify graphics Position graphics Table of Contents Session 7 Working with Graphics... 1 The Toolbar... 1 Drawing Toolbar... 1 Picture Toolbar...

More information

Introduction to Google SketchUp

Introduction to Google SketchUp Introduction to Google SketchUp When initially opening SketchUp, it will be useful to select the Google Earth Modelling Meters option from the initial menu. If this menu doesn t appear, the same option

More information

LAB 12: ARRAYS (ONE DIMINSION)

LAB 12: ARRAYS (ONE DIMINSION) Statement Purpose: The purpose of this Lab. is to practically familiarize student with the concept of array and related operations performed on array. Activity Outcomes: Student will understand the concept

More information

Module 10 Inheritance, Virtual Functions, and Polymorphism

Module 10 Inheritance, Virtual Functions, and Polymorphism Module 10 Inheritance, Virtual Functions, and Polymorphism Table of Contents CRITICAL SKILL 10.1: Inheritance Fundamentals... 2 CRITICAL SKILL 10.2: Base Class Access Control... 7 CRITICAL SKILL 10.3:

More information

Slide 1 CS 170 Java Programming 1

Slide 1 CS 170 Java Programming 1 CS 170 Java Programming 1 Objects and Methods Performing Actions and Using Object Methods Slide 1 CS 170 Java Programming 1 Objects and Methods Duration: 00:01:14 Hi Folks. This is the CS 170, Java Programming

More information

Students construct nets of three dimensional objects using the measurements of a solid s edges.

Students construct nets of three dimensional objects using the measurements of a solid s edges. Student Outcomes Students construct nets of three dimensional objects using the measurements of a solid s edges. Lesson Notes In the previous lesson, a cereal box was cut down to one of its nets. On the

More information

Animations involving numbers

Animations involving numbers 136 Chapter 8 Animations involving numbers 8.1 Model and view The examples of Chapter 6 all compute the next picture in the animation from the previous picture. This turns out to be a rather restrictive

More information

Grade 8 Mathematics (Barr) Chapter 11: Geometry and Measurement Relationships Perimeter, Area, Surface Area and Volume Assignment

Grade 8 Mathematics (Barr) Chapter 11: Geometry and Measurement Relationships Perimeter, Area, Surface Area and Volume Assignment Page 1 of 9 Knowledge and Understanding 1. This sign is made up of a rectangle and a semicircle. Which of the following is closest to the area of the sign? a. 347 cm 2 b. 653 cm 2 c. 1007 cm 2 d. 1410

More information

Basic Tools. Chapter 1. Getting started

Basic Tools. Chapter 1. Getting started Chapter 1 Basic Tools Getting started Jasc Paint Shop Pro is a powerful art package which you can use to paint, write text, retouch photos and make images ready for the web. After only a few lessons you

More information

Area. Domain 4 Lesson 25. Getting the Idea

Area. Domain 4 Lesson 25. Getting the Idea Domain 4 Lesson 5 Area Common Core Standard: 7.G.6 Getting the Idea The area of a figure is the number of square units inside the figure. Below are some formulas that can be used to find the areas of common

More information

Lesson 26: Volume of Composite Three-Dimensional Objects

Lesson 26: Volume of Composite Three-Dimensional Objects Classwork Example 1 Find the volume of the following three-dimensional object composed of two right rectangular prisms. Exercise 1 Find the volume of the following three-dimensional figure composed of

More information

JASCO CANVAS PROGRAM OPERATION MANUAL

JASCO CANVAS PROGRAM OPERATION MANUAL JASCO CANVAS PROGRAM OPERATION MANUAL P/N: 0302-1840A April 1999 Contents 1. What is JASCO Canvas?...1 1.1 Features...1 1.2 About this Manual...1 2. Installation...1 3. Operating Procedure - Tutorial...2

More information

Grade 7/8 Math Circles Fall Nov.4/5 The Pythagorean Theorem

Grade 7/8 Math Circles Fall Nov.4/5 The Pythagorean Theorem 1 Faculty of Mathematics Waterloo, Ontario Centre for Education in Mathematics and Computing Grade 7/8 Math Circles Fall 2014 - Nov.4/5 The Pythagorean Theorem Introduction A right triangle is any triangle

More information

Lab 4 CSE 7, Spring 2018 This lab is an introduction to using logical and comparison operators in Matlab.

Lab 4 CSE 7, Spring 2018 This lab is an introduction to using logical and comparison operators in Matlab. LEARNING OBJECTIVES: Lab 4 CSE 7, Spring 2018 This lab is an introduction to using logical and comparison operators in Matlab 1 Use comparison operators (< > = == ~=) between two scalar values to create

More information

The figures below are all prisms. The bases of these prisms are shaded, and the height (altitude) of each prism marked by a dashed line:

The figures below are all prisms. The bases of these prisms are shaded, and the height (altitude) of each prism marked by a dashed line: Prisms Most of the solids you ll see on the Math IIC test are prisms or variations on prisms. A prism is defined as a geometric solid with two congruent bases that lie in parallel planes. You can create

More information

Exercise 1.1 A First NetLogo Session Turtle commands and properties

Exercise 1.1 A First NetLogo Session Turtle commands and properties Exercise 1.1 A First NetLogo Session NetLogo is an interpreted language meaning you can type commands directly into a command line and see the results. In order to introduce NetLogo we will first type

More information

Programming Fundamentals

Programming Fundamentals Programming Fundamentals Lecture 03 Introduction to Löve 2D Edirlei Soares de Lima Computer Graphics Concepts What is a pixel? In digital imaging, a pixel is a single

More information

-SQA-SCOTTISH QUALIFICATIONS AUTHORITY. Hanover House 24 Douglas Street GLASGOW G2 7NQ NATIONAL CERTIFICATE MODULE DESCRIPTOR

-SQA-SCOTTISH QUALIFICATIONS AUTHORITY. Hanover House 24 Douglas Street GLASGOW G2 7NQ NATIONAL CERTIFICATE MODULE DESCRIPTOR -SQA-SCOTTISH QUALIFICATIONS AUTHORITY Hanover House 24 Douglas Street GLASGOW G2 7NQ NATIONAL CERTIFICATE MODULE DESCRIPTOR -Module Number- 8112012 -Session-1992-93 -Superclass- CD -Title- COMPUTER GRAPHICS

More information

CS 152: Data Structures with Java Hello World with the IntelliJ IDE

CS 152: Data Structures with Java Hello World with the IntelliJ IDE CS 152: Data Structures with Java Hello World with the IntelliJ IDE Instructor: Joel Castellanos e-mail: joel.unm.edu Web: http://cs.unm.edu/~joel/ Office: Electrical and Computer Engineering building

More information

1 Using the NetBeans IDE

1 Using the NetBeans IDE Chapter 1: Using the NetBeans IDE 5 1 Using the NetBeans IDE In this chapter we will examine how to set up a new application program using the NetBeans Integrated Development Environment with the language

More information

2. Click on the Launch button and select Terminal. A window will appear which looks like:

2. Click on the Launch button and select Terminal. A window will appear which looks like: 1. Log-in to one of the lab computers. If given a choice, select Gnome/Java Desktop (JDS) as your window manager. Don't select the Common Desktop Environment (CDE). You should then see something like the

More information

Simple Solids. Simple Cube and Cuboids. Designed by David Mitchell

Simple Solids. Simple Cube and Cuboids. Designed by David Mitchell Simple Solids Designed by David Mitchell Simple Solids are two dimensional pictures of three dimensional solids made by folding square sheets of irogami. One side of the solid is made from the coloured

More information

Objects and Classes Lecture 1

Objects and Classes Lecture 1 Objects and Classes Lecture 1 Waterford Institute of Technology January 6, 2016 John Fitzgerald Waterford Institute of Technology, Objects and ClassesLecture 1 1/19 Fundamental Programming Course Content

More information

Exercise 1. Exercise 2. MAT 012 SS218 Worksheet 9 Sections Name: Consider the triangle drawn below. C. c a. A b

Exercise 1. Exercise 2. MAT 012 SS218 Worksheet 9 Sections Name: Consider the triangle drawn below. C. c a. A b Consider the triangle drawn below. C Exercise 1 c a A b B 1. Suppose a = 5 and b = 12. Find c, and then find sin( A), cos( A), tan( A), sec( A), csc( A), and cot( A). 2. Now suppose a = 10 and b = 24.

More information

Staff Microsoft VISIO Training. IT ESSENTIALS Creating Flowcharts Using Visio 2013 (ST562) June 2015

Staff Microsoft VISIO Training. IT ESSENTIALS Creating Flowcharts Using Visio 2013 (ST562) June 2015 Staff Microsoft VISIO Training IT ESSENTIALS Creating Flowcharts Using Visio 01 (ST) June 01 Book online at: Royalholloway.ac.uk/it/training Self-Study packs also available 1 th June 01 Table of Contents

More information

Scripting Tutorial - Lesson 9: Graphical Shape Numbers

Scripting Tutorial - Lesson 9: Graphical Shape Numbers Home TI-Nspire Authoring TI-Nspire Scripting HQ Scripting Tutorial - Lesson 9 Scripting Tutorial - Lesson 9: Graphical Shape Numbers Download supporting files for this tutorial Texas Instruments TI-Nspire

More information

Clip Art and Graphics. Inserting Clip Art. Inserting Other Graphics. Creating Your Own Shapes. Formatting the Shape

Clip Art and Graphics. Inserting Clip Art. Inserting Other Graphics. Creating Your Own Shapes. Formatting the Shape 1 of 1 Clip Art and Graphics Inserting Clip Art Click where you want the picture to go (you can change its position later.) From the Insert tab, find the Illustrations Area and click on the Clip Art button

More information

Minimizing the footprint of your laptop (on your bedside table)

Minimizing the footprint of your laptop (on your bedside table) Minimizing the footprint of your laptop (on your bedside table) arxiv:0906.0809v1 [math.ho] 4 Jun 2009 1 Introduction Burkard Polster June 4, 2009 I often work on my laptop in bed. When needed, I park

More information

Measurement and Geometry: Area and Volume of Geometric Figures and Objects *

Measurement and Geometry: Area and Volume of Geometric Figures and Objects * OpenStax-CNX module: m35023 1 Measurement and Geometry: and Volume of Geometric Figures and Objects * Wade Ellis Denny Burzynski This work is produced by OpenStax-CNX and licensed under the Creative Commons

More information

LO: To recreate Matisse s Snail in Python

LO: To recreate Matisse s Snail in Python Name: LO: To recreate Matisse s Snail in Python Step 1: Open the Python editor IDLE and make a new document by pressing ctrl-n. Make sure you type the Python code in the blank new document and not in the

More information

10 Connector Designer

10 Connector Designer PRELIMINARY Connector Designer 10-1 10 Connector Designer About this Section In this section you will learn how to create your own custom connectors and edit them using the optional software connector

More information

This document should only be used with the Apple Macintosh version of Splosh.

This document should only be used with the Apple Macintosh version of Splosh. Splosh 1 Introduction Splosh is an easy to use art package that runs under both Microsoft Windows and the Macintosh Mac OS Classic or Mac OS X operating systems. It should however be noted that the Apple

More information