Financial Information Management Managing Financial Information Critical Thinking Business Process Modeling WINIT Control Structures Homework.

Slides:



Advertisements
Similar presentations
 Computer Science 1MD3 Introduction to Programming Winter 2014.
Advertisements

Object Oriented Programming A programming concept which views programs as objects with properties and ways to manipulate the object and the properties.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Solving Problems with Repetition. Objectives At the end of this topic, students should be able to: Correctly use a while statement in a C# program Correctly.
Chapter 7: User-Defined Functions II
Chapter 3 IFTHENELSE Control Structure © 2008 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. Marilyn Bohl/Maria Rynn Tools for Structured.
Programming in Visual Basic
 2005 Pearson Education, Inc. All rights reserved Introduction.
Programming Logic and Design Fourth Edition, Introductory
ITEC113 Algorithms and Programming Techniques
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Introduction to BizAgi. Slide 2 User Interface (Summary) The user interface for BizAgi resembles Office It uses a similar ribbon The Palette contains.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 4 – Introducing Algorithms, Pseudocode and.
CMP 131 Introduction to Computer Programming Violetta Cavalli-Sforza Week 3, Lecture 2.
Understanding the Mainline Logical Flow Through a Program (continued)
ACSE th Conference The Iconic Programmer Stephen Chen.
SE-565 Software System Requirements More UML Diagrams.
Review Algorithm Analysis Problem Solving Space Complexity
Adding Automated Functionality to Office Applications.
The University of Texas – Pan American
Activity Diagram.
IE 212: Computational Methods for Industrial Engineering
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 6 Value- Returning Functions and Modules.
Chapter 4: The Selection Process in Visual Basic.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 4 – Wage Calculator Application: Introducing.
S2008Final_part1.ppt CS11 Introduction to Programming Final Exam Part 1 S A computer is a mechanical or electrical device which stores, retrieves,
SYSTEMSDESIGNANALYSIS 1 OO: Chapter 9 Visual Basic: Building Components Jerry Post Copyright © 1999.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Property of Jack Wilson, Cerritos College1 CIS Computer Programming Logic Programming Concepts Overview prepared by Jack Wilson Cerritos College.
Tutorial 51 Programming Structures Sequence - program instructions are processed, one after another, in the order in which they appear in the program Selection.
‘Tirgul’ # 3 Enterprise Development Using Visual Basic 6.0 Autumn 2002 Tirgul #3.
2/13/2003CSCI 150: Introduction to Computer Science1 Introduction to Computer Science CSCI 150 Section 002 Session 9 Dr. Richard J. Bonneau IONA Technologies.
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Visual Basic Programming
Flowcharts and Algorithms. Review of Terms  A computer is a machine that can represent and manipulate data –Ultimately the data and the instructions.
Lab 4 Range Review, Control Logic and Loops ► Range Review ► Control Logic and Loops ► Exercise.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Class Average Application Introducing the Do...Loop While and Do...Loop Until.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Selection Statements Selection Switch Conditional.
West Virginia University Slide 1 Copyright © K.Goseva 2010 CS 736 Software Performance Engineering Comments on Homework #1  Please revise the solution.
22/11/ Selection If selection construct.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
Chapter 7 Problem Solving with Loops
Introduction to Programming Lecture 2 Msury Mahunnah, Department of Informatics, Tallinn University of Technology.
CSCI 1226 FALL 2015 MIDTERM #1 REVIEWS.  Types of computers:  Personal computers  Embedded systems  Servers  Hardware:  I/O devices: mice, keyboards,
31/01/ Selection If selection construct.
5.1 Introduction Problem Solving –Requires understanding of: Building blocks Program-construction principles BZUPAGES.COM.
Lab 6 (1) Range Review, Control Logic and Loops ► Control Logic and Loops ► Exercise.
COMP Loop Statements Yi Hong May 21, 2015.
 2002 Prentice Hall. All rights reserved. 1 Chapter 5 – Control Structures: Part 2 Outline 5.1Introduction 5.2 Essentials of Counter-Controlled Repetition.
 2003 Prentice Hall, Inc. All rights reserved. 1 Basic C++ Programming.
Financial Information Management VB, VBA, VS, VSTO & VBE: Putting it all together Source: Excel VBA Programming by John Walkenbach.
© Stefano Grazioli - Ask for permission for using/quoting: Source: Excel VBA Programming by John Walkenbach.
Selection Using IF THEN ELSE CASE Introducing Loops.
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
CIS 115 All Exercises Devry University (Devry) FOR MORE CLASSES VISIT CIS 115 All Exercises Devry University.
© Stefano Grazioli - Ask for permission for using/quoting: Stefano Grazioli.
Introduction to Programming Lecture 2
3.1 Fundamentals of algorithms
REPETITION CONTROL STRUCTURE
System Design.
Control Structures: Part 2
Java Programming Arrays
Iteration: Beyond the Basic PERFORM
Process Automation: From models to code
Loops, Subs, & Functions Stefano Grazioli.
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
Loops, Subs, & Functions Stefano Grazioli.
Process Automation: focus on imagination and modeling
Process Automation: focus on imagination and modeling
Presentation transcript:

Financial Information Management Managing Financial Information Critical Thinking Business Process Modeling WINIT Control Structures Homework

Critical Thinking  Missing files / other zip issues  Videos are guides, not to be copied exactly! Focus on functionality. Does your work do what is required?  Grade fairness is important to me: come and see me  Two freebies  Helping others  Today office hours only up to 5pm  EasyMeter

Financial Information Management Business Process Modeling Tools Jobs and tools

SAP at Renacer

Modeling a BP Identify the requirements (what needs to be done) Create a description of the financial Business Process Implement the BP using IT Business Analyst / Consultant Technical Analyst / Consultant Developer / Consultant

UML Use Case Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario Diagrams Scenario Diagrams Scenario Diagrams Deployment Diagrams Deployment Diagrams State Diagrams State Diagrams State Diagrams State Diagrams Sequence Diagrams Sequence Diagrams Component Diagrams Component Diagrams Component Diagrams Component Diagrams Collaboration Diagrams Collaboration Diagrams State Diagrams State Diagrams State Diagrams State Diagrams Package Diagrams Package Diagrams Scenario Diagrams Scenario Diagrams Scenario Diagrams Scenario Diagrams Component Diagrams Component Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Activity Diagrams Activity Diagrams State Diagrams State Diagrams State Diagrams State Diagrams Class Diagrams Class Diagrams Scenario Diagrams Scenario Diagrams Scenario Diagrams Scenario Diagrams Statechart Diagrams Statechart Diagrams International standard: diagramming techniques to describe processes

An Activity Diagram  understand & communicate  reengineer & change  specify software  WE WILL USE IT TO DESCRIBE (HOME)WORK TO BE DONE.

Activity Diagram Receive goods [OK] Inspect content Return some goods Pay vendor Accept all goods Receive returns Notify Vendor and A/P Update A/R Reconcile Account [Errors] [Returned goods] VENDORA/P RECEIVING Update A/P Starting point Activity Decision Point End point [Guard] Model guards only if they add value Swimlane Fork Join Actor Merge

Forks, Joins, and Merges  A join all  A join has a single exit point, that is traversed when all the input activities have occurred.  A merge any one  A merge (same symbol than the decision point) has a single exit and is traversed when any one of the input activities occurs.  A fork  A fork has one entry point and multiple exits to activities that can be done in parallel

Financial Information Management Homework H3

Ask for the interest rate (e.g., “5” means five percent). Allow for fractions, as in Ask for the principal in $ Ask for the number of years (1- 30) Ask the user whether he/she wants to see (a) the interest, (b) the sum of principal + interest, or (c) both a and b (default). More than $0 Less or equal 0 or more than 10 Less than 1 or more than 30 Ask for more? (y=yes) Print Output abanything else y For this assignment assume a “competent” user Activity Diagram H3 - Simple Financial Calculator

H3: Math Functions Interest = Principal * [(1+ Interest Rate) t – 1] "Principal" is the same as "capital" pay attention to the unit of measure!

Financial Information Management WINIT What Is New In Technology?

Financial Information Management From UML to VB Introduction to Visual Basic

Variables Are named places in memory where you store information. To create a variable, you declare it (Dim) and you tell the computer what type of info you want to store in it (e.g., an integer, a double, a string, a range). Dim myInterest as double = 0 Dim userInput as string = “Stefano”  To change its content, you use the assignment operator “=” myInterest = 0.05  To use its value, you just write its name Dim newVariable as double = 0 newVariable = myInterest * 2

Excel CELLS  Are objects with properties and behaviors.  No need to pre-specify what king of info you want to store in them.  Examples: Range("A1").Value = “My Excellent Calculator” Range("A1").Font.Bold = True Range("A1").ColumnWidth = 30 Range("A3").Value = "Interest is" Range("B3").Columns.NumberFormat = "$#,##0.00_);[Red]($#,##0.00)" Range("B3").Value = interest

Once charted with UML, financial processes are easier to implement Recognize the patterns & follow the examples

Implementing a Decision... creditRate > 50% Dim creditRange as Double ‘ More instructions… If creditRate > 0.5 Then Range("A10").Value = "Approved!" Else Range("A10").Value = "Rejected" End If Print “Approved” Print “Rejected”...

The “else” Is Optional... cr. rate > 50% If creditRate > 0.5 Then Range("A10").Value = "Approved!" End If Print “Approved”...

Tests AND : if (creditRate > 0.5 ) And (age > 21) OR : if (creditRate 21) NOT : if Not (age = 21) alternatively you can use If age <> 21

Implementing a Decision Loop Dim inputFromUser As String Do inputFromUser = InputBox(“Amount of principal?") principal = Double.Parse(inputFromUser) Loop While principal <= 0 Ask the user the amount of principal in $ Principal <= $0

Implementing a Nested Loop Ask the user the amount of principal in $ Less than / equal to $0 Do ‘ Task A Do inputFromUser = InputBox(“Principal?") principal=double.Parse(inputFromUser) Loop While (inputFromUser <= 0) ‘ Task B inputFromUser = InputBox(“Want to quit?") Loop While (inputFromUser <> “y”) Task B want to quit (n=no)? n Task A y

Math Functions interest = Principal * [(1+ Interest Rate)t – 1] 1.interest = principal * (Application.WorksheetFunction.Power((1 + interestRate), t)-1) 2.interest = principal * ((1 + interestRate) ^ t) - 1)

An Alternative to IF…THEN When There Are Multiple Options Select Case textFromUser Case a Range(“B5").Value(“This is case a") ‘ More instructions… Case b Range(“B5").Value(“This is case b") ‘ More instructions… Case Else Range(“B5").Value(“this is the Default") ‘ More instructions… End Select Ask the user Print Output a b default

A More Interesting Case Dim number As Integer ‘other code in here... Select Case number Case 1 To 5 Range("A1").Value("Between 1 and 5, inclusive") Case 6, 7, 8 Range("A1").Value("Between 6 and 8, inclusive") Case 9 To 10 Range("A1").Value("Equal to 9 or 10") Case Else Range("A1").Value("Not between 1 and 10, inclusive") End Select Source: MSDN

Suggestions  Be careful about uploading  Google is your friend  Come and see me.