Premium Essay

Visual Logic - Week 4

In:

Submitted By eguse
Words 323
Pages 2
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 7 Set Celsius = (Temperature(Day) – 32)/1.8 Display Temperature(Day)+ “F = “ + Celsius + “C”<Enter><Enter>
End For Else Display <Enter>“Conversion list from Fahrenheit to Celsius:” <Enter><Enter>
For Day = 1 to 7 Set Fahrenheit = (Temperature(Day)*1.8) +32 Display Temperature(Day)+ “C = “ + Fahrenheit + “F”<Enter><Enter>
End For End If

Similar Documents

Free Essay

Prg 211 Entire Class Computer Programming

...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 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 ...

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...

Words: 1735 - Pages: 7

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

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

Free Essay

Selection Paper

...Selection Structure Paper Given the following task: 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 structure, create a new example of a selection structure. Create a Visual Logic flowchart that parallels this pseudocode. Test the flowchart to make sure that it executes properly and produces correct results. Submit the paper and the Visual Logic file. Format your paper consistent with APA guidelines. The process of selection is a way for the computer to interact with the user and to be able to understand how to make choices based on the user’s point of view or interest. Selection can be understood by computers by transforming such selections into algebraic equations, and from there into binary code which is the language that the computer understands, once the program is written, it will use a compilator, which acts as the translator between computer language and human language. The process of selection allows the user to choose what to do and then it gives options where to choose from, and it gives results which vary depending on the option selected by the user, when using the process of selection...

Words: 554 - Pages: 3

Free Essay

Cis115

...Week 7 iLab—Sales Tax TCO 3: Given a simple problem, design and desk-check a solution algorithm requiring a modular design that is expressed in terms of pseudocode or program notes, input-process-output (IPO) analysis, and flow chart. * TCO 7: Given a program with logic errors that is intended as a solution to a simple problem, employ debugging diagnostics to remove and correct the errors. TCO 8: Given a more complex problem, develop a complete solution that includes a comprehensive statement of the problem, complete program design, and program documentation. Scenario Your algorithm will write two functions called ComputeTotal( ) and ComputeTax( ). ComputeTotal( ) will receive the quantity of items purchased, and the unit price of each item. It will return the total sales (quantity times price). ComputeTax( ) will receive total sales as a number and the state as a string and return the amount of tax depending on the state. NJ requires 7% tax, FL requires 6% tax, and NY has 4% tax. The main program will ask for the name of the customer and read the name in a variable called name. It will also ask for one of the three states listed above. It will ask for the number of items sold and the unit price of the item. Main will then call ComputeTotal( ), passing the quantity and unit price. Main will then call ComputeTax( ), passing the state and the amount of sales and receive back the tax. Finally Main( ) will print out the total sales, the tax amount, and the total...

Words: 784 - Pages: 4

Free Essay

Discrete Math

...Course Design Guide MTH/221 Version 1 1 Course Design Guide College of Information Systems & Technology MTH/221 Version 1 Discrete Math for Information Technology Copyright © 2010 by University of Phoenix. All rights reserved. Course Description Discrete (as opposed to continuous) mathematics is of direct importance to the fields of Computer Science and Information Technology. This branch of mathematics includes studying areas such as set theory, logic, relations, graph theory, and analysis of algorithms. This course is intended to provide students with an understanding of these areas and their use in the field of Information Technology. 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. Instructor policies: This document is posted in the Course Materials forum. University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you attend class. If you have recently changed modalities, read the policies governing your current class modality. Course Materials Grimaldi, R. P. (2004). Discrete and combinatorial mathematics: An applied introduction. (5th ed.). Boston, MA: Pearson Addison Wesley. Article References Albert, I. Thakar, J., Li, S., Zhang, R., & Albert, R...

Words: 1711 - Pages: 7

Premium Essay

Its Making Put Something Here

...PT1420 Introduction to Programming Week-2 Lesson Plan TUE 6:00 PM to 10:30 PM Instructor: Tushar Patel (tspatel02@yahoo.com, tpatel@itt-tech.edu) CLASS: Topic: Unit 2: Software Program Design I Course Objectives Covered by This Unit CO2: Design programs by using 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...

Words: 895 - Pages: 4

Free Essay

Amena

...(including(the(use(of(words,(images,(and(sounds(to(tell(a(newsworthy(story.( The(journalist’s(role(in(news(selection(and(the(treatment(of(the(news(stories(is(examined( along(with(the(importance(of(journalistic(ethics.(The(course(also(explores(the(use(of(the( newly(emerging(social(and(convergent(medias.( ( Learning!Outcomes:! ( On(successful(completion(of(this(course,(students(will(be(able(to:( • • • • ! CLO(1(–(Discuss(basic(types(of(program(genres(and(formats(used(in(digital( broadcasting(across(various(media.(( CLO(2(–(Produce(news(packages(for(media(platforms((Radio,(television,(Internet,( smartphones)(using(digital(newsgathering(tools(and(techniques.(( CLO(3(–(Demonstrate(the(ability(of(visual(storytelling(across(convergent(media.(( CLO(4(–(Describe(various(roles(and(functions(in(a(news(production(operation,( including(assigning,(commissioning,(writing,(directing,(reporting(and(the( technical(aspects(of(editing(and(broadcasting.(( ( ! Faculty(of(Computer(Science(and(Applied(Communications((CISAC)( 1( ( ( How!the!student!will!be!learning:( The(teaching(and(learning(strategy(will(include(a(variety(of(workshops,(studio(based( exercises,(outdoor(shooting(trips,(post(production(sessions,(classroom(discussions,( critique(sessions(and(reflections(on(the(practice(and(principles(of(digital(broadcasting.(...

Words: 1445 - Pages: 6

Premium Essay

Bull

...Department of Information Technology ENDT200: Introduction to Programming Credit Hours: 3 Length of Course: 8 Weeks Prerequisite(s): None | Table of Contents | Instructor Information | Evaluation Procedures | Course Description | Grading Scale | Course Scope | Course Outline | Course Objectives | Policies | Course Delivery Method | Academic Services | Course Resources | Selected Bibliography | Instructor Information | Instructor: Jason T. Black, PhD (also called “Dr. B”) Email: Use the Messages feature in the classroom to email me. Table of Contents Course Description (Catalog) | This course introduces students to writing computer programs. The class presents the principles of structured programming using the BASIC language, perhaps the most common language for personal computers. Because of its ease of use it is ideal as a first programming language and runs on both the PC and Macintosh platforms. The course is designed for people without previous programming experience who do not necessarily plan on becoming professional programmers. However, the knowledge gained in the class can be applied later to other languages such as C and Java. Participants learn to solve problems logically by breaking them into smaller pieces, which can then be solved. Topics include: introduction to computing - how does a computer work?; input and output - getting information to and from the user; variables and expressions - performing arithmetic; data...

Words: 2708 - Pages: 11

Free Essay

Effective Study Habits Worksheet

...questions if it pertains to my studies. 2. List some of the distractions that might hinder your study progress or your performance in an online classroom. Some things that would distract me are my kids, phone calls, people knocking at my door or my dog barking outside. Text messages are a huge distraction for me because I am glued to my phone. I am a social media person Facebook use to be one of my biggest addictions but I have slowly let go of Facebook. I am only on occasionally each day. Work is a big distraction too, only because I work five days a week and my hours are very odd afternoon to late evenings. I feel as if I never have time to get anything don’t in the mornings and after work I am usually very tired so I eat and go to bed. That is going to be my biggest struggle. 3. What actions can you take to manage and eliminate distractions? Well school for my kids is about to start in a week or so, so that will take them out of the equation. I will be up every morning with them so I will have time to do my school work before I have to go to work. My phone I will just have to put it away for a while and just check it every so often incase there is an emergency and I need to go. Facebook is nothing to worry...

Words: 1150 - Pages: 5

Free Essay

Master

...Automated Inventory Management Project Report Chao Li Spring 2006 Abstract With rapid growth of human-computer interaction, more and more useful software are replacing human efforts. The system we propose in this report integrates the idea to automated , instead of manually, manage inventory of a restaurant’s liquor, meanwhile it can generate sales report, inventory report, etc, which all require human efforts previously. As a result, this new system can reduce possible human errors and provide accurate information of inventory at any point. Introduction Nowadays, more and more companies tend to use any available software to maintain information over a long term. We design the Automated Inventory Management System to approach this goal with features that help improve data consistency, maintain necessary inventory level. With these goals in mind, we decide to incorporate design philosophy as well as user friendly interface into the system, meanwhile to have powerful functions that manifest all the users’ requirements and needs. One concern is how to reflect inventory level as quick as possible, since the sales of liquor occupy a large proportion compared with the daily transactions of the entire restaurant. Therefore, liquor’s inventory level changes constantly. In order to monitor these changes over periods, the Automated Inventory Management System can efficiently and accurately accomplish it while provides other...

Words: 2794 - Pages: 12

Premium Essay

Student

...the text book. “An example of this ability is being ready to move quickly from thinking to action.” (John N. Gardner, 2011) I have viewed myself with the ability to dive right in to action after instruction. The other reason would be the entire definition of an accommodator in the text book. “If you are an accommodator, you prefer hands-on learning. You are skilled at making things happen, and you rely on your intuition. You like people, but you can be pushy and impatient at times, and you might use trial and error, rather than logic, to solve problems.” (John N. Gardner, 2011) I enjoy working with groups of people but have been told that I am impatient and sometimes pushy. I have viewed myself being a more effective learner with hands-on situations. * 2. After reading about the Myers-Briggs Type Indicator, determine which personality is most like you, such as ENTJ. * * This was an exercise we did in class during week two discussion. My personality was ESFJ which is Extraversion, Intuition, Feeling and Judging. After reviewing the text I might change Extraversion to Introversion. I have always been the person that would listen and think before I act. But as I stated in class, working in the group atmosphere at Harley-Davidson has made me become more of an extravert. * 3. List your results of the VARK and Multiple Intelligences Inventory learning assessments. * * VARK questionnaire: 1. Aural 2. Read/Write...

Words: 607 - Pages: 3

Premium Essay

Health Service

...Week 6 Discuss the differences between HIPAA and the Privacy Act of 1974. The Privacy Act protected identifiable medical records by determining the “legal authority for collecting and storing the records, individuals about whom records will be collected, what kinds of information will be collected, and how the records will be used.” It did not apply to or anticipate electronic records, and it only bound federal agencies. HIPAA applied to all electronic records and provided greater specificity regarding data collection and storage. Week 7 Name each of the six components of a computer system and indicate the function of each. Central Processing Unit (CPU)- is where the actual computing takes place which includes three major subcomponents: arithmetic/logic unit (ALU), control unit and registers. The speed and power of the CPU influences the computers capabilities. Primary Storage- is the internal memory where data is stored for access by the CPU Secondary Storage- consists of devices and media designed to maintain small or large quantities of data. Input Devices- is a way of entering data into the computer in different formats; keyboard, scanning and voice input. Users can select the input that meets their organization criteria in order to enter data. Output Devices- data is processed and can be used by the user via printed form, digitally for future processing, audio or spoken form. Outputs of healthcare managers are visual displays, printed documents and audio...

Words: 836 - Pages: 4

Premium Essay

Hbr Submission Guidelines

...Harvard Business Review The Harvard Business Review has one goal: to be the source of the best new ideas for people creating, leading, and transforming business. Since its founding in 1922, HBR has had a proud tradition as the world's preeminent management magazine, publishing cutting-edge, authoritative thinking on the key issues facing executives. HBR's articles cover a wide range of topics that are relevant to different industries, management functions, and geographic locations. They focus on such areas as leadership, organizational change, negotiation, strategy, operations, marketing, finance, and managing people. While the topics may vary, all HBR articles share certain characteristics. They are written for senior managers by experts whose authority comes from careful analysis, study, and experience. The ideas presented in these articles can be translated into action and have been tested in the real world of business. Proposals for articles demonstrating fresh thinking that advances previous knowledgewhose practical application has been thought through in clear, jargon-free languageare those most likely to meet our readers' needs. When evaluating an idea, our editors often look for two things firstwhat they call the aha!How compelling is the insight?and the so what?How much does this idea benefit managers in practice? The best way to inquire about HBR's potential interest in a topic is to prepare a proposal. It can be submitted by mail or electronically and should answer...

Words: 1262 - Pages: 6