IE 423 – Design of Decision Support Systems
-
Upload
sonya-price -
Category
Documents
-
view
18 -
download
2
description
Transcript of IE 423 – Design of Decision Support Systems
![Page 1: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/1.jpg)
IE 423 – Design of Decision Support Systems
Visual StudioIntroduction to VB.NET programming
![Page 2: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/2.jpg)
Important Events
![Page 3: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/3.jpg)
Keepin Up
Read Pol and Ahuja – Chapter 10 – Visual
Studio Pol and Ahuja – Chapters 11-13
![Page 4: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/4.jpg)
DSS Application Programming
Spreadsheets, Databases, etc. are tools to support decision makingYou still need a delivery systemsSometimes you can build a delivery system within a tool – like Access…but it often involves some programming
![Page 5: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/5.jpg)
DSS Application Programming
We will be using Visual Basic.NET Don’t worry about the .NET part yet
VB programming model Object Oriented Programming Event-driven programming
![Page 6: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/6.jpg)
DSS Application Programming
Object Oriented Programming As oppose to ? Focus on objects as the major
organizing principle for the software …rather than the procedure or
algorithm as the organizing principle In part, it is about how you think
about the program and its design
![Page 7: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/7.jpg)
DSS Application Programming
Object Oriented Programming Objects are things in the program Objects have attributes, usually called
Properties Properties have a name and one or more
values Values can change or be set by your
program
![Page 8: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/8.jpg)
DSS Application Programming
Object Oriented Programming Objects have actions, called Methods
Methods are things that the object do,… …or have done to them Methods are components of objects
Not independent
![Page 9: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/9.jpg)
DSS Application Programming
Event-driven Programming Events are things that can happen to
objects In VB many events are predefined
(click) …but you can define others Code (program code – the code that
you are going to write) is associated with events
![Page 10: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/10.jpg)
DSS Application Programming
So, how do you start thinking about developing a program?
What’s the “old” way?
![Page 11: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/11.jpg)
DSS Application Programming
What’s the “old” way?Procedural Programming What to do to start. What to do next …and next …and next if this or that …and next And wrap it up
![Page 12: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/12.jpg)
DSS Application Programming
Consider an exchange rate calculatorPrint “Welcome to the Exchange Rate Calculator”Get exchangerate !get todays rateInput “Enter amount in US Dollars”, amtforeignamt = amt * exchangeratePrint amt, “in this foreign currency = “, foreignamtend
![Page 13: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/13.jpg)
DSS Application Programming
Previous slide is an example of procedural programming Why?
Alternative – Object Oriented Programming
How is this different?
![Page 14: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/14.jpg)
DSS Application Programming
Procedural vs Object Oriented programmingProduct might be the sameFrom a functional (I/0) standpoint, could you produce the same program either way?Two important differences Thinking Implementation
![Page 15: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/15.jpg)
DSS Application Programming
What are the objects in your problem and your design? Some problem specific Some are UI objects
What are the properties of these objects?What should happen when events happen to these objects?
![Page 16: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/16.jpg)
DSS Application Programming
Note: your programming language must support object oriented, event-driven programmingVisual BasicVisual C++Visual C#C++ (object oriented)
![Page 17: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/17.jpg)
DSS Application Programming
Visual Studio A place to make movies? A place to make music videos? A type of apartment with big
windows?
IDE – Interactive Development Environment
![Page 18: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/18.jpg)
DSS Application Programming
Visual Studio IDE An environment to create and edit software …to run and test the software Has many, many tools to make software
development easier Controls (?) Windows Web Servers
Helps manage software development Configuration management
![Page 19: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/19.jpg)
DSS Application Programming
Visual Studio IDE You can run your software in Visual
Studio When it is finished and tested you can
make a standalone software package
![Page 20: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/20.jpg)
DSS Application Programming
Visual Studio IDE Mostly for MicroSoft Development
products
![Page 21: IE 423 – Design of Decision Support Systems](https://reader030.fdocuments.in/reader030/viewer/2022032804/56812a71550346895d8df4a3/html5/thumbnails/21.jpg)