1 ASSIGNMENT OBJECTIVES LEARN TO USE: 1. Textboxes, labels, buttons, picture boxes, properties, and methods 2.Arithmetic computations 3.Variables and constants.

Slides:



Advertisements
Similar presentations
HAVE YOUR PHOTOS DIGITIZED PCNA: GET YOUR OLD PHOTOS CONVERTED TO A DIGITAL FORMAT FOR YOU.
Advertisements

Handling Money Cash Register Receipts. Patrons may pay for library fines, fees, lost books, guest accounts, merchandise, copy & print cards, and all other.
Chapter 5 Menus, Common Dialog Boxes, Sub Procedures, and Function Procedures Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved.
1 ASSIGNMENT OBJECTIVES LEARN TO USE: 1. Textboxes, labels, butttons, picture boxes, properties, radio buttons, checkbox, and methods, group boxes 2.Arithmetic.
IRS Website below - Please find a computer and log on to this site. Use it as a reference if you have questions during this process. Filling out Tax Documents.
There is a certain way that an HTML file should be set up. The HTML section declares a beginning and an ending. Within the HTML, there should be a HEAD.
To type the VB code behind the command button (named cmdPush), Double-Click on the Push Me (caption) command button As a result the Visual Basic Code Window.
USSF North Carolina Arbiter Referee Assignment Site An Introduction & Guide for Use by Referees © Copyright June 2005 by Paul James, all rights reserved.
Program 04 (Fall 2014) VB Auto Center Problem Purpose: You are to add Arguments and Parameters to Program 03. See slides 3, 4, and 5 for additional details.
ACCESS 2007 ASSIGNMENT SPRING 2014 Purpose: To give students a basic understanding of ACCESS 2007 by constructing a database using the Ready2Read bookstore.
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
(c) Bob McKillop, 2006Tutorial #1 T1-1 Tutorial #1 - your first compiled code  the learning objectives for this tutorial are very modest q compile and.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
InvEasy (Project1) Please use speaker notes for additional information!
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Using the ACCESS 2007 Ready2Read example as a model for your database assignment you are to do the following: 1.Set up a database for a gold, silver, and.
06/10/ Working with Data. 206/10/2015 Learning Objectives Explain the circumstances when the following might be useful: Disabling buttons and.
Chapter 3 Part 21 Displaying Output Chapter 3 Section 3.5Output Formatting Chapter 3 Section 3.6Group Boxes, etc. Chapter 3 Section 3.7Sample Program Chapter.
08/10/ Iteration Loops For … To … Next. 208/10/2015 Learning Objectives Define a program loop. State when a loop will end. State when the For.
Programming Examples to Accompany Structure Topic Please use speaker notes for additional information!
Program Design and Coding
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Microsoft Visual Basic 2010 CHAPTER THREE Program Design and Coding.
Microsoft Visual Basic 2005 CHAPTER 4 Variables and Arithmetic Operations.
Chapter 4 Variables and constants. 4.1 Variables -Use of variables is good programming style -easier to modify -easier for a programmer to understand.
COPYRIGHT Spring 2006: Dr. David Scanlan, CSUS ASSIGNMENT OBJECTIVES 1. To learn how to use these controls: - buttons, labels, picture boxes, and a form.
Programming Assignment 05 Blue Jet Flight Information with Class and Inheritance General and specific program requirements: 1. Problem: Blue Jet has just.
Visual Basic.NET Windows Forms Hello World Homework Assignment.
Microsoft Visual Basic 2008 CHAPTER TWELVE Cell Phone Applications and Web Services.
Exploring Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2 – Gaining Proficiency: The Web and Business.
CS0004: Introduction to Programming Project 1 – Lessons Learned.
ASSIGNMENT OBJECTIVES TO PRACTICE OR USE THE FOLLOWING: 1.CONTROLS: - buttons, labels, picture boxes, groupboxes, and a form 2. EVENTS: - Click, MouseDown,
OBJECTIVES: To open an existing Project called HelloWorld. To learn how set properties using the property window and how to set them in the code. Chapter.
Data Types and Variables. Data Type! Computers are all about Data! Data can be in the form of Text Dates Sounds Pictures.
ASSIGNMENT OBJECTIVES 1. To learn how to use these controls: - buttons, labels, picture boxes, and a form. 2. To learn how to use these events: - Click,
ASSIGNMENT OBJECTIVES TO PRACTICE OR USE THE FOLLOWING: 1.CONTROLS: - buttons, labels, picture boxes, groupboxes, and a form 2. EVENTS: - Click, MouseDown,
COPYRIGHT 2010: Dr. David Scanlan, CSUS OBJECTIVES: How to write classes How to create an object from a class using the "New" keyword. How to communicate.
1 Project 3 The Kumquat Society Conference. 2 Conference Registration In this project you will write a program to handle a conference registration. The.
Program 03 Fall 2014 VB Auto Center Problem Purpose: VB Auto Center has ask you to write a program that will calculate the typical values involved in the.
VB Objects & Events (Exercises) School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Friday 1/31/2003)
CS 2340: Programming in VB Lab 2 Due 9 pm, Friday, September 14 1.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 7 Where Can I Store This?
Hungarian Notation A must in this course Every object used MUST be renamed including the form(s) using the following rules Form  frmFormName E.g. frmTemperature.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Lesson 1. Security At the menu bar at the top you will see the word Tools. Click your mouse on Tools scroll down to Macro. Move the Mouse over and down.
© 2006 ITT Educational Services Inc. Introduction to Computer Programming: Unit 3: Chapter 3: Slide 1 Unit 3 Formatting Chapter 3 Input, Variables, Constants,
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
Microsoft Visual Basic 2012 CHAPTER FOUR Variables and Arithmetic Operations.
ASSIGNMENT OBJECTIVES TO PRACTICE OR USE THE FOLLOWING: 1.CONTROLS: - buttons, labels, textbox for password, picture boxes, groupboxes, and a panel. 2.
Addison Wesley is an imprint of © 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 3 Variables and Calculations.
Here is the login page for ordering your criminal background checks. Please note that you must use Internet Explorer for this program. Step 1: Click here.
+ Auto-Testing Code for Teachers & Beginning Programmers Dr. Ronald K. Smith Graceland University.
Chapter 4.  Variables – named memory location that stores a value.  Variables allows the use of meaningful names which makes the code easier to read.
© 2006 Lawrenceville Press Slide 1 Chapter 4 Variables  A variable is a name for a value stored in memory.  Variables are created using a declaration.
Microsoft Visual Basic 2010 CHAPTER FOUR Variables and Arithmetic Operations.
Visual Basic Fundamental Concepts
A variable is a name for a value stored in memory.
ASSIGNMENT OBJECTIVES
Variables and Arithmetic Operations
Your First & Last Name (Make sure you capitalize your first and last name!) Follow these instructions: 1. Center your name on the slide (use the “Centered”
Please use speaker notes for additional information!
CS 2340: Programming in VB Instructor: Dr. Qi Yang Office: 213 Ullrich
Variables and Arithmetic Operations
Visual Basic..
Please use speaker notes for additional information!
HOW TO CREATE A CLASS Steps:
ASSIGNMENT OBJECTIVES
Federal Income Tax Check the one that applies. Likely “Single.”
Presentation transcript:

1 ASSIGNMENT OBJECTIVES LEARN TO USE: 1. Textboxes, labels, buttons, picture boxes, properties, and methods 2.Arithmetic computations 3.Variables and constants 4. Me.Close() 5.FormatCurrency() and FormatNumber() functions 6.Use Google for help on FormatCurrency and FormatNumber. 7. Clearing labels and textboxes 8.Background colors. DIFFICULTY LEVEL:EASY TUTORING CENTER IS NOW OPEN: THIRD FLOOR OF TAHOE START ON THE PROGRAM NOW.

2 GETTING HELP: You may ask another student for help, but you must not copy their code. Failure of the course will result for the person giving the code and the person receiving the code. REMEMBER: THE GRADES IN THIS COURSE ARE CURVED. I can get limited help from other students. For additional help, I need to see Dr. Scanlan, or the tutoring center.

3 1. The GUI MUST look almost exactly like the ones displayed in slides 4, 5, and Use FormatCurrency() and FormatNumber() functions to display the amounts. Note where dollar signs are displayed or not displayed. 3.Number of controls: a.2 Textboxes b.2 Picture Boxes c3 Button d.1 Form e.All the others are labels. 4.Use Me.Close to close the program and a Clear button to clear the form output and entries. 5.Use any picture of a coffee shop you can find by searching Google Images. 6.Note that the taxes and deductions are so high that the person never takes home any money. Due Date: March 5, 2015 Points: 20 Late penalty: 50% per class day Programs are ONLY accepted at the start (first 20 minutes) of the class period on the date due. After that, it will be late. General Requirement: Create a payroll calculator for a Coffee Shop Specific Requirements: The program GUI must look and perform like the ones in this assignment. See the posted Exec file on the Web site

4 This is what the GUI looks like when the program is first run with no values entered.

5 This is what the GUI looks like when the program is run with values entered and the Calculate Pay button has been pressed.

6 This is what the GUI looks like when the program has been run with values entered followed by the Clear button being pressed. All values have been cleared. Clear button was pressed

7 Specific requirements (continued) 7. You MUST use these names and formats for your variables and constants. Note: You must use constants for calculations. 'VARIABLES are locations in memory where values are to be stored. The values in these locations CAN be changed when the progam is ‘ executing. Dim decHoursWorked As Decimal Dim decPayRate As Decimal Dim decGrossPay As Decimal Dim decFederalTax As Decimal Dim decStateTax As Decimal Dim decCarbonTax As Decimal Dim decMedicalInsurance As Decimal Dim decDentalInsurance As Decimal Dim decVisonInsurance As Decimal Dim decNetPay As Decimal Dim decTotalTaxes As Decimal Dim decTotalOtherDeductions As Decimal 'CONSTANTS are locations in memory where values are to be stored. The values in these locations CANNOT be changed when the progam is ‘ executing. Const decFEDERAL_TAX_RATE As Decimal = 0.3D Const decSTATE_TAX_RATE As Decimal = 0.1D Const decCARBON_TAX_RATE As Decimal = 0.4D Const decMEDICAL_INSURANCE_RATE As Decimal = 0.1D Const decDENTAL_INSURANCE_RATE As Decimal = 0.05D Const decVISION_INSURANCE_RATE As Decimal = 0.05D

8 Public Class Form1 'Note: Put Constants here if there are any. 'Const ExampleTaxRate as Decimal =.10D 'Note: Declare Variables here for now. Dim decGrossPay As Decimal Dim decPayRate As Decimal Dim decHoursWorked As Decimal 'CALCULATE GROSS PAY Private Sub btnCalculatePay_Click(sender As System.Object, e As _ System.EventArgs) Handles btnCalculatePay.Click decPayRate = CDec(txtPayRate.Text) decHoursWorked = CDec(txtHoursWorked.Text) decGrossPay = decPayRate * decHoursWorked lblDisplayGrossPay.Text = FormatCurrency(decGrossPay) End Sub End Class How to setup code for a simple example for your program #1. Place your code in these areas. Note how values are calculated below using Variables Ignore red lines below. SOME EXTRA HELP

9 Form-A GRADER FILLS IN THIS PAGE: PRINT LAST NAME:_______________________________ PRINT FIRST NAME:________________________ PROGRAM (Circle) DATE DUE:_____________________ DATE SUBMITTED:___________________ GRADER FILLS IN THESE BLANK DESCRIPTIONPOINTSPOINTS EARNED Appropriate GUIs: 0 OR 2_____________ Used Variable names and constants correctly0 OR 4_____________ Program runs correctly: 0 OR 14_____________ Late penalty: -10 pts/class day_____________ Zero points if the program fails to compile. TOTAL POINTS OUT OF A POSSIBLE 20:_____________ FAILURE TO HAND IN THE PROGRAM ACCORDING TO THE REQUIRED PROCEDURE: see next slide: -5 points Additional comments below: Spring 2015

10 Form-B STUDENT FILLS IN THESE BLANKS: LAST NAME:_______________________________ FIRST NAME:________________________ PROGRAM (Circle) DATE DUE:_________________ DATE SUBMITTED:__________________ PLACE A CHECK NEXT TO THE FOLLOWING: 1.____Saved the Program on a CD-R or DVD-R using the following directory and sub-directory: Drive Letter:\Your Name\Program1 2.____Printed your full name and program number on the CD using a permanent black marker. 3.____Submitted the CD-R or DVD-R in an envelope not to much larger than the CD or DVD-R 4.____Placed the CD or DVD-R in the envelope.. 5.____Cut out this form along dotted edges and securely tape it to the envelope. CUT OUT THIS FORM ALONG THE DOTTED EDGES AND TAPE IT TO AN ENVELOPE ABOUT THE SIZE OF A CD-R OR DVD-R.