Free Essay

Visual Logic Assignment

In:

Submitted By mike73
Words 306
Pages 2
Solution Exercise 4 FLORAL DESIGNS page 547 Textbook

I have been asked to design a storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of Sunflower Floral Designs.

In this storyboard I have allowed customers the option of picking at least four types of flowers and four arrangements of flowers and each having their own cost. After the customer clicks the Order Now button, it displays the price of the flowers.

Storyboards

Screen 1

Screen 2

Interactivity Diagram

Object dictionary

|Object name |Screen number |Variables affected |Script? |
|Label labelFloralDesigns |1 |none |none |
|Label labelflowersbytype |1 |none |none |
|RadioButton radioButtonRoses |1 |tripPrice |none |
|RadioButton radioButtonDaisies |1 |tripPrice |none |
|RadioButton radioButton Chrysanthemums |1 |tripPrice |none |
|RadioButton radioButtonIrises |1 |tripPrice |none |
|Label labelBasePricesbyarrangements |1 |none |none |
|RadioButton radioFloralArrangement |1 |basePrice |none |
|RadioButton radioButtonCutFlowers |1 |basePrice |none |
|RadioButton radioButtonCorsages |1 |basePrice |none |
|RadioButton radioButtonRoses |1 |additionalPrice |none |
|Button OrderNowButton |1 |totalPrice |OrderRoutine() |
|Label labelPrice |2 |none |none |
|Label tripAmtLabel |2 |none |none |
|Button exitButton |2 |none |exitRoutine() |

Script public void costRoutine() Declarations num ROSES_AMT = 20 num DAISIES_AMT = 15 num CHRYSANTHEMUMS_AMT = 10 num IRISES = 5 num FLORAL_ARRANGEMENTS_AMT = 25 num CUT_FLOWERS_AMT = 15 num CORSAGES_AMT = 10 num ROSES_ADDITIONAL_AMT = 5 num totalPrice

if radioButtonRoses.getChecked() then totalPrice = ROSES_AMT else if radioButtonDaisies.getChecked() then totalPrice = DAISIES_AMT else if radioButtonChrysanthemums.getChecked() then totalPrice = CHRYSANTHEMUMS_AMT else if radioButtonIrises.getChecked() then tripPrice = IRISES_AMT endif endif endif endif

if radioButtonFloralArrangement.getChecked() then totalPrice = basePrice + FLORAL_ARRANGEMENTS_AMT else if radioButtonCutFlowers.getChecked() then totalPrice = basePrice + CUT_FLOWERS_AMT else if radioButtonCorsages.getChecked() then totalPrice = basePrice + CORSAGES_AMT else if radioButtonRosesAdditional.getChecked() then totalPrice = basePrice + ROSES_ADDITIONAL_AMT endif endif endif endif

OrderAmtLabel.setText(basePrice) screen1.remove() screen2.display() return

public void exitRoutine() screen2.remove() return
-----------------------
Floral Designs

Flowers by typeD

- Roses
- Daisies
- Chrysanthemums
- Irises

Base Prices by arrangementsT

- Floral Arrangement $25
- Cut flowers $15
- Corsage $10
- Roses additional $5

Order Now

Price Floral arrangement with Roses:

$30

Exit

Screen 2

Screen 1

Similar Documents

Free Essay

Prg 211 Entire Class Computer Programming

...211 Complete Class Algorithms and Logic for Computer Programming WEEK 1 PRG 211 Week 1 Programming Fundamentals -Reusability of Code Discussion Question 1 Discussion Question 2 WEEK 2 PRG 211 Week 2 Program Solution Proposal Discussion Question 1 Discussion Question 2 WEEK 3 PRG 211 Week 3 Selection Structure Visual Logic Flowchart.vls PRG 211 Week 3 Selection Structure paper /800 words Discussion Question 1 Discussion Question 2 WEEK 4 PRG 211 Week 4 Array Structure Proposal Visual Logic Flowchart PRG 211 Week 4 Individual Assignment – Array Structure Proposal Discussion Question 1 Discussion Question 2 WEEK 5 Calorie Management Visual logic Flowchart Final Team Assignment – Calorie Management Paper /1500 Word Final Team Assignment – Calorie Management Presentation Discussion Question 1 Discussion Question 2 PRG 211 ENTIRE CLASS COMPUTER PROGRAMMING PRG 211 Complete Class Algorithms and Logic for Computer Programming WEEK 1 PRG 211 Week 1 Programming Fundamentals -Reusability of Code Discussion Question 1 Discussion Question 2 WEEK 2 PRG 211 Week 2 Program Solution Proposal Discussion Question 1 Discussion Question 2 WEEK 3 PRG 211 Week 3 Selection Structure Visual Logic Flowchart.vls PRG 211 Week 3 Selection Structure paper /800 words Discussion Question 1 Discussion Question 2 WEEK 4 PRG 211 Week 4 Array Structure Proposal Visual Logic Flowchart PRG 211 Week 4 Individual Assignment – Array Structure Proposal Discussion...

Words: 287 - Pages: 2

Free Essay

A Paper

...|[pic] |Course Syllabus | | |Information Systems & Technology | | |PRG/211 Version 4 | | |Algorithms and Logic for Computer Programming | Copyright © 2012, 2011, 2010 by University of Phoenix. All rights reserved. Course Description This course provides students with a basic understanding of programming development practices. Concepts covered include the application of algorithms and logic to the design and development of procedural and object oriented computer programs to address the problem solving requirements associated with business information systems. This course will cover procedural programming concepts including data types, controls structures, functional decomposition, arrays, and files, classes and objects. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • University policies: You must be logged into the student website to view this document...

Words: 1735 - Pages: 7

Premium Essay

Routine Message

...ENGL510 – Foundations of Professional Communication Writing Assignment 4 – Procedural Message Below you will find three documents: 1. The assignment itself – pages 2-3 2. A set of formatting guidelines for writing instructions – page 4 4. The criteria that will be used in grading the message – page 5 Please read all of these carefully and let me know if you have questions about any of them. Please save your assignment as a Word document using the file name “4yourlastname,” and post it in the Week 7 Writing Assignment 4 Dropbox by midnight Sunday. Please use the following basic formatting: • One-inch margins all around • Left-only justification • 12-point regular Times New Roman font. (Although 11-point Calibri is Word’s default font, serif fonts like Times New Roman are more reader friendly for longer texts because the serifs draw the eye forward, while sans-serif fonts like Calibri are more effective for very brief texts in which you want to hold the eye.) • Simple, visually crisp headings and bulleted or numbered lists. See the final bulleted point in the Formatting Guidelines on page 5 below. Please let me know if you have any questions at all the about the assignment or the procedures for submitting it! Writing Assignment 4 Procedural Message - Writing and Distributing a Set of Instructions Background You have just been promoted from staff assistant in the Human Resources Office at Easy...

Words: 1810 - Pages: 8

Premium Essay

Cmoputer

...Programming Development Select and complete one of the following assignments: Option 1: Programming Solution Option 2: Personal Learning Management Option 1: Programming Solution Part 1: Programming Solution Proposal Select a problem in your workplace that requires a programming solution. Instead of a workplace, you may use another organization to which you belong, such as a house of worship, a local library, or a sports league. You may also use one of the Virtual Organizations as your model. Write a 2- to 3-page proposal in which you do the following: • Describe how you determined the problem that must be solved. • Describe the role of the personnel involved in the project. • Explain the process of solving the problem and developing the program in terms of the programming development cycle. • Explain how you would take a modular approach to the program solution and why it is important. • Provide appropriate references to support the points in your paper. Format your paper consistent with APA guidelines. Part 2: Selection Structure Paper Use the Part 1: Programming Solution Proposal you developed in Week Two and select one section of the proposal that requires a selection structure. Write a 2- to 3-page paper describing the purpose of that structure and write the pseudocode for that structure. Examine any iteration control structure. If the program you described in Week Two does not lend itself well to the inclusion of a selection...

Words: 972 - Pages: 4

Premium Essay

Individual: Programming Solution Problem

...Bhavik Patel Individual: Programming Solution Problem It was my first time using the Visual Logic Program to create a program. Comparing to another program I have used before, Visual Logic was the easiest program to use. It was very easy to learn, and the tutorial on YouTube was very helpful. For this assignment, I had to create two programs that show any calculation or some math calculation. I’ve created a calculator in HTML and Java, and that was very difficult. I had to work hard to create the calculator but when I used Visual Logic to create a program calculation it was fairly easy. The two programs I create for this assignment are hours and rate and triangle calculation program. To create this program, it was fairly easy because by watching the YouTube videos I learned lot on how to use the program. On hours and rate calculation program it was fairly easy because the calculation was very simple. In order to create this program first, you need to have an input for hours. It’s crucial that you do all the steps in order because when you write a real program you will need to go in order. You can never skip any steps because when you skip steps the whole program will not work. After you create the input for hours, then you need to create an input for rates. Then you need to create an assignment with the formula that you are going to use to get a solution for hours * rate. For the assignment, you will type in Pay = Hours * Rate this is the formula to get a pay for a person. After...

Words: 706 - Pages: 3

Free Essay

Calorie Management Program

...PRG/211 – Week 5 Team B – Algorithm Planning Visual Logic CALORIE MANAGEMENT PROGRAM Week 2 Algorithm Planning Week 3 Program Variables for Calorie Management Week 4 Verification & workaround for Calorie Management Week 5 Learning Team Assignment ****************************************************** About the Assignment Imagine that your team of software developers won a contract to develop a program that will identify whether a person is balancing calories consumed with those being expended or burned by taking the following into account:   The balance of calories is calculated daily. Calories are consumed in both food and beverages. Calories can be identified from both product labeling and calorie counters located on the Internet. Calories are burned daily in both daily living and exercise. Calories expended or burned can be calculated using calorie calculators located on the Internet. The balance of calories may be displayed in either calories or pounds and ounces. The following are examples of the information that might be provided: Calories are in balance. _ _ _ more calories are consumed than expended. _ _ _ more calories are expended than consumed. No pounds/ounces were gained or lost. _ pounds _ _ ounces may have been gained. _ pounds _ _ ounces may have been lost. Use the following computation: One pound equals 3500 calories. THE PLAN Identify the criteria TEAM B will need to develop the required software. To do this, Team B must...

Words: 1400 - Pages: 6

Premium Essay

Its Making Put Something Here

...flowcharts and pseudo code. CO3: Write programs that perform input, processing, and output. Unit Learning Outcomes LO8: Determine program input, processing, and output stages. LO9: Create the necessary flowcharts to describe a program’s structure. LO10: Use pseudocode to define a program’s structure. LO11: Formulate solution algorithms for calculations by properly following the order of operations. Key Concepts ▪ Determining input, process, and output ▪ Creating flowcharts and pseudocode ▪ Formulating algorithms Reading ▪ Gaddis, Chapter 2: “Introduction to Computers and Programming,” pages 29-55 Resources: • Data Projector • ITT Virtual Library • Text Books • Visual Studio • Lab Computers • Student Removable Hard Drive • VM Ware Player Methods: • Lecture • Group Discussion • Lab Work • Review exercise / Research Papers • Quiz Brief Lesson Overview: Today’s lecture we would be discussing the following topics. • Discuss how all programs basically consist of a three-step process: input, process, and output. Use the payroll calculation program example from Figure 2.3 on page 34 of the textbook to illustrate this process. Ask students to think of and share other examples that follow this three-step process. • Discuss how a necessary input and process is used to achieve an output, which is not always very easy to determine...

Words: 895 - Pages: 4

Free Essay

Writing Rubric

...LANGUAGEScore: | A | Addresses purpose effectively, uses assignment to explore topic’s intrinsic interest, shows full understanding of issues, engages audience, establishes credibility, uses headings, format and citation in APA style (where relevant) effectively. | Focuses consistently on clearly expressed central idea, uses paragraph structure, and transition guide reader effectively. | Explores ideas vigorously, supports points fully using a balance of subjectivity and objective evidence, reasons effectively making useful distinctions. | Employs words with fluency, develops concise standard English sentences, balances a variety of sentence structures effectively. | B | Addresses purpose effectively, uses assignment to explore topic’s intrinsic interest, shows full understanding of issues, engages audience, establishes credibility, uses headings, format and citation in APA style (where relevant) effectively. | Central idea is clear, paragraph structure is adequate, some problems with consistency, logic or transitions. | Supports most ideas with effective examples and details, finds suitable balance between references to personal and external evidence, makes key distinctions. | Word forms are correct, sentence structure is effective, applies standard English grammar and mechanics. | C | Waivers in purpose, incompletely addresses assigned topics or directions, shows more need to examine issues, style varies, and visual presentation is ragged | Loose focus on central idea, contains...

Words: 370 - Pages: 2

Premium Essay

Visual Logic - Week 4

...Individual Visual Logic – Array Manipulation Elizabeth (Lisa) Guse PRG/211 October 3, 2015 Jennifer Sethman Individual Visual Logic – Array Manipulation This week for my individual assignment I have chosen to do an array on the number of units and the second task is to converting from Fahrenheit to Celsius or the reverse over temperatures for several days. Each task will include inputting values; perform a calculation on the values and the output value. Converting from Fahrenheit to Celsius or the reverse over temperatures for several days Description: This program converts temperature from Celsius to Fahrenheit or from Fahrenheit to Celsius of 7 days depending upon user choice. Pseudo-code: Begin Declare Option as integer Display “Convert Fahrenheit to Celsius or the reverse over temperature for several days.”<Enter><Enter> Display “Select: “<Enter> Display “1. To convert Fahrenheit to Celsius.” Display “2. To convert Celsius to Fahrenheit.” <Enter><Enter> Display “Option selected: “ Input Option Display <Enter><Enter> If Option = 1 then For Day = 1 to 7 Display “Enter temperature in Fahrenheit for day “ + Day +”: “ Input Temperature(Day) End For Else For Day = 1 to 7 Display “Enter temperature in Celsius for day “ + Day +”: “ Input Temperature(Day) End For End If If Option = 1 then Display <Enter>“Conversion list from Celsius to Fahrenheit:” <Enter><Enter> For Day = 1 to...

Words: 323 - Pages: 2

Free Essay

Huanghexiao

...U. Seyler The Purdue OWL Ball Point online URL http://goo.gl/nMnnb MATERIALS Two Pocket Folders Flash drives or what ever you need to save your work Course description: English 103: Rhetoric and Writing (3) Introduces and develops understanding of principles of rhetoric; basic research methods; elements, strategies, and conventions of persuasion used in constructing written and multi-modal texts. Prerequisite: appropriate placement.  Not open to students who have credit in ENG 101 or 102. Course Goals  * Understand that persuasion—both visual and verbal—is integral to reading and composing * Understand how persuasive visual and verbal texts are composed for different audiences and different purposes * Develop effective strategies of invention, drafting, and revision for different rhetorical situations and individual composing styles * Compose texts in various media using solid logic, claims, evidence, creativity, and audience awareness * Integrate primary and secondary research as appropriate to the rhetorical situation * Develop strategies for becoming more critical and careful readers of both their own and others’ texts * Demonstrate a professional attitude towards their writing by focusing on the need for appropriate format, syntax, punctuation, and spelling * Take responsibility for their own progress * Develop the ability to work well with others on composing tasks. Course Content and Format  The content and format...

Words: 1738 - Pages: 7

Premium Essay

Blank

...Presentation Rubric Group Name: ________________________________ Criteria | Unacceptable (3) | Acceptable (6) | Exceptional (10) | Score | Content and Citations | Does not meet research requirements.Does not use appropriate analysis.Insufficient use of evidence to support key points. Lacks appropriate source citations. | Fulfills research assignment. Reasonable analysis.Adequate use of specifics and evidence. Sources cited appropriately. | Research goes beyond minimum requirements. Strong analysis with excellent details. Uses multiple forms of evidence to support key points. Sources cited appropriately | 9 | Introduction and Conclusion | No clear introduction. Missing conclusion or not tied to analysis. Does not summarize points that brought the speaker to this conclusion. | Has a clear. Introduction. Adequate conclusion and summarizes the main points of the presentations. Conclusions drawn based on summarized points. | Has an effective introduction. Goes beyond "average" in delivering a conclusion that is very well documented and persuasive. | 10 | Verbal Quality and Pace of Presentation | Speaks too fast or too slow. Halting, uneven pace. Giggling or other inappropriate vocal behaviors interfere with the message. Speaks in a monotone voice. Complete lack of enthusiasm. | Articulation, volume, pace, and pronunciation are acceptable. Slightly monotone. Somewhat lacking in enthusiasm and assertiveness. | Fluid, natural delivery. Enthusiastic and assertive....

Words: 2975 - Pages: 12

Premium Essay

Pt1420 1

...Bradley Griffin Keith Warren PT1420 Unit 2 Assignment 1: Homework Short Answer: 1. If the problem is program assignment of some sort, than the first step would be to design the basis of the program in pseudocode to gain a clear picture of what kind of commands will work where, then move into flowcharting to start putting together the logic. b. If the problem is an issue in the code that is preventing it from executing, than the first thing that should be done is to look over the program for syntax errors and logic errors.  2. Pseudocode is fake code. This is where a programmer writes out the code without worry of syntax or logic errors to get a visual feel of how the program should unfold. 3. Input, Process, and Output 4. User-Friendly is a term used to describe programs that are easy to use. Algorithm Workbench: 1. A. Display “Height” B. Input height C. Display “Here is the height you entered:”, height 2. A. Display “Favorite Color” B. Input Favorite Color C. Display “Here is your favorite color you entered:”, color Programming Exercises: 1. Personal Information 1 Display “Name” 2 Input Name 3 Display “Here is the name you have entered:”, name 4 Display “Address with city, state, and ZIP” 5 Input address with city, state, and ZIP 6 Display “This is the address you have entered:”, address with city, state, and ZIP 7 Display “Telephone number” 8 Input telephone number 9 Display “This is the telephone number you have entered:”, telephone ...

Words: 277 - Pages: 2

Free Essay

Sylabus for Rhetoric

...your critical thinking skills. Rhetoric is the study and practice of how people communicate messages, not only in writing and speech, but also through visual and digital mediums. In this class, you will develop skills to analyze the way rhetoric, in its various forms, addresses audiences. By paying attention to the strategies that good writers and speakers use to persuade their particular audiences, you will learn to reason better and to persuade others in your own writing, both through rhetorical appeals and through analysis of audience, purpose, and exigency that is at the heart of the study of rhetoric. For RHET 1302, you will read and reread texts and write multi-draft essays. Practically speaking, you will learn skills that you can use in your future course work regardless of your major. Student Learning Objectives • Students will be able to write in different ways for different audiences. • Students will be able to write effectively using appropriate organization, mechanics, and style. • Students will be able to construct effective written arguments. • Students will be able to gather, incorporate, and interpret source material in their writing. Required Texts Rosenwasser, David and Stephen, Jill. Writing Analytically with Readings. Second edition. Thomson/Wadsworth, 2011. Fall 2011 Assignments and Academic Calendar |Wed, Aug 24 |Introduction to the Course ...

Words: 3351 - Pages: 14

Free Essay

Pt 1420

...PT 1420 Student Name:__________________ Introduction to Programming Winter 2014/2015 Instructor: Martin Remmele Unit 7 Homework Assignment Due by end of first break February 10, 2015 Learning Objectives and Outcomes NOTE: This section lists concepts and techniques to be understood from this unit. The actual assignment that you are to complete is found in the next section: “Assignment Requirements”. * Be able to Use pseudocode/flowcharts to represent repetition structures. * Be able to Create While, Do-While, and Do-Until conditional loops. * Be able to Describe the implications of an infinite loop. Assignment Requirements Complete the following exercises. An exercise that calls for an algorithm may be written in English as a series of steps. An exercise that calls for program statements may be written in a) the text’s pseudocode, b) your own preferred pseudocode notation or c) Visual Basic. (VB code can simply be typed into your Word document; it does not have to be created in the development environment.) The logic of the statements will be more important to the grade than the syntax. * Short Answer Review Questions 1-5, starting on page 213 (5 pts each) * Algorithm Workbench Review Questions 1, 2, 7, and 8, starting on page 213 (10 pts each) * Programming Exercises 1, 3, and 4, starting on page 214 (10 points each) Required Resources *...

Words: 310 - Pages: 2

Premium Essay

Philosophies

...appealing to me are the teaching methods and the educational goals. I think these elements are the most important elements to have as a speech therapist. These elements will influence me as speech therapists because it is important for me to help the children that I am working with get to their goal when it comes to education. It is also important for me to have a good method of working with my students so that they can know exactly what to do when they get to the real world. The methods of other philosophers I would like to incorporate would be progressivism, epistemology, and axiology. The best way that I learn as a student is visual and audio. I need to figure out how they learn so I can have a clear idea on how to teach my students. For example it can bring tape recorders for my audio learners, DVD’s that relates to the topic we are learning for my visual learners. Also textbooks for my students who would like to learn by reading. The way I would teach my children is by getting to know them as people. Do the job not just for the money but also for the students. I would also try to figure out how they learn so I can know how to teach each student individually rather than just assume that every student learns the same. I had my up’s and down’s with my educational experience. I came across some teachers that were really good at teaching and that I also had a connection with. Then there were other teachers who were good at teaching but not good at interacting with students or just...

Words: 742 - Pages: 3