Part 1 The Empty Program

Size: px
Start display at page:

Download "Part 1 The Empty Program"

Transcription

1 California State University, Sacramento College of Engineering and Computer Science Computer Science 10: Introduction to Programming Logic Activity L From Flowgorithm To Java Throughout this semester, you have been creating programs using flowcharts. Flowcharts are not just used in this class. They are used everywhere by scientists, business, government, and many more. Flowgorithm allowed you to take your flowcharts and execute them like programs. But, this is not the only way. In fact, most computer scientists don't use a nice graphical tool to create their programs. Instead, they create their programs by writing plain text. We have done that too using the pseudocode found in the book. Real-world computer scientists write programs using one of the major programming languages such as C#, Java, Lua, Python, etc Java, in particular, is currently one the most popular programming languages in the World. Part 1 The Empty Program For this activity, you are going to use Flowgorithm to create some actual Java programs. Even though programming with flowcharts is quite easy it's not how the "real" world does it. Fortunately, Flowgorithm has features designed to help students transition from flowcharts to a "real" programming language. In particular, it has a feature called the "Source Code Viewer" that can convert your flowchart to actual code! Woo hoo! Yes, it can't get easier than that! 1. Open Flowgorithm. Right now your flowchart should be completely empty 2. Open the Source Code Viewer. Either click on the toolbar icon or select it from the Tools Menu. The icon to the right is the source code viewer icon. 3. Make sure that Java is selected in the Language dropdown menu. Oh, let's make it easy to compare your flowchart and Java code side-by-side. 4. Go to the Tools Menu on Flowgorithm and select "Layout Windows" (you can also press Control+L). 5. Select "code" from the window Okay, now we can see your flowchart and the Java code at the same time. Notice that even though your flowchart doesn't do anything yet the Java program has a lot of code! import java.util.*; import java.lang.math; class MyProgram { public static void main(string[] args) { } } All of this means something important in Object Oriented Programming. But, it's not easy to look at. In fact, it's quite scary. But, let's explain what all of this means.

2 2 The lines that start with import tell Java that you need some built-in intrinsic functions. In Flowgorithm, all your intrinsic functions (e.g. the cos() function) are always available. However, in Java, you must tell the compiler which ones you plan to use. The line that starts with class defines a new class of objects called "MyProgram". Everything in a Java program is considered an object and those are defined using classes. The next line defines the Main Function. This is exactly the same as your Flowgorithm programs! Flowgorithm and Java always start with a function called main. At the start of any function definition, Java uses a number of special words called "modifiers" which tells it how the function is going to be used. The word public means that other objects can call this function (otherwise it is private and hidden). Next, Java uses the word static. This modifier means that this function "sticks around" and is shared by all the objects of this class. Now that we are done with the modifiers, we finally get to the function definition. The word void is Java's way of saying the function doesn't return any value. So, it acts just like a module in the textbook. Finally, there is the name of the function "main" followed by some truly odd looking code. That basically says that the function has one parameter an array of strings called "args". Whew! Yes, that's a lot to take in. But it's not so bad once you get used to it. Part 2 Hello World Now that you have seen that a Java Program is pretty simple (though rather strange looking), it is time to try some experiments. 1. In your flowchart, add an Output Shape 2. Double-click on it and make it print "Hello". 3. Observe the generated code. Ah, it appears that Java outputs text by using a function called "System.out.println()". Also notice that the line is colored green the same color as the flowchart's shape. Flowgorithm likes to do this: color the generated code based on the shape that it represents. EXPLORE: Flowgorithm Color Coding When Flowgorithm generates source code, it converts each of your flowchart's shapes into the equivalent Java code. So you can visually match the code to the shape, it displays both using the same color. Try highlighting shapes in the flowchart (like you are going to copy them) and see what happens. Let's do some more work with the Output Shape. 4. Double click on the shape and change the expression to "Hello " & "World" 5. Observe the results It appears that Java uses a plus sign + to concatenate two strings. Wait! Isn't that used to add numbers together? Yes, that's true too. Java uses the same operator for both!

3 Part 3 Input 3 Now that we have gotten an idea on how to output information, let's try to input some data as well. 1. Add variable declaration for a string called age. 2. Add an input shape below the declaration and input age. 3. Change the Output Shape to output: "Your age is" & age. 4. Observe the results. Wow! Look at all the Java code! Flowgorithm is using something called "input". What is that? Look further up the program right before where the main function is defined. Ah! There it is! It is something called a "scanner". NOTE: Java Scanner Class The Scanner Class is commonly used to read, and interpret, raw data coming from a source (called a stream). So, to read data from the keyboard, the class is created using System.in. To print text to the screen, data is sent to System.out.

4 4 Part 4 From Java to Flowcharts and Back to Java Below is a pretty simple Java program. It reads the user's age from the keyboard and them tells them if they are old enough to vote. Even though you haven't done any real Java programming yet, you probably understand what you are looking at. This is pretty much like what you created earlier, but contains a bit more logic. Hmmm... What is that construct that starts with the word "if"? 1. Study the program above. 2. Now, create this program in Flowgorithm. 3. Check the Source Code Viewer window. Does the generated code match? If not, go back and double-check your program. Now that your program is complete and working, it is finally time to make the leap into real Java! 4. Open the Java compiler that your instructor told you about. 5. In the Source Code Viewer, click on the copy icon. The source will be copied to the clipboard. 6. Paste it into your Java compiler. 7. Execute your Java program! Ta da! You did it. You created a working Java program. Hopefully, at this point, you can see that the logic you learned during the semester is the same logic that is used in popular languages like Java. 8. Execute your flowchart. 9. Try the same data you entered into your Java program. Flowgorithm and Java might look a tad different when they execute, but they behave the same way. Both programs implement the same algorithm. They are the same program!

5 Part 5 Adding More Features 5 Let's build upon your program. Below is a slightly more sophisticated version of the flowchart you created before. Now, if the user is not yet 18, it calculates and displays how many years until they are eligible. 1. Modify your flowchart, again, to make it identical to this program. 2. Check the code in the Source Code Viewer. Did it match? 3. Copy and paste the generated code into the Java compiler. 4. Execute it & observe the results. Here is a really interesting observation. a fact that might impress you. And it's about you! You understood that Java program before you executed it. You saw the logic even before you converted it into a flowchart. While you might not be a seasoned Java programmer yet, you can read a Java program! and that is pretty impressive! Part 6 Into the Breach You have created Java code by using Flowgorithm's Source Code Viewer. It's a nice feature, but, this time, let's not use it. 1. Save your Flowgorithm flowchart. 2. Close Flowgorithm you won t need it at this point. The program that you created before lacked any input validation. In other words, the user could enter an invalid age! So, let's add some input validation to your program, but do it completely in Java! This might be a little scary, so it might be a good idea to save your current solution before you continue. 3. Look at the flowchart below (well, part of a flowchart).

6 6 This contains the input validation loop for age. Basically, it will loop until a valid age is entered each time prompting the user to enter an age between 1 and 100. The syntax of the Java While loop is shown below. Also note: the Logical Or operator is: (two pipe symbols, next to the backslash on most keyboards). (In Java, Logical And is && ) while(expression) { } 4. Add the input validation loop to your Java program 5. Execute and check your results If your program executed correctly, then you have written Java completely on your own! Congratulations!

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca

More information

Building Java Programs

Building Java Programs Building Java Programs Chapter 3 Lecture 3-3: Interactive Programs w/ Scanner reading: 3.3-3.4 self-check: #16-19 exercises: #11 videos: Ch. 3 #4 Interactive programs We have written programs that print

More information

CS 106 Introduction to Computer Science I

CS 106 Introduction to Computer Science I CS 106 Introduction to Computer Science I 01 / 21 / 2014 Instructor: Michael Eckmann Today s Topics Introduction Homework assignment Review the syllabus Review the policies on academic dishonesty and improper

More information

Independent samples t-test. Dr. Tom Pierce Radford University

Independent samples t-test. Dr. Tom Pierce Radford University Independent samples t-test Dr. Tom Pierce Radford University The logic behind drawing causal conclusions from experiments The sampling distribution of the difference between means The standard error of

More information

6.1. Example: A Tip Calculator 6-1

6.1. Example: A Tip Calculator 6-1 Chapter 6. Transition to Java Not all programming languages are created equal. Each is designed by its creator to achieve a particular purpose, which can range from highly focused languages designed for

More information

Building Java Programs

Building Java Programs Building Java Programs Chapter 3 Lecture 3-3: Interactive Programs w/ Scanner reading: 3.3-3.4 self-check: #16-19 exercises: #11 videos: Ch. 3 #4 Interactive programs We have written programs that print

More information

1) Which of the following is a constant, according to Java naming conventions? a. PI b. Test c. x d. radius

1) Which of the following is a constant, according to Java naming conventions? a. PI b. Test c. x d. radius Programming Concepts Practice Test 1 1) Which of the following is a constant, according to Java naming conventions? a. PI b. Test c. x d. radius 2) Consider the following statement: System.out.println("1

More information

Using Files as Input/Output in Java 5.0 Applications

Using Files as Input/Output in Java 5.0 Applications Using Files as Input/Output in Java 5.0 Applications The goal of this module is to present enough information about files to allow you to write applications in Java that fetch their input from a file instead

More information

WA2099 Introduction to Java using RAD 8.0 EVALUATION ONLY. Student Labs. Web Age Solutions Inc.

WA2099 Introduction to Java using RAD 8.0 EVALUATION ONLY. Student Labs. Web Age Solutions Inc. WA2099 Introduction to Java using RAD 8.0 Student Labs Web Age Solutions Inc. 1 Table of Contents Lab 1 - The HelloWorld Class...3 Lab 2 - Refining The HelloWorld Class...20 Lab 3 - The Arithmetic Class...25

More information

Introduction to Programming

Introduction to Programming Introduction to Programming Lecturer: Steve Maybank Department of Computer Science and Information Systems sjmaybank@dcs.bbk.ac.uk Spring 2015 Week 2b: Review of Week 1, Variables 16 January 2015 Birkbeck

More information

Translating to Java. Translation. Input. Many Level Translations. read, get, input, ask, request. Requirements Design Algorithm Java Machine Language

Translating to Java. Translation. Input. Many Level Translations. read, get, input, ask, request. Requirements Design Algorithm Java Machine Language Translation Translating to Java Introduction to Computer Programming The job of a programmer is to translate a problem description into a computer language. You need to be able to convert a problem description

More information

VHDL Test Bench Tutorial

VHDL Test Bench Tutorial University of Pennsylvania Department of Electrical and Systems Engineering ESE171 - Digital Design Laboratory VHDL Test Bench Tutorial Purpose The goal of this tutorial is to demonstrate how to automate

More information

University of Hull Department of Computer Science. Wrestling with Python Week 01 Playing with Python

University of Hull Department of Computer Science. Wrestling with Python Week 01 Playing with Python Introduction Welcome to our Python sessions. University of Hull Department of Computer Science Wrestling with Python Week 01 Playing with Python Vsn. 1.0 Rob Miles 2013 Please follow the instructions carefully.

More information

Some Scanner Class Methods

Some Scanner Class Methods Keyboard Input Scanner, Documentation, Style Java 5.0 has reasonable facilities for handling keyboard input. These facilities are provided by the Scanner class in the java.util package. A package is a

More information

AP Computer Science Java Mr. Clausen Program 9A, 9B

AP Computer Science Java Mr. Clausen Program 9A, 9B AP Computer Science Java Mr. Clausen Program 9A, 9B PROGRAM 9A I m_sort_of_searching (20 points now, 60 points when all parts are finished) The purpose of this project is to set up a program that will

More information

Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha

Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha Algorithm & Flowchart & Pseudo code Staff Incharge: S.Sasirekha Computer Programming and Languages Computers work on a set of instructions called computer program, which clearly specify the ways to carry

More information

C# and Other Languages

C# and Other Languages C# and Other Languages Rob Miles Department of Computer Science Why do we have lots of Programming Languages? Different developer audiences Different application areas/target platforms Graphics, AI, List

More information

Goal: Practice writing pseudocode and understand how pseudocode translates to real code.

Goal: Practice writing pseudocode and understand how pseudocode translates to real code. Lab 7: Pseudocode Pseudocode is code written for human understanding not a compiler. You can think of pseudocode as English code that can be understood by anyone (not just a computer scientist). Pseudocode

More information

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved.

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved. 1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays

More information

LAB4 Making Classes and Objects

LAB4 Making Classes and Objects LAB4 Making Classes and Objects Objective The main objective of this lab is class creation, how its constructer creation, object creation and instantiation of objects. We will use the definition pane to

More information

Manual For Using the NetBeans IDE

Manual For Using the NetBeans IDE 1 Manual For Using the NetBeans IDE The content of this document is designed to help you to understand and to use the NetBeans IDE for your Java programming assignments. This is only an introductory presentation,

More information

Create a free CRM with Google Apps

Create a free CRM with Google Apps Create a free CRM with Google Apps By Richard Ribuffo Contents Introduction, pg. 2 Part One: Getting Started, pg. 3 Creating Folders, pg. 3 Clients, pg. 4 Part Two: Google Forms, pg. 6 Creating The Form,

More information

Lab Experience 17. Programming Language Translation

Lab Experience 17. Programming Language Translation Lab Experience 17 Programming Language Translation Objectives Gain insight into the translation process for converting one virtual machine to another See the process by which an assembler translates assembly

More information

Hello Purr. What You ll Learn

Hello Purr. What You ll Learn Chapter 1 Hello Purr This chapter gets you started building apps. It presents the key elements of App Inventor the Component Designer and the Blocks Editor and leads you through the basic steps of creating

More information

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java

More information

Install Java Development Kit (JDK) 1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install Java Development Kit (JDK) 1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html CS 259: 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: Farris Engineering Center 319 8/19/2015 Install

More information

Java Basics: Data Types, Variables, and Loops

Java Basics: Data Types, Variables, and Loops Java Basics: Data Types, Variables, and Loops If debugging is the process of removing software bugs, then programming must be the process of putting them in. - Edsger Dijkstra Plan for the Day Variables

More information

Programming in Access VBA

Programming in Access VBA PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010

More information

Visual Logic Instructions and Assignments

Visual Logic Instructions and Assignments Visual Logic Instructions and Assignments Visual Logic can be installed from the CD that accompanies our textbook. It is a nifty tool for creating program flowcharts, but that is only half of the story.

More information

Chapter 3. Input and output. 3.1 The System class

Chapter 3. Input and output. 3.1 The System class Chapter 3 Input and output The programs we ve looked at so far just display messages, which doesn t involve a lot of real computation. This chapter will show you how to read input from the keyboard, use

More information

PROG0101 Fundamentals of Programming PROG0101 FUNDAMENTALS OF PROGRAMMING. Chapter 3 Algorithms

PROG0101 Fundamentals of Programming PROG0101 FUNDAMENTALS OF PROGRAMMING. Chapter 3 Algorithms PROG0101 FUNDAMENTALS OF PROGRAMMING Chapter 3 1 Introduction to A sequence of instructions. A procedure or formula for solving a problem. It was created mathematician, Mohammed ibn-musa al-khwarizmi.

More information

2 SYSTEM DESCRIPTION TECHNIQUES

2 SYSTEM DESCRIPTION TECHNIQUES 2 SYSTEM DESCRIPTION TECHNIQUES 2.1 INTRODUCTION Graphical representation of any process is always better and more meaningful than its representation in words. Moreover, it is very difficult to arrange

More information

6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10

6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10 Lesson The Binary Number System. Why Binary? The number system that you are familiar with, that you use every day, is the decimal number system, also commonly referred to as the base- system. When you

More information

Sources: On the Web: Slides will be available on:

Sources: On the Web: Slides will be available on: C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,

More information

Basic Java Constructs and Data Types Nuts and Bolts. Looking into Specific Differences and Enhancements in Java compared to C

Basic Java Constructs and Data Types Nuts and Bolts. Looking into Specific Differences and Enhancements in Java compared to C Basic Java Constructs and Data Types Nuts and Bolts Looking into Specific Differences and Enhancements in Java compared to C 1 Contents Hello World Program Statements Explained Java Program Structure in

More information

CMPT 183 Foundations of Computer Science I

CMPT 183 Foundations of Computer Science I Computer Science is no more about computers than astronomy is about telescopes. -Dijkstra CMPT 183 Foundations of Computer Science I Angel Gutierrez Fall 2013 A few questions Who has used a computer today?

More information

Programming Languages CIS 443

Programming Languages CIS 443 Course Objectives Programming Languages CIS 443 0.1 Lexical analysis Syntax Semantics Functional programming Variable lifetime and scoping Parameter passing Object-oriented programming Continuations Exception

More information

Introduction to Java

Introduction to Java Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

More information

Lecture 5: Java Fundamentals III

Lecture 5: Java Fundamentals III Lecture 5: Java Fundamentals III School of Science and Technology The University of New England Trimester 2 2015 Lecture 5: Java Fundamentals III - Operators Reading: Finish reading Chapter 2 of the 2nd

More information

- User input includes typing on the keyboard, clicking of a mouse, tapping or swiping a touch screen device, etc.

- User input includes typing on the keyboard, clicking of a mouse, tapping or swiping a touch screen device, etc. Java User Input WHAT IS USER INPUT? - Collecting and acting on user input is important in many types of programs or applications. - User input includes typing on the keyboard, clicking of a mouse, tapping

More information

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java

More information

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic

More information

Arduino Lesson 5. The Serial Monitor

Arduino Lesson 5. The Serial Monitor Arduino Lesson 5. The Serial Monitor Created by Simon Monk Last updated on 2013-06-22 08:00:27 PM EDT Guide Contents Guide Contents Overview The Serial Monitor Arduino Code Other Things to Do 2 3 4 7 10

More information

The new Moodle landing page Introducing the course filter Moodle Help Materials

The new Moodle landing page Introducing the course filter Moodle Help Materials THE UNIVERSITY OF GREENWICH The new Moodle landing page Introducing the course filter Moodle Help Materials Compiled by the Web Services Team webservices@gre.ac.uk Last updated: 06/09/2012 Filtering courses

More information

Learn How to Create and Profit From Your Own Information Products!

Learn How to Create and Profit From Your Own Information Products! How to Setup & Sell Your Digital Products Using JVZoo Learn How to Create and Profit From Your Own Information Products! Introduction to JVZoo What is JVZoo? JVZoo is a digital marketplace where product

More information

Section 1: Ribbon Customization

Section 1: Ribbon Customization WHAT S NEW, COMMON FEATURES IN OFFICE 2010 2 Contents Section 1: Ribbon Customization... 4 Customizable Ribbon... 4 Section 2: File is back... 5 Info Tab... 5 Recent Documents Tab... 7 New Documents Tab...

More information

File class in Java. Scanner reminder. Files 10/19/2012. File Input and Output (Savitch, Chapter 10)

File class in Java. Scanner reminder. Files 10/19/2012. File Input and Output (Savitch, Chapter 10) File class in Java File Input and Output (Savitch, Chapter 10) TOPICS File Input Exception Handling File Output Programmers refer to input/output as "I/O". The File class represents files as objects. The

More information

CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals

CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals 1 Recall From Last Time: Java Program import java.util.scanner; public class EggBasket { public static void main(string[]

More information

A Comparison of Programming Languages for Graphical User Interface Programming

A Comparison of Programming Languages for Graphical User Interface Programming University of Tennessee, Knoxville Trace: Tennessee Research and Creative Exchange University of Tennessee Honors Thesis Projects University of Tennessee Honors Program 4-2002 A Comparison of Programming

More information

Your First Web Page. It all starts with an idea. Create an Azure Web App

Your First Web Page. It all starts with an idea. Create an Azure Web App Your First Web Page It all starts with an idea Every web page begins with an idea to communicate with an audience. For now, you will start with just a text file that will tell people a little about you,

More information

PERSONAL LEARNING PLAN- STUDENT GUIDE

PERSONAL LEARNING PLAN- STUDENT GUIDE PERSONAL LEARNING PLAN- STUDENT GUIDE TABLE OF CONTENTS SECTION 1: GETTING STARTED WITH PERSONAL LEARNING STEP 1: REGISTERING FOR CONNECT P.2 STEP 2: LOCATING AND ACCESSING YOUR PERSONAL LEARNING ASSIGNMENT

More information

Chapter 1 Java Program Design and Development

Chapter 1 Java Program Design and Development presentation slides for JAVA, JAVA, JAVA Object-Oriented Problem Solving Third Edition Ralph Morelli Ralph Walde Trinity College Hartford, CT published by Prentice Hall Java, Java, Java Object Oriented

More information

Designing with Exceptions. CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219

Designing with Exceptions. CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219 Designing with Exceptions CSE219, Computer Science III Stony Brook University http://www.cs.stonybrook.edu/~cse219 Testing vs. Debugging Testing Coding Does the code work properly YES NO 2 Debugging Testing

More information

Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit.

Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. Scanner The Scanner class is intended to be used for input. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. For example, suppose the input

More information

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives Introduction to Programming and Algorithms Module 1 CS 146 Sam Houston State University Dr. Tim McGuire Module Objectives To understand: the necessity of programming, differences between hardware and software,

More information

How do you use word processing software (MS Word)?

How do you use word processing software (MS Word)? How do you use word processing software (MS Word)? Page 1 How do you use word processing software (MS Word)? Lesson Length: 2 hours Lesson Plan: The following text will lead you (the instructor) through

More information

AP Computer Science Static Methods, Strings, User Input

AP Computer Science Static Methods, Strings, User Input AP Computer Science Static Methods, Strings, User Input Static Methods The Math class contains a special type of methods, called static methods. A static method DOES NOT operate on an object. This is because

More information

THE WINNING ROULETTE SYSTEM.

THE WINNING ROULETTE SYSTEM. THE WINNING ROULETTE SYSTEM. Please note that all information is provided as is and no guarantees are given whatsoever as to the amount of profit you will make if you use this system. Neither the seller

More information

Notes on Algorithms, Pseudocode, and Flowcharts

Notes on Algorithms, Pseudocode, and Flowcharts Notes on Algorithms, Pseudocode, and Flowcharts Introduction Do you like hot sauce? Here is an algorithm for how to make a good one: Volcanic Hot Sauce (from: http://recipeland.com/recipe/v/volcanic-hot-sauce-1125)

More information

ALGORITHMS AND FLOWCHARTS

ALGORITHMS AND FLOWCHARTS ALGORITHMS AND FLOWCHARTS A typical programming task can be divided into two phases: Problem solving phase produce an ordered sequence of steps that describe solution of problem this sequence of steps

More information

First Bytes Programming Lab 2

First Bytes Programming Lab 2 First Bytes Programming Lab 2 This lab is available online at www.cs.utexas.edu/users/scottm/firstbytes. Introduction: In this lab you will investigate the properties of colors and how they are displayed

More information

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3 Notepad++ The COMPSCI 101 Text Editor for Windows The text editor that we will be using in the Computer Science labs for creating our Python programs is called Notepad++ and http://notepad-plus-plus.org

More information

if and if-else: Part 1

if and if-else: Part 1 if and if-else: Part 1 Objectives Write if statements (including blocks) Write if-else statements (including blocks) Write nested if-else statements We will now talk about writing statements that make

More information

Chapter 2: Elements of Java

Chapter 2: Elements of Java Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction

More information

Health Care Vocabulary Lesson

Health Care Vocabulary Lesson Hello. This is AJ Hoge again. Welcome to the vocabulary lesson for Health Care. Let s start. * * * * * At the beginning of the conversation Joe and Kristin talk about a friend, Joe s friend, whose name

More information

qwertyuiopasdfghjklzxcvbnmqwerty uiopasdfghjklzxcvbnmqwertyuiopasd fghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq

qwertyuiopasdfghjklzxcvbnmqwerty uiopasdfghjklzxcvbnmqwertyuiopasd fghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq qwertyuiopasdfghjklzxcvbnmqwerty uiopasdfghjklzxcvbnmqwertyuiopasd fghjklzxcvbnmqwertyuiopasdfghjklzx cvbnmqwertyuiopasdfghjklzxcvbnmq Introduction to Programming using Java wertyuiopasdfghjklzxcvbnmqwertyui

More information

Microsoft Office Word 2007 Training

Microsoft Office Word 2007 Training Microsoft Office Word 2007 Training Created & Hosted by: Hagop (Jack) Hadjinian I.A., Information Technology Course Contents: Lesson 1: Get to know the Ribbon Lesson 2: Find everyday commands The lesson

More information

Vieta s Formulas and the Identity Theorem

Vieta s Formulas and the Identity Theorem Vieta s Formulas and the Identity Theorem This worksheet will work through the material from our class on 3/21/2013 with some examples that should help you with the homework The topic of our discussion

More information

Blackboard s Collaboration Tool

Blackboard s Collaboration Tool Blackboard s Collaboration Tool Using Blackboard s Collaboration Tool, instructors can create and host a course-related chat session or virtual classroom in which students and instructors can interact

More information

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 Oct 4, 2013, p 1 Name: CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 1. (max 18) 4. (max 16) 2. (max 12) 5. (max 12) 3. (max 24) 6. (max 18) Total: (max 100)

More information

Chulalongkorn University International School of Engineering Department of Computer Engineering 2140105 Computer Programming Lab.

Chulalongkorn University International School of Engineering Department of Computer Engineering 2140105 Computer Programming Lab. Chulalongkorn University Name International School of Engineering Student ID Department of Computer Engineering Station No. 2140105 Computer Programming Lab. Date Lab 2 Using Java API documents, command

More information

New York University Computer Science Department Courant Institute of Mathematical Sciences

New York University Computer Science Department Courant Institute of Mathematical Sciences New York University Computer Science Department Courant Institute of Mathematical Sciences Course Title: Data Communications & Networks Course Number: g22.2662-001 Instructor: Jean-Claude Franchitti Session:

More information

A Beginner s Guide to PowerPoint 2010

A Beginner s Guide to PowerPoint 2010 A Beginner s Guide to PowerPoint 2010 I. The Opening Screen You will see the default opening screen is actually composed of three parts: 1. The Slides/Outline tabs on the left which displays thumbnails

More information

ShoutCast v2 - Broadcasting with Winamp & ShoutCast DSP Plugin

ShoutCast v2 - Broadcasting with Winamp & ShoutCast DSP Plugin ShoutCast v2 - Broadcasting with Winamp & ShoutCast DSP Plugin In this tutorial we are going to explain how to broadcast using the ShoutCast DSP Plugin with Winamp to our ShoutCast v2 running under CentovaCast

More information

CS 106 Introduction to Computer Science I

CS 106 Introduction to Computer Science I CS 106 Introduction to Computer Science I 01 / 29 / 2014 Instructor: Michael Eckmann Today s Topics Comments and/or Questions? import user input using JOptionPane user input using Scanner psuedocode import

More information

Like any function, the UDF can be as simple or as complex as you want. Let's start with an easy one...

Like any function, the UDF can be as simple or as complex as you want. Let's start with an easy one... Building Custom Functions About User Defined Functions Excel provides the user with a large collection of ready-made functions, more than enough to satisfy the average user. Many more can be added by installing

More information

Step 2: Headings and Subheadings

Step 2: Headings and Subheadings Step 2: Headings and Subheadings This PDF explains Step 2 of the step-by-step instructions that will help you correctly format your ETD to meet UCF formatting requirements. Step 2 shows you how to set

More information

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1 Migrating to Excel 2010 - Excel - Microsoft Office 1 of 1 In This Guide Microsoft Excel 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key

More information

How to Format a Spreadsheet. provided by the OpenOffice.org Documentation Project

How to Format a Spreadsheet. provided by the OpenOffice.org Documentation Project How to Format a Spreadsheet provided by the OpenOffice.org Documentation Project OpenOffice.org Documentation Project How-To Table of Contents 1. Applying a style...3 2. Using the AutoFormat feature...6

More information

System.out.println("\nEnter Product Number 1-5 (0 to stop and view summary) :

System.out.println(\nEnter Product Number 1-5 (0 to stop and view summary) : Benjamin Michael Java Homework 3 10/31/2012 1) Sales.java Code // Sales.java // Program calculates sales, based on an input of product // number and quantity sold import java.util.scanner; public class

More information

Microsoft Migrating to PowerPoint 2010 from PowerPoint 2003

Microsoft Migrating to PowerPoint 2010 from PowerPoint 2003 In This Guide Microsoft PowerPoint 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free PowerPoint

More information

Introduction to Word 2007

Introduction to Word 2007 Introduction to Word 2007 You will notice some obvious changes immediately after starting Word 2007. For starters, the top bar has a completely new look, consisting of new features, buttons and naming

More information

Lecture 2 Mathcad Basics

Lecture 2 Mathcad Basics Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority

More information

Before you can use the Duke Ambient environment to start working on your projects or

Before you can use the Duke Ambient environment to start working on your projects or Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings

More information

Week 2 Practical Objects and Turtles

Week 2 Practical Objects and Turtles Week 2 Practical Objects and Turtles Aims and Objectives Your aim in this practical is: to practise the creation and use of objects in Java By the end of this practical you should be able to: create objects

More information

Mailing lists process, creation and approval. Mailing lists process, creation and approval

Mailing lists process, creation and approval. Mailing lists process, creation and approval Mailing lists process, creation and approval Steps to creating your mailing list 1. Establish whether there is a generic mailing list that can be used (i.e. a list a sector or team use for every mailing)

More information

Regions in a circle. 7 points 57 regions

Regions in a circle. 7 points 57 regions Regions in a circle 1 point 1 region points regions 3 points 4 regions 4 points 8 regions 5 points 16 regions The question is, what is the next picture? How many regions will 6 points give? There's an

More information

Creating a Poster in PowerPoint 2010. A. Set Up Your Poster

Creating a Poster in PowerPoint 2010. A. Set Up Your Poster View the Best Practices in Poster Design located at http://www.emich.edu/training/poster before you begin creating a poster. Then in PowerPoint: (A) set up the poster size and orientation, (B) add and

More information

JDK 1.5 Updates for Introduction to Java Programming with SUN ONE Studio 4

JDK 1.5 Updates for Introduction to Java Programming with SUN ONE Studio 4 JDK 1.5 Updates for Introduction to Java Programming with SUN ONE Studio 4 NOTE: SUN ONE Studio is almost identical with NetBeans. NetBeans is open source and can be downloaded from www.netbeans.org. I

More information

The following program is aiming to extract from a simple text file an analysis of the content such as:

The following program is aiming to extract from a simple text file an analysis of the content such as: Text Analyser Aim The following program is aiming to extract from a simple text file an analysis of the content such as: Number of printable characters Number of white spaces Number of vowels Number of

More information

MICROSOFT WORD TUTORIAL

MICROSOFT WORD TUTORIAL MICROSOFT WORD TUTORIAL G E T T I N G S T A R T E D Microsoft Word is one of the most popular word processing programs supported by both Mac and PC platforms. Microsoft Word can be used to create documents,

More information

Word 2010: The Basics Table of Contents THE WORD 2010 WINDOW... 2 SET UP A DOCUMENT... 3 INTRODUCING BACKSTAGE... 3 CREATE A NEW DOCUMENT...

Word 2010: The Basics Table of Contents THE WORD 2010 WINDOW... 2 SET UP A DOCUMENT... 3 INTRODUCING BACKSTAGE... 3 CREATE A NEW DOCUMENT... Word 2010: The Basics Table of Contents THE WORD 2010 WINDOW... 2 SET UP A DOCUMENT... 3 INTRODUCING BACKSTAGE... 3 CREATE A NEW DOCUMENT... 4 Open a blank document... 4 Start a document from a template...

More information

SnagIt Add-Ins User Guide

SnagIt Add-Ins User Guide Version 8.1 User Guide By TechSmith Corp. User Guide User Guide Contents User s Guide 1 Overview...1 Word, PowerPoint, and Excel Add-Ins...2 Outlook Add-In...2 Internet Explorer / Windows Explorer Add-In...2

More information

S7 for Windows S7-300/400

S7 for Windows S7-300/400 S7 for Windows S7-300/400 A Programming System for the Siemens S7 300 / 400 PLC s IBHsoftec has an efficient and straight-forward programming system for the Simatic S7-300 and ern controller concept can

More information

Working with sections in Word

Working with sections in Word Working with sections in Word Have you have ever wanted to create a Microsoft Word document with some pages numbered in Roman numerals and the rest in Arabic, or include a landscape page to accommodate

More information

Microsoft Migrating to Word 2010 from Word 2003

Microsoft Migrating to Word 2010 from Word 2003 In This Guide Microsoft Word 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free Word 2010 training,

More information

CAs and Turing Machines. The Basis for Universal Computation

CAs and Turing Machines. The Basis for Universal Computation CAs and Turing Machines The Basis for Universal Computation What We Mean By Universal When we claim universal computation we mean that the CA is capable of calculating anything that could possibly be calculated*.

More information

Android Programming Family Fun Day using AppInventor

Android Programming Family Fun Day using AppInventor Android Programming Family Fun Day using AppInventor Table of Contents A step-by-step guide to making a simple app...2 Getting your app running on the emulator...9 Getting your app onto your phone or tablet...10

More information

Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005

Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005 Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005 Introduction: OpenOffice Writer is a word processing application

More information