Introduction to Computers and Engineering Problem Solving 1.00 / Fall 2004

Size: px
Start display at page:

Download "Introduction to Computers and Engineering Problem Solving 1.00 / Fall 2004"

Transcription

1 Introduction to Computers and Engineering Problem Solving 1.00 / Fall 2004 Problem Set 1 Due: 11AM, Friday September 17, 2004 Loan Calculator / Movie & Game Rental Store (0) [100 points] Introduction You just got your bachelor s degree from MIT and are very interested in pursuing a graduate degree as a next step. Unfortunately, you realized how expensive graduate program is and can t really afford it right now. So what do you do? You have decided to go out make some money and come back to school. After spending a few days thinking about the right business venture, you have decided to open a Movie & Game Rental Store. From Problem Set 2 through Problem Set 5, you will develop a Java program that manages customers, movies, games, and all the transactions. Through each problem set, your program will be evolved to have better functionality using new and advanced concepts introduced each week. Your final goal, which will be the solution for Problem Set 5, is to develop a GUI (Graphical User Interface) program that is similar to commercial applications you can find at any video rental store. So what is the first order of business? You need to get a loan to kick start your business. After surfing the Web for hours and not finding a decent loan calculator, you have decided to develop your own loan calculator. Structure First, your loan calculator should ask user for his/her maximum monthly budget. Then, it asks for loan related inputs, such as loan amount ($), annual interest rate (%), and total number of months to repay the loan. Based on these inputs, loan calculator finds user s monthly payment as well as total payment and total interest over the life of loan. Finally, it analyzes output, by comparing monthly payment to user s maximum budget, and tells whether he/she can afford to take the loan. Once the analysis is done, user should be able to retry with different inputs but with the same maximum budget. Also, for users who want to change the value for maximum monthly budget, your program should be able to start over. For better understanding of the algorithm, see the flow chart below. 1.00/ /5 Fall 2004

2 Start Ask for Maximum Budget User Inputs for Loan Calculate Monthly Payment Analysis Retry NO Start Over NO Finish YES YES Algorithm for Loan Calculator User input In this problem set, your program will use the class JOptionPane, which is in the javax.swing package that comes with the standard Java distribution, and its method showinputdialog() to take inputs from users. This class and method will be covered in more detail later, but for now, follow these steps to implement the functionality required for this problem set. Step 1. Import JOptionPane class - You need to add the following line to the top of your Java source code file. - import javax.swing.joptionpane; Step 2. Define a String variable - Inside the main() method of your class, define a String variable first. - String input; Step 3. Take user input - By using the following line of code, your program generates a pop-up window for input. - Note that value returned by the showinputdialog()method of JOptionPane is represented in Java as a String objects even if the characters typed by the user are digits. - input = JOptionPane.showInputDialog( Enter your age ); 1.00/ /5 Fall 2004

3 Step 4. Convert a String object into a number - Using the code below, your program converts a String object into a number. - For instance, if user inputs 22 in Step 3, what you get is a String object, 22. So with the following code, you convert a String 22 into a number int mynumber1 = Integer.parseInt(input); OR double mynumber1 = Double.parseDouble(input); Step 5. Repeat Step 3 and 4 - For additional inputs, repeat Step 3 and 4. You need one variable for each input. Step 6. Terminate the program - Every time your program uses JOptionPane in a non-gui application, it needs to be terminated properly by adding the following line at the end of main() method. - System.exit(0); Example. Here is an example of taking two inputs from user import javax.swing.joptionpane; // Step 1 public class Example { public static void main(string[] args) { String input; // Step 2 input = JOptionPane.showInputDialog( Your age ); // Step 3 int age = Integer.parseInt(input); // Step 4 input = JOptionPane.showInputDialog( Your ID ); // Step 3 double id = Double.parseDouble(input); // Step 4 } } System.exit(0); // Step 6 Loan Calculator Loan calculator takes three inputs: loan amount (C), annual interest rate % (R), and total number of months to repay the loan (N). Interest rate, R%, is always a yearly figure. However, in most loan situations, it is compounded monthly. In this calculator, the monthly payment (P) is calculated by the following formula where r = R/1200: P C r (1 + r) (1 + r) 1 = N N 1.00/ /5 Fall 2004

4 Once you compute the monthly payment, you should be able to find the total payment and total interest. Assignment Develop a Java program for loan calculator. 1. Create a public Java class. Name it ProblemSet1.java. This class should contain a main() method, in which all of your code should be. 2. Ask for maximum monthly budget using a pop-up dialog box created by the JOptionPane class. 3. Convert the String returned by the showinputdialog() method of JOptionPane class to a numerical data type such as int or double. 4. Take all the other inputs using the JOptionPane class, converting each to a numerical data type. 5. Find monthly payment, total payment, and total interest. 6. Analyze monthly payment. 7. Print all the inputs and outputs (see sample output below). 8. Ask user to try again: If yes, go to 4. If no, go to Ask user to start over: If yes, go to 2. If no, go to Terminate the program Note from the flow chart on page 2 that your program should have two loops for retry and start over. Sample Output Input: Maximum budget: $400 Loan amount: $20000 Interest rate (%): 7.5 Number of months: 60 Output: <Budget> Maximum Budget: $400.0 <Input> Loan Amount: $ Interest Rate: 7.5% Number of Months: 60 <Summary> Monthly Payment: $ Total Payment: $ Total Interest: $ <Budget Analysis> Monthly Payment Over Maximum Budget: Try Again 1.00/ /5 Fall 2004

5 Turn In Turn in electronic copies of all source code (.java files). No printed copies are required. Place a comment with your full name, Stellar username, tutorial section, TA s name, and assignment number at the beginning of all.java files in your solution. Remember to comment your code. Points will be taken off for insufficient comments. Place all of the files in your solution into a single zip file. Submit this single zip file on the 1.00 Web site under the appropriate section and problem set number. For directions, see HowTo: Submit Problem Set on the 1.00 Web site. Your solution is due at 11AM. Your uploaded files should have a time stamp of no later than 11AM on the due date. Do not turn in compiled byte code (.class files) or backup source code (.java~ files). Penalties 30% off If you turn in your problem set after 11AM on Friday but before 11AM on the following Monday. No Credit If you turn in your problem set after 11AM on the following Monday. 1.00/ /5 Fall 2004

Lesson 3: Accepting User Input and Using Different Methods for Output

Lesson 3: Accepting User Input and Using Different Methods for Output Lesson 3: Accepting User Input and Using Different Methods for Output Introduction So far, you have had an overview of the basics in Java. This document will discuss how to put some power in your program

More information

19. GUI Basics. Java. Fall 2009 Instructor: Dr. Masoud Yaghini

19. GUI Basics. Java. Fall 2009 Instructor: Dr. Masoud Yaghini 19. GUI Basics Java Fall 2009 Instructor: Dr. Masoud Yaghini Outline Displaying Text in a Message Dialog Box Getting Input from Input Dialogs References Displaying Text in a Message Dialog Box Displaying

More information

Topics. The Development Process

Topics. The Development Process Topics Anatomy of an API A development walkthrough General characteristics of utility classes 8 The Development Process Analysis Design Implementation Testing Deployment 9 1 The Development Process Analysis

More information

Introduction to Java. Nihar Ranjan Roy. https://sites.google.com/site/niharranjanroy/

Introduction to Java. Nihar Ranjan Roy. https://sites.google.com/site/niharranjanroy/ Introduction to Java https://sites.google.com/site/niharranjanroy/ 1 The Java Programming Language According to sun Microsystems java is a 1. Simple 2. Object Oriented 3. Distributed 4. Multithreaded 5.

More information

More about JOptionPane Dialog Boxes

More about JOptionPane Dialog Boxes APPENDIX K More about JOptionPane Dialog Boxes In Chapter 2 you learned how to use the JOptionPane class to display message dialog boxes and input dialog boxes. This appendix provides a more detailed discussion

More information

Handout 3 cs180 - Programming Fundamentals Fall 17 Page 1 of 6. Handout 3. Strings and String Class. Input/Output with JOptionPane.

Handout 3 cs180 - Programming Fundamentals Fall 17 Page 1 of 6. Handout 3. Strings and String Class. Input/Output with JOptionPane. Handout 3 cs180 - Programming Fundamentals Fall 17 Page 1 of 6 Handout 3 Strings and String Class. Input/Output with JOptionPane. Strings In Java strings are represented with a class type String. Examples:

More information

SIGN UP FOR AN AUTOMATIC PAYMENT PLAN

SIGN UP FOR AN AUTOMATIC PAYMENT PLAN SIGN UP FOR AN AUTOMATIC PAYMENT PLAN When you go to www.nyack.edu/sfs/payplan you should see the following: Click on the Sign up for a PAYMENT PLAN option. Upon clicking, you should see the following:

More information

Data Types Reference Types

Data Types Reference Types Data Types Reference Types Objective To understand what reference types are The need to study reference types To understand Java standard packages To differentiate between Java defined types and user defined

More information

Computer Science 202 Introduction to Programming The College of Saint Rose Fall Topic Notes: Conditional Execution

Computer Science 202 Introduction to Programming The College of Saint Rose Fall Topic Notes: Conditional Execution Computer Science 202 Introduction to Programming The College of Saint Rose Fall 2012 Topic Notes: Conditional Execution All of our programs so far have had one thing in common: they are entirely sequential.

More information

Introduction to Object Oriented Systems Development. Practical Session (Week 2)

Introduction to Object Oriented Systems Development. Practical Session (Week 2) This practical session consists of three parts. Practical Session (Week 2) Part 1 (Tutorial). Starting with NetBeans In this module, we will use NetBeans IDE (Integrated Development Environment) for Java

More information

1.00/1.001 Tutorial 1

1.00/1.001 Tutorial 1 1.00/1.001 Tutorial 1 Introduction to 1.00 September 12 & 13, 2005 Outline Introductions Administrative Stuff Java Basics Eclipse practice PS1 practice Introductions Me Course TA You Name, nickname, major,

More information

Oracle. All rights reserved. This content is excluded from our Creative Commons license. For more information, see

Oracle. All rights reserved. This content is excluded from our Creative Commons license. For more information, see Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 9: Dam management: threads and sensors Due: 12 noon, Friday, May 4, 2012 1. Problem Statement You are the operator of a

More information

Course PJL. Arithmetic Operations

Course PJL. Arithmetic Operations Outline Oman College of Management and Technology Course 503200 PJL Handout 5 Arithmetic Operations CS/MIS Department 1 // Fig. 2.9: Addition.java 2 // Addition program that displays the sum of two numbers.

More information

Copyright 1999 by Deitel & Associates, Inc. All Rights Reserved.

Copyright 1999 by Deitel & Associates, Inc. All Rights Reserved. CHAPTER 2 1 2 1 // Fig. 2.1: Welcome1.java 2 // A first program in Java 3 4 public class Welcome1 { 5 public static void main( String args[] ) 6 { 7 System.out.println( "Welcome to Java Programming!" );

More information

What two elements are usually present for calculating a total of a series of numbers?

What two elements are usually present for calculating a total of a series of numbers? Dec. 12 Running Totals and Sentinel Values What is a running total? What is an accumulator? What is a sentinel? What two elements are usually present for calculating a total of a series of numbers? Running

More information

CT 229 Fundamentals of Java Syntax

CT 229 Fundamentals of Java Syntax CT 229 Fundamentals of Java Syntax 19/09/2006 CT229 New Lab Assignment Monday 18 th Sept -> New Lab Assignment on CT 229 Website Two Weeks for Completion Due Date is Oct 1 st Assignment Submission is online

More information

Due Date: Two Program Demonstrations (Testing and Debugging): End of Lab

Due Date: Two Program Demonstrations (Testing and Debugging): End of Lab CSC 111 Fall 2005 Lab 6: Methods and Debugging Due Date: Two Program Demonstrations (Testing and Debugging): End of Lab Documented GameMethods file and Corrected HighLow game: Uploaded by midnight of lab

More information

Announcements. 1. Forms to return today after class:

Announcements. 1. Forms to return today after class: Announcements Handouts (3) to pick up 1. Forms to return today after class: Pretest (take during class later) Laptop information form (fill out during class later) Academic honesty form (must sign) 2.

More information

1.00 Lecture 3. Main()

1.00 Lecture 3. Main() 1.00 Lecture 3 Operators, Control Reading for next time: Big Java: sections 6.1-6.4 Skip all the advanced topics, hints, etc. Main() About main(): In each Java program there is a just a single main() method,

More information

Tips from the experts: How to waste a lot of time on this assignment

Tips from the experts: How to waste a lot of time on this assignment Com S 227 Spring 2018 Assignment 1 100 points Due Date: Friday, September 14, 11:59 pm (midnight) Late deadline (25% penalty): Monday, September 17, 11:59 pm General information This assignment is to be

More information

Guide to Newbury Building Society s Online Intermediary Service

Guide to Newbury Building Society s Online Intermediary Service Guide to Newbury Building Society s Online Intermediary Service NEWBURY building society How do I get started? You need to register to use our online service. You will be emailed a unique username & prompt

More information

Lesson 10: Quiz #1 and Getting User Input (W03D2)

Lesson 10: Quiz #1 and Getting User Input (W03D2) Lesson 10: Quiz #1 and Getting User Input (W03D2) Balboa High School Michael Ferraro September 1, 2015 1 / 13 Do Now: Prep GitHub Repo for PS #1 You ll need to submit the 5.2 solution on the paper form

More information

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Dr. Marenglen Biba Laboratory Session: Exercises on classes Analogy to help you understand classes and their contents. Suppose you want to drive a car and make it go faster by pressing down

More information

Note: This is a miniassignment and the grading is automated. If you do not submit it correctly, you will receive at most half credit.

Note: This is a miniassignment and the grading is automated. If you do not submit it correctly, you will receive at most half credit. Com S 227 Fall 2018 Miniassignment 1 40 points Due Date: Friday, October 12, 11:59 pm (midnight) Late deadline (25% penalty): Monday, October 15, 11:59 pm General information This assignment is to be done

More information

Applicant Management System (AMS) Student Guide

Applicant Management System (AMS) Student Guide VERSION 1 Applicant Management System (AMS) Student Guide by American DataBank Students: go to: What is AMS? www.uwfcompliance.com The Applicant Management System (AMS)is an online portal giving you access

More information

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2002 Problem Set 3 Due: Day 11. Problem 1. Finding the Median (15%)

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2002 Problem Set 3 Due: Day 11. Problem 1. Finding the Median (15%) 1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2002 Problem Set 3 Due: Day 11 Problem 1. Finding the Median (15%) Write a method that takes in an integer array and returns an

More information

(b) This is a valid identifier in Java: _T_R-U_E_. (c) This is a valid identifier in Java: _F_A_L_$_E_

(b) This is a valid identifier in Java: _T_R-U_E_. (c) This is a valid identifier in Java: _F_A_L_$_E_ ComS 207: Programming I Midterm 1, Tue. Sep 19, 2006 Student Name: Student ID Number: Recitation Section: 1. True/False Questions (10 x 1p each = 10p) (a) ComS 207 Rocks! (b) This is a valid identifier

More information

TTh 9.25 AM AM Strain 322

TTh 9.25 AM AM Strain 322 TTh 9.25 AM - 10.40 AM Strain 322 1 Questions v What is your definition of client/server programming? Be specific. v What would you like to learn in this course? 2 Aims and Objectives v Or, what will you

More information

Guessing Game with Objects

Guessing Game with Objects Objectives Lab1: Guessing Game with Objects Guessing Game with Objects 1. Practice designing and implementing an object-oriented program. 2. Use Console I/O in Java. Tasks 1. Design the program (problem

More information

Tips from the experts: How to waste a lot of time on this assignment

Tips from the experts: How to waste a lot of time on this assignment Com S 227 Spring 2018 Assignment 1 80 points Due Date: Friday, February 2, 11:59 pm (midnight) Late deadline (25% penalty): Monday, February 5, 11:59 pm General information This assignment is to be done

More information

How to make a "hello world" program in Java with Eclipse *

How to make a hello world program in Java with Eclipse * OpenStax-CNX module: m43473 1 How to make a "hello world" program in Java with Eclipse * Hannes Hirzel Based on How to make a "hello world" program in Java. by Rodrigo Rodriguez This work is produced by

More information

Excel Tutorial 4: Analyzing and Charting Financial Data

Excel Tutorial 4: Analyzing and Charting Financial Data Excel Tutorial 4: Analyzing and Charting Financial Data Microsoft Office 2013 Objectives Use the PMT function to calculate a loan payment Create an embedded pie chart Apply styles to a chart Add data labels

More information

Project 1 Computer Science 2334 Spring 2016 This project is individual work. Each student must complete this assignment independently.

Project 1 Computer Science 2334 Spring 2016 This project is individual work. Each student must complete this assignment independently. Project 1 Computer Science 2334 Spring 2016 This project is individual work. Each student must complete this assignment independently. User Request: Create a simple movie data system. Milestones: 1. Use

More information

Project #1 rev 2 Computer Science 2334 Fall 2013 This project is individual work. Each student must complete this assignment independently.

Project #1 rev 2 Computer Science 2334 Fall 2013 This project is individual work. Each student must complete this assignment independently. Project #1 rev 2 Computer Science 2334 Fall 2013 This project is individual work. Each student must complete this assignment independently. User Request: Create a simple magazine data system. Milestones:

More information

WDD Fall 2016Group 4 Project Report

WDD Fall 2016Group 4 Project Report WDD 5633-2 Fall 2016Group 4 Project Report A Web Database Application on Loan Service System Devi Sai Geetha Alapati #7 Mohan Krishna Bhimanadam #24 Rohit Yadav Nethi #8 Bhavana Ganne #11 Prathyusha Mandala

More information

Introduction to Classes and Objects Pearson Education, Inc. All rights reserved.

Introduction to Classes and Objects Pearson Education, Inc. All rights reserved. 1 3 Introduction to Classes and Objects 2 You will see something new. Two things. And I call them Thing One and Thing Two. Dr. Theodor Seuss Geisel Nothing can have value without being an object of utility.

More information

Practical List of. MCA IV SEM Session -2010

Practical List of. MCA IV SEM Session -2010 1. WAP to create own exception. Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of MCA IV SEM Session -2010 MCA-401 - Internet and Java Programming

More information

CS 106 Introduction to Computer Science I

CS 106 Introduction to Computer Science I CS 106 Introduction to Computer Science I 06 / 02 / 2015 Instructor: Michael Eckmann Today s Topics Operators continue if/else statements User input Operators + when used with numeric types (e.g. int,

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 / 2016 Instructor: Michael Eckmann Today s Topics Introduction operators (equality and relational) These all result in boolean if else statements User

More information

Programming: Java. Chapter Objectives. Control Structures. Chapter 4: Control Structures I. Program Design Including Data Structures

Programming: Java. Chapter Objectives. Control Structures. Chapter 4: Control Structures I. Program Design Including Data Structures Chapter 4: Control Structures I Java Programming: Program Design Including Data Structures Chapter Objectives Learn about control structures Examine relational and logical operators Explore how to form

More information

Introduction to Classes and Objects Pearson Education, Inc. All rights reserved.

Introduction to Classes and Objects Pearson Education, Inc. All rights reserved. 1 3 Introduction to Classes and Objects 2 You will see something new. Two things. And I call them Thing One and Thing Two. Dr. Theodor Seuss Geisel Nothing can have value without being an object of utility.

More information

Project #1 Computer Science 2334 Fall 2008

Project #1 Computer Science 2334 Fall 2008 Project #1 Computer Science 2334 Fall 2008 User Request: Create a Word Verification System. Milestones: 1. Use program arguments to specify a file name. 10 points 2. Use simple File I/O to read a file.

More information

We ve been playing The Game of Life for several weeks now. You have had lots of practice making budgets, and managing income and expenses and savings.

We ve been playing The Game of Life for several weeks now. You have had lots of practice making budgets, and managing income and expenses and savings. We ve been playing The Game of Life for several weeks now. You have had lots of practice making budgets, and managing income and expenses and savings. It is sometimes a challenge to manage a lot of data

More information

Software Practice 1 Basic Grammar

Software Practice 1 Basic Grammar Software Practice 1 Basic Grammar Basic Syntax Data Type Loop Control Making Decision Prof. Joonwon Lee T.A. Jaehyun Song Jongseok Kim (42) T.A. Sujin Oh Junseong Lee (43) 1 2 Java Program //package details

More information

BMW Financial Services Canada

BMW Financial Services Canada MyBMW.ca Frequently Asked Questions Q: What is MyBMW.ca? A: MyBMW.ca is the ultimate destination for managing your BMW information, BMW Financial Services account (lease and loans), vehicle maintenance

More information

3.3 Creating New Task...8

3.3 Creating New Task...8 Table of Contents 1.INTRODUCTION.2 2. LOGGING INTO THE APPLICATION.3 2.1 Login Process 3 3.NAVIGATING THE DASHBOARD..4 3.1 Creating a New Contact.5 3.2Creating a New Company...7 3.3 Creating New Task...8

More information

PROMAS Landmaster. Questions and Answers. Questions below. Questions with answers begin on page 5. Questions

PROMAS Landmaster. Questions and Answers. Questions below. Questions with answers begin on page 5. Questions PROMAS Landmaster Questions and Answers Questions below. Questions with answers begin on page 5 Questions NAVIGATION Q. How can I keep the find list active? Q. I received an email from fishcatcher27@gmail.com.

More information

Case study Business start-up Budget versus actual

Case study Business start-up Budget versus actual Catherine Gowthorpe 00 Case study Business start-up Budget versus actual This is the solution to the case study found at the end of: Chapter 8 Budgeting Part Working Sales receipts can be estimated as

More information

Lab Solutions: Experimenting with Enumerated Types

Lab Solutions: Experimenting with Enumerated Types 1 of 5 2/16/2007 11:07 AM Lab Solutions: Experimenting with Enumerated Types 1 Instructions: Omitted. 2 Getting Ready: Omitted. 3 Using Integer Constants Instead of Enumerated Types: It is common practice

More information

Introduction to Classes and Objects

Introduction to Classes and Objects 1 2 Introduction to Classes and Objects You will see something new. Two things. And I call them Thing One and Thing Two. Dr. Theodor Seuss Geisel Nothing can have value without being an object of utility.

More information

Before buying your first cellphone and service, or even if you are thinking about changing your current cellphone offering, take a few minutes to

Before buying your first cellphone and service, or even if you are thinking about changing your current cellphone offering, take a few minutes to Before buying your first cellphone and service, or even if you are thinking about changing your current cellphone offering, take a few minutes to know what you want and need. The key question to ask yourself

More information

CST141 Thinking in Objects Page 1

CST141 Thinking in Objects Page 1 CST141 Thinking in Objects Page 1 1 2 3 4 5 6 7 8 Object-Oriented Thinking CST141 Class Abstraction and Encapsulation Class abstraction is the separation of class implementation from class use It is not

More information

Using APIs. Chapter 3. Outline Fields Overall Layout. Java By Abstraction Chapter 3. Field Summary static double PI

Using APIs. Chapter 3. Outline Fields Overall Layout. Java By Abstraction Chapter 3. Field Summary static double PI Outline Chapter 3 Using APIs 3.1 Anatomy of an API 3.1.1 Overall Layout 3.1.2 Fields 3.1.3 Methods 3.2 A Development Walkthrough 3.2.1 3.2.2 The Mortgage Application 3.2.3 Output Formatting 3.2.4 Relational

More information

Tutorials. Tutorial every Friday at 11:30 AM in Toldo 204 * discuss the next lab assignment

Tutorials. Tutorial every Friday at 11:30 AM in Toldo 204 * discuss the next lab assignment 60-212 subir@cs.uwindsor.ca Phone # 253-3000 Ext. 2999 web site for course www.cs.uwindsor.ca/60-212 Dr. Subir Bandyopadhayay Website has detailed rules and regulations All assignments and labs will be

More information

Customer Account Center User Manual

Customer Account Center User Manual Customer Account Center User Manual 1 P age Customer Account Center User Manual Contents Creating an Account & Signing In... 3 Navigating the Customer Account Center Dashboard... 7 Account Information...

More information

CS 121 Intro to Programming:Java - Lecture 2. Professor Robert Moll (+ TAs) CS BLDG

CS 121 Intro to Programming:Java - Lecture 2. Professor Robert Moll (+ TAs) CS BLDG CS 121 Intro to Programming:Java - Lecture 2 Course home page: Professor Robert Moll (+ TAs) CS BLDG 276-545-4315 moll@cs.umass.edu http://twiki-edlab.cs.umass.edu/bin/view/moll121/webhome Read text chapters

More information

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2002

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2002 1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2002 Name: TA s Name: Tutorial: For Graders Question 1 Question 2 Question 3 Question 4 Question 5 Total Problem 1 (10 Points).

More information

CP122 Computer Science I. Binary, Strings, Conditionals, User Input

CP122 Computer Science I. Binary, Strings, Conditionals, User Input CP122 Computer Science I Binary, Strings, Conditionals, User Input Everysight Raptor AR cycling glasses ($499) Tech News! Tech News! Everysight Raptor AR cycling glasses ($499) 42% of US children ages

More information

MBTA Student Pass Program User Guide

MBTA Student Pass Program User Guide MBTA Student Pass Program User Guide MBTA Student Pass Program Service 617-222-5710 studentpassprogram@mbta.com Monday through Friday 7AM to 3PM EST 1 Table of Contents 1 Overview... 2 2 Registration...

More information

Lecture 35. Threads. Reading for next time: Big Java What is a Thread?

Lecture 35. Threads. Reading for next time: Big Java What is a Thread? Lecture 35 Threads Reading for next time: Big Java 21.4 What is a Thread? Imagine a Java program that is reading large files over the Internet from several different servers (or getting data from several

More information

Introduction to Computation and Problem Solving

Introduction to Computation and Problem Solving Class 1: Introduction Introduction to Computation and Problem Solving Prof. Steven R. Lerman and Dr. V. Judson Harward Handouts for Today Course syllabus Academic Honesty Guidelines Laptop request form

More information

MBTA Student Pass Program - User Guide

MBTA Student Pass Program - User Guide MBTA Student Pass Program - User Guide Student Pass Customer Service 617-222-5710 studentpassprogram@mbta.com Monday through Friday 7AM to 3PM EST Table of Contents 1 Overview... 2 2 Registration... 2

More information

E D T 3 2 E D T 3. Slide 1

E D T 3 2 E D T 3. Slide 1 Slide Spreadsheets Using Microsoft xcel Reminder: We had covered spreadsheets very briefly when we discussed the different types of software in a previous presentation. Spreadsheets are effective tools

More information

Your guide to

Your guide to Your guide to www.mypayflex.com PayFlex Systems USA, Inc. 10802 Farnam Drive *Omaha, NE 68154 800.284.4885 * www.mypayflex.com Table of Contents Home Page for www.mypayflex.com...3 How do I login to www.mypayflex.com...4

More information

FAQ. Use the links below to find detailed tutorials on using MSA.

FAQ. Use the links below to find detailed tutorials on using MSA. Use the links below to find detailed tutorials on using MSA. Setting Up Your Parent Account» Adding A Student To Your Account» Depositing Funds Into Your Account» Managing Your Account Settings» Archway

More information

EZ Parent Center Directions Parent Sign Up and Purchase Preordering

EZ Parent Center Directions Parent Sign Up and Purchase Preordering EZ Parent Center Directions Parent Sign Up and Purchase Preordering Parents should contact your school (or caterer) when any type of support is needed. You can use the following link https://www.ezparentcenter.com/site/ezparentcenter_contact.aspx

More information

CS180 Spring 2010 Exam 2 Solutions, 29 March, 2010 Prof. Chris Clifton

CS180 Spring 2010 Exam 2 Solutions, 29 March, 2010 Prof. Chris Clifton CS180 Spring 2010 Exam 2 Solutions, 29 March, 2010 Prof. Chris Clifton Turn Off Your Cell Phone. Use of any electronic device during the test is prohibited. Time will be tight. If you spend more than the

More information

Crystal Clear Software Ltd. Customer Charter

Crystal Clear Software Ltd. Customer Charter Crystal Clear Software Ltd. Customer Charter Support Between 08.30 and 18.00 hrs. from Monday to Friday (East African Time, GMT+3). Live Support (via www.loanperformer.com). We guarantee to answer your

More information

Intensive Introduction to Computer Science. Course Overview Programming in Scratch

Intensive Introduction to Computer Science. Course Overview Programming in Scratch Unit 1, Part 1 Intensive Introduction to Computer Science Course Overview Programming in Scratch Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Welcome to CS S-111! Computer science

More information

Your guide to

Your guide to Your guide to www.mypayflex.com PayFlex Systems USA, Inc. 700 Blackstone Centre *Omaha, NE 68131 800.284.4885 * www.mypayflex.com Table of Contents Home Page for www.mypayflex.com...3 How do I login to

More information

Android project proposals

Android project proposals Android project proposals Luca Bedogni Marco Di Felice ({lbedogni,difelice}@cs.unibo.it) May 2, 2014 Introduction In this document, we describe four possible projects for the exam of the Laboratorio di

More information

SAMPLE. Course Description and Outcomes

SAMPLE. Course Description and Outcomes CSC320: Programming I Credit Hours: 3 Contact Hours: This is a 3-credit course, offered in accelerated format. This means that 16 weeks of material is covered in 8 weeks. The exact number of hours per

More information

CS 116. Lab Assignment # 1 1

CS 116. Lab Assignment # 1 1 Points: 2 Submission CS 116 Lab Assignment # 1 1 o Deadline: Friday 02/05 11:59 PM o Submit on Blackboard under assignment Lab1. Please make sure that you click the Submit button and not just Save. Late

More information

1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 4: Satellite data sets Due: 12 noon, Monday, March 29, 2010

1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 4: Satellite data sets Due: 12 noon, Monday, March 29, 2010 1.204 Computer Algorithms in Systems Engineering Spring 2010 Problem Set 4: Satellite data sets Due: 12 noon, Monday, March 29, 2010 1. Problem statement You receive data from a series of satellites on

More information

CS 106 Introduction to Computer Science I

CS 106 Introduction to Computer Science I CS 106 Introduction to Computer Science I 01 / 23 / 2015 Instructor: Michael Eckmann Today s Topics Questions? Comments? Review variables variable declaration assignment (changing a variable's value) using

More information

LAB: WHILE LOOPS IN C++

LAB: WHILE LOOPS IN C++ LAB: WHILE LOOPS IN C++ MODULE 2 JEFFREY A. STONE and TRICIA K. CLARK COPYRIGHT 2014 VERSION 4.0 PALMS MODULE 2 LAB: WHILE LOOPS IN C++ 2 Introduction This lab will provide students with an introduction

More information

To help you prepare for Problem 2, you are to write a simple Swing application which uses an anonymous inner class to control the application.

To help you prepare for Problem 2, you are to write a simple Swing application which uses an anonymous inner class to control the application. Problem Set 5 Due: 4:30PM, Friday March 22, 2002 Problem 1 Swing, Interfaces, and Inner Classes. [15%] To help you prepare for Problem 2, you are to write a simple Swing application which uses an anonymous

More information

CS 121 Intro to Programming:Java - Lecture 2. Professor Robert Moll (+ TAs) CS BLDG

CS 121 Intro to Programming:Java - Lecture 2. Professor Robert Moll (+ TAs) CS BLDG CS 121 Intro to Programming:Java - Lecture 2 Course home page: Professor Robert Moll (+ TAs) CS BLDG 276-545-4315 moll@cs.umass.edu http://twiki-edlab.cs.umass.edu/bin/view/moll121/webhome First OWL assignment

More information

Chapter Reporting System Quick Reference Guide

Chapter Reporting System Quick Reference Guide Alpha Rho Chi National Professional Fraternity Architecture and the Allied Arts Chapter Reporting System Quick Reference Guide Alpha Rho Chi s Chapter Reporting System (CRS) records active member information,

More information

COMP1406 Tutorial 1. Objectives: Getting Started:

COMP1406 Tutorial 1. Objectives: Getting Started: COMP1406 Tutorial 1 Objectives: Write, compile and run simple Java programs using the IntelliJ Idea IDE. Practice writing programs that require user input and formatted output. Practice using and creating

More information

Personal Online Banking External Transfers

Personal Online Banking External Transfers Personal Online Banking External Transfers Quick Reference Guide www.solvaybank.com 315-484-2201 General Questions about External Transfers Q. Do I have to be enrolled in Bill Pay before I can use External

More information

Announcements. Course syllabus Tutorial/lab signup form (due 4pm today) Lecture 1 notes Homework 1 Initial assessment

Announcements. Course syllabus Tutorial/lab signup form (due 4pm today) Lecture 1 notes Homework 1 Initial assessment Announcements Handouts (5) to pick up Course syllabus Tutorial/lab signup form (due 4pm today) Lecture 1 notes Homework 1 Initial assessment Please do it now and hand it in as you leave lecture It s ungraded;

More information

1 About your new card

1 About your new card 1 About your new card Thank you for purchasing the Credit Union Prepaid Card, from ABCUL. What is the Credit Union Prepaid Card? The Credit Union Prepaid Card is a flexible, low-cost Visa Prepaid Card

More information

Honors Computer Programming 1-2. Chapter 3 Activities

Honors Computer Programming 1-2. Chapter 3 Activities Honors Computer Programming 1-2 Chapter 3 Activities 1A. Correct the errors in the following variable declarations: a) double 3.14159; double num = 3.14159; b) int; int num; c) double = 314.00; double

More information

Cityspan Technical Manual. Request for Proposals. Summer 2016 and School Year New providers only

Cityspan Technical Manual. Request for Proposals. Summer 2016 and School Year New providers only Request for Proposals Summer 2016 and School Year 2016-17 New providers only P r o p o s a l D u e D a t e November 2, 2015 before 5:00 PM Only completed proposals will be accepted. I: INTRODUCTION...

More information

Chapter 2 Elementary Programming

Chapter 2 Elementary Programming Chapter 2 Elementary Programming 1 Motivations In the preceding chapter, you learned how to create, compile, and run a Java program. Starting from this chapter, you will learn how to solve practical problems

More information

Java Tutorial. Saarland University. Ashkan Taslimi. Tutorial 3 September 6, 2011

Java Tutorial. Saarland University. Ashkan Taslimi. Tutorial 3 September 6, 2011 Java Tutorial Ashkan Taslimi Saarland University Tutorial 3 September 6, 2011 1 Outline Tutorial 2 Review Access Level Modifiers Methods Selection Statements 2 Review Programming Style and Documentation

More information

JOptionPane Dialogs. javax.swing.joptionpane is a class for creating dialog boxes. Has both static methods and instance methods for dialogs.

JOptionPane Dialogs. javax.swing.joptionpane is a class for creating dialog boxes. Has both static methods and instance methods for dialogs. JOptionPane Dialogs javax.swing.joptionpane is a class for creating dialog boxes. Has both static methods and instance methods for dialogs. Easy to create 4 Common Dialogs: Message Dialog - display a message

More information

Here are the steps to get the files for this project after logging in on acad/bill.

Here are the steps to get the files for this project after logging in on acad/bill. CSC 243, Java Programming, Spring 2014, Dr. Dale Parson Assignment 4, implementing undo, redo & initial GUI layout ASSIGNMENT due by 11:59 PM on Saturday April 19 via gmake turnitin ASSIGNMENT 5 (see page

More information

Decisions, Decisions, Decisions. GEEN163 Introduction to Computer Programming

Decisions, Decisions, Decisions. GEEN163 Introduction to Computer Programming Decisions, Decisions, Decisions GEEN163 Introduction to Computer Programming You ve got to be very careful if you don t know where you are going, because you might not get there. Yogi Berra TuringsCraft

More information

Working with Formulas and Functions

Working with Formulas and Functions Microsoft Excel 20032003- Illustrated Introductory Working with Formulas and Functions Objectives Create a formula with several operators Use names in a formula Generate multiple totals with AutoSum Use

More information

STUDENT TRANSIT PASS PILOT FREQUENTLY ASKED QUESTIONS UNION CITY

STUDENT TRANSIT PASS PILOT FREQUENTLY ASKED QUESTIONS UNION CITY STUDENT TRANSIT PASS PILOT 2018-2019 FREQUENTLY ASKED QUESTIONS UNION CITY What is the Student Transit Pass Pilot? The Student Transit Pass Pilot is a three-year pilot program sponsored by the Alameda

More information

Tips from the experts: How to waste a lot of time on this assignment

Tips from the experts: How to waste a lot of time on this assignment Com S 227 Spring 2017 Assignment 1 80 points Due Date: Thursday, February 2, 11:59 pm (midnight) Late deadline (25% penalty): Friday, February 3, 11:59 pm General information This assignment is to be done

More information

USER GUIDE. Schmooze Com Inc.

USER GUIDE. Schmooze Com Inc. USER GUIDE Schmooze Com Inc. Chapters Overview General Settings Campaign Management Call List Groups Overview Broadcast (XactDialer) module allows you to send a message broadcasting to a predefined list

More information

Lecture 6. Drinking. Nested if. Nested if s reprise. The boolean data type. More complex selection statements: switch. Examples.

Lecture 6. Drinking. Nested if. Nested if s reprise. The boolean data type. More complex selection statements: switch. Examples. // Simple program to show how an if- statement works. import java.io.*; Lecture 6 class If { static BufferedReader keyboard = new BufferedReader ( new InputStreamReader( System.in)); public static void

More information

Web-CAT Guidelines. 1. Logging into Web-CAT

Web-CAT Guidelines. 1. Logging into Web-CAT Contents: 1. Logging into Web-CAT 2. Submitting Projects via jgrasp a. Configuring Web-CAT b. Submitting Individual Files (Example: Activity 1) c. Submitting a Project to Web-CAT d. Submitting in Web-CAT

More information

MoneyTracker Quick Guide

MoneyTracker Quick Guide Welcome to MoneyTracker. Tracking your finances has never been easier with this free personal financial management tool. Just log onto Internet Branch and click MoneyTracker to enroll. MoneyTracker allows

More information

esureit Online Backup vs. Portable Media

esureit Online Backup vs. Portable Media esureit Online Backup vs. Portable Media Online Backup vs. Portable Media May 2008 Backing up data has become a standard business practice and in most industries it is an operational requirement. With

More information

Oracle Banking Digital Experience

Oracle Banking Digital Experience Oracle Banking Digital Experience FCUBS Originations Auto Loan User Manual Release 18.1.0.0.0 Part No. E92727-01 January 2018 FCUBS Originations Auto Loan User Manual January 2018 Oracle Financial Services

More information

4. Java Project Design, Input Methods

4. Java Project Design, Input Methods 4-1 4. Java Project Design, Input Methods Review and Preview You should now be fairly comfortable with creating, compiling and running simple Java projects. In this class, we continue learning new Java

More information