Premium Essay

Homework Assignment 2

In: Computers and Technology

Submitted By trvs92
Words 307
Pages 2
Short Answers

1. The first thing a professional programmer will usually do to gain the understanding of a problem is to work directly with, and interview the customer.

2. An informal language that has no syntax rules, and is not meant to be compiled or
executed

3. Computer programs usually follow the following three steps:
1) Input is received.
2) Some process is performed on the input.
3) Output is produced.

4. Commonly known in the software business to describe programs that are easy to use.

Algorithm Workbench

1. Dim height as double = 0 Console.Writeline(“ Enter your height.”) Height = console.readline()

2.
Dim color as String = “NO VALUE”
Console.Writeline(“What is your favorite color?”)
Color = Console.Readline()

Programming Exercises

1. Personal Information

// declare variables
Name
Address
City
State
Zip
Phonenumber
Major

//prompt user for information and store as variables
Display “enter your name”
Input Name
Display “what is your address”
Input Address
Display “what city”
Input City
Display “what state”
Input State
Display ‘what is the zip code”
Input Zip
Display “What is your phone number”
Input Phonenumber
Display “What is your major”
Input Major
//Display the information back to user
Display name
Display address
Display city
Display state
Display zip
Display phonenumber
Display major

4. Total Purchase //declare variables
Itemone
Itemtwo
Itemthree
Itemfour
Itemfive

Subtotal
Salestax
Totalcost

//user input of item information
Display “what is the cost of item 1”
Input itemone
Display what is the cost of item 2
Input itemtwo
Display what is the cost of item 3
Input itemthree
Display what is the cost of item 4
Input itemfour
Display what is the cost of item 5
Input itemfive

//calculate the subtotal, salestax and...

Similar Documents

Premium Essay

Biol101 Homework Assignment 2

...B) Stem cells. A relative of a friend of yours had a spinal cord injury after a bad car accident. The medical team has decided that this patient is a good candidate for a clinical trial using stem cell therapy. Your friend has not had a biology course since high school, so you are going to write for him or her a two-page discussion of stem cell information. In your discussion, include a description of the biology of stem cells, and explain how these cells are unique in their ability to treat diseases and injury. The following website from NIH regarding stem cell research will be very helpful: http://stemcells.nih.gov/index.asp. Before we determine how stem cells can treat various diseases including spinal cord injuries, let us first understand the root of a spinal cord injury. The spinal cord is an extension of the central nervous system that establishes a structural connection between the brain and the other structures of the body (e.g., arms and legs, bowel, bladder) through nerve fibers. A clear fluid called Cerebral Spinal Fluid (CSF) that acts as a cushion to protect the delicate nerve tissues against damage from banging against the inside of the vertebrae surrounds the spinal cord. The vertebrae is made up of thirty-three bones, each with a circular opening similar to the hole in a donut. (“Spinal Cord Injury: Hope Through Research" NINDS. Publication date August 2003) The central nervous system is organized in a way that allows certain parts of the spinal cord...

Words: 827 - Pages: 4

Free Essay

Mat 510 Week 2 Homework Assignment 2

...MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 To purchase this visit following link: http://www.activitymode.com/product/mat-510-week-2-homework-assignment-2/ Contact us at: SUPPORT@ACTIVITYMODE.COM MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 MAT510 Homework Assignment 2 Strayer Due in Week 2 and worth 30 points Answer the following questions in the space provided below: Explain the importance of variation to health-care organizations and answer the following questions. 1. a. What might be the key processes for health-care organizations? 2. b. key processes of health-care organizations What are the potential common causes of variation that would have an impact on the? 3. c. What special causes might be more important than the others? 4. d. How might health-care organizations’ business environment be dynamic and change over time? Activity Mode aims to provide quality study notes and tutorials to the students of MAT 510 Week 2 Homework Assignment 2 in order to ace their studies. MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 To purchase this visit following link: http://www.activitymode.com/product/mat-510-week-2-homework-assignment-2/ Contact us at: SUPPORT@ACTIVITYMODE.COM MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 MAT510 Homework Assignment 2 Strayer Due in Week 2 and worth 30 points Answer the following questions in the space provided below: Explain the importance of variation to health-care organizations and answer the following questions. 1. a. What might...

Words: 1631 - Pages: 7

Free Essay

Mat 510 Week 2 Homework Assignment 2

...MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 To purchase this visit following link: http://www.activitymode.com/product/mat-510-week-2-homework-assignment-2/ Contact us at: SUPPORT@ACTIVITYMODE.COM MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 MAT510 Homework Assignment 2 Strayer Due in Week 2 and worth 30 points Answer the following questions in the space provided below: Explain the importance of variation to health-care organizations and answer the following questions. 1. a. What might be the key processes for health-care organizations? 2. b. key processes of health-care organizations What are the potential common causes of variation that would have an impact on the? 3. c. What special causes might be more important than the others? 4. d. How might health-care organizations’ business environment be dynamic and change over time? Activity Mode aims to provide quality study notes and tutorials to the students of MAT 510 Week 2 Homework Assignment 2 in order to ace their studies. MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 To purchase this visit following link: http://www.activitymode.com/product/mat-510-week-2-homework-assignment-2/ Contact us at: SUPPORT@ACTIVITYMODE.COM MAT 510 WEEK 2 HOMEWORK ASSIGNMENT 2 MAT510 Homework Assignment 2 Strayer Due in Week 2 and worth 30 points Answer the following questions in the space provided below: Explain the importance of variation to health-care organizations and answer the following questions. 1. a. What might...

Words: 1631 - Pages: 7

Premium Essay

Bsop 209 Week 2 Homework Assignment

...BSOP 209 Week 2 Homework Assignment To Buy This material Click below link http://www.uoptutors.com/bsop-209/bsop-209-week-2-homework-assignment 4.24 Howard Weiss, owner of a musical instrument distributorship, thinks that demand for bass drums may be related to the number of television appearances by the popular group Stone Temple Pilots during the previous month. Weiss has collected the data shown in the following table: Stone Temple Pilot’s TV Appearances | Demand for Bass Drums | 3 | 3 | 4 | 6 | 7 | 7 | 6 | 5 | 8 | 10 | 5 | 7 | a)    Graph these data to see whether a linear equation might describe the relationship between the group’s television shows and bass drum sales. b)   Use the least-squares regression method to derive a forecasting equation. c)    What is your estimate for bass drum sales if the Stone Temple Pilots performed on TV nine times last month? d)   What are the correlation coefficient (r) and the coefficient of determination (r2) for this model, and what do they mean? 4.46 Thirteen students entered the business program at Hillcrest College 2 years ago. The following table indicates what each student scored on the high school SAT math exam and their grade-point averages (GPAs) after students were in the Hillcrest program for 2 years. Student | SAT Score | GPA | A | 421 | 2.90 | B | 377 | 2.93 | C | 585 | 3.00 | D | 690 | 3.45 | E | 608 | 3.66 | F | 390 | 2.88 | G | 415 | 2.15 | H | 481 | 2.53 | I | 729 | 3.22 | J...

Words: 315 - Pages: 2

Premium Essay

Bsop 209 Week 2 Homework Assignment

...BSOP 209 Week 2 Homework Assignment To Buy This material Click below link http://www.uoptutors.com/bsop-209/bsop-209-week-2-homework-assignment 4.24 Howard Weiss, owner of a musical instrument distributorship, thinks that demand for bass drums may be related to the number of television appearances by the popular group Stone Temple Pilots during the previous month. Weiss has collected the data shown in the following table: Stone Temple Pilot’s TV Appearances | Demand for Bass Drums | 3 | 3 | 4 | 6 | 7 | 7 | 6 | 5 | 8 | 10 | 5 | 7 | a)    Graph these data to see whether a linear equation might describe the relationship between the group’s television shows and bass drum sales. b)   Use the least-squares regression method to derive a forecasting equation. c)    What is your estimate for bass drum sales if the Stone Temple Pilots performed on TV nine times last month? d)   What are the correlation coefficient (r) and the coefficient of determination (r2) for this model, and what do they mean? 4.46 Thirteen students entered the business program at Hillcrest College 2 years ago. The following table indicates what each student scored on the high school SAT math exam and their grade-point averages (GPAs) after students were in the Hillcrest program for 2 years. Student | SAT Score | GPA | A | 421 | 2.90 | B | 377 | 2.93 | C | 585 | 3.00 | D | 690 | 3.45 | E | 608 | 3.66 | F | 390 | 2.88 | G | 415 | 2.15 | H | 481 | 2.53 | I | 729 | 3.22 | J...

Words: 315 - Pages: 2

Premium Essay

Acct 550 Week 2 Homework Assignment

...ACCT 550 Week 2 Homework Assignment To Buy This material Click below link http://www.uoptutors.com/acct-550/acct-550-week-2-homework-assignment E4-4 (Multiple-Step and Single-Step) Two accountants for the firm of Allen and Wright are arguing about the merits of presenting an income statement in a multiple-step versus a single-step format. The discussion involves the following 2012 information related to Webster Company ($000 omitted). Administrative expense | | Officers’ salaries | $ 4,900 | Depreciation of office furniture and equipment | 3,960 | Cost of goods sold | 63,570 | Rent revenue | 17,230 | Selling expense | | Transportation-out | 2,690 | Sales commissions | 7,980 | Depreciation of sales equipment | 6,480 | Sales revenue | 96,500 | Income tax expense | 7,580 | Interest expense | 1,860 | Instructions (a) Prepare an income statement for the year 2012 using the multiple-step form. Common shares outstanding for 2012 total 40,550 (000 omitted). (b) Prepare an income statement for the year 2012 using the single-step form. (c) Which one do you prefer? Discuss. E4-12 (Earnings per Share) At December 31, 2011, Schroeder Corporation had the following stock outstanding. 8% cumulative preferred stock, $100 par, 107,500 shares | $10,750,000 | Common stock, $5 par, 4,000,000 shares | 20,000,000 | During 2012, Schroeder did not issue any additional common stock. The following also occurred during 2012. Income from continuing operations......

Words: 463 - Pages: 2

Free Essay

Unit 2 Assignment 1 : Homework

...programmer usually begins by creating a design of the program to gain an understanding of the problem. 2. Pseudocode is a fake code. 3. The three steps that the computer programs typically perform are input is received, some process is performed on the input, and output is produced. 4. “user friendly” means programs that are easy to use. Algorithm Workbench 1. Display “What is your height?” Input height Display “Here is the height you entered:” Display height 2. Display “What is your favorite color?” Input color Display “Here is the color you entered:” Display color Programming Exercise 1.Personal Information Display “What is your name?” Input name Display “What is your address, city, state, and zip?” Input address, city, state, zip Display “What is your telephone number?” Input telephoneNumber Display “What is your college major?” Input collegeMajor Display name,address,city,state,zip,telephoneNumber,collegeMajor 2. Sales Prediction Display “Enter the projected amount of total sales” Input totalSales Set dollars =0.23 Display totalSales*setdollars 3. Land Calculation Display “Enter total square feet of land” Input squareFeet Set 43,560 == one acre Declare / squareFeet by 43,560 to get acres 4 Total Purchase Display “What is the price of this item” Input price Display “What is the price of item 2” Input price 2 Display “What is the price of item 3” Input price3 Display “What is the price of item......

Words: 264 - Pages: 2

Premium Essay

Unit 2 Assignment 1: Homework

...Short Answers Page 71 1. What does a professional programmer usually do first to gain an understanding of a problem? They begin by creating a design of the program. 2. What is pseudocode? Programs used during the design process 3. Computer programs typically perform what three steps? Input process output 4. What does the term “user-friendly” mean? Programs that are easy to use Algorithm Workbench 1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height. 1. Dim Height As Double 2. Console.writeline(“Enter your Height:”) Save height as 3. Height = Console.readline() 4. Console.writeline(“Your Height Is: “ & Height) 5. Console.writeline(“Press Enter To Close.”) 6. Console.writeline() 2. Design an algorithm that prompts the user to enter his or her favorite color and stores the user’s input in a variable named color. 1. Dim Color As Double 2. Console.write(“Enter Your Favorite Color:”) Save color as 3. color = Console.readline() 4. Console.writeline(“Your Favorite Color Is: “&color) 5. Console.writeline(“Press Enter To Close.”) 6. Console.readline() Programming Exercises 1. Personal Information Design a program that displays the following information: Your name Your address, with city, state, and ZIP Your telephone number Your college major Dim Color As Double Console.write(“Enter Your Name:”) Name = Console.readline() Console.write (“Enter your......

Words: 441 - Pages: 2

Premium Essay

Pt1420 Unit 2 Assignment 1: Homework

...programmer usually does first in programming is design flowcharts and pseudocode which will help with process. 2.) Pseudocode code is a fake code used as a model for programs; it has no syntax rules and is well written making it easy to translate to actual codes. 3.) Computer programs typically perform a three step process 1 input is received, 2 some process is performed on the input, 3 output is produced. 4.) “User-friendly” is commonly used in the software business to describe programs that are easy to use. Algorithm Workbench: 1.) 1 Display “Height” 2 Input height 3 Display “here is the height that you entered:”, height 2.) 1 Display “Favorite color” 2 Input favorite color 3 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 10 Display “College Major” 11 Input college major 12 Display “This is the college major you have entered:”, college major 4.) Total Price 1 Display “enter the items original price” 2 Input originalPrice 3 Set SalePrice = OriginalPrice * 0.06 4 Display “the sale price is $”,...

Words: 251 - Pages: 2

Premium Essay

Acc 557 Complete Assignments 1 , 2 and 3 to Purchase All Assignments Please Follow the Link Below/ Homework-Aid

...ACC 557 Complete Assignments 1 ,2 and 3 To Purchase all Assignments please follow The Link Below http://www.homework-aid.com/ACC-557-Complete-All-Assignments-12-3-Strayer-152.htm ACC 557 Assignment 1: Review of Accounting Ethics Purchase Assignment 1 here Many organizations have been in the news over the past few years due to accounting ethical breaches that have affected their customers, employees, or the general public. Search the Internet or the Strayer Library to locate a story in the news that depicts an accounting ethical breach. You may select from any type of organization about which you have information or a curiosity. Write a four to five (4-5) page paper in which you: Given the corporate ethical breaches in recent times, assess whether or not you believe that the current business and regulatory environment is more conducive to ethical behavior. Provide support for your answer. Based on your research, describe the organization, the accounting ethical breach and the impact to the organization related to ethical breach. Determine how the organizational ethical issue was detected and how management failed to create an ethical environment. Analyze the accounts impacted and / or accounting guidelines violated and the resulting impact to the business operation. As a CFO, recommend which measures could have been taken to prevent this ethical breach and how each measure should be implemented in the future. Use at least FIVE (5) quality academic......

Words: 1366 - Pages: 6

Premium Essay

Week 2 Homework Assignment: What Cultural Factors Must U.S. Sports Franchises Overcome to Increase Popularity Abroad? Why? How Can Franchises Ensure Their Products Are Appropriate for International Markets? Should

...Jenell Obie Nov. 9, 2014 Professor Daryl Fields Homework Assignment #2  Sports are very important part of the culture of the United States. When planning to expend a U.S franchise overseas, you need to think of all the factors of local cultures and have a plan to be able to overcome those factors to increase popularity abroad. To be able to attract new athletes, you must understand the cultural differences of their countries. So when taking sport franchises overseas is to make sure we understand the social structures, religion, manners, customs, values, attitudes, language, and personal communication. Just because it’s popular here in America doesn’t mean it will be a hit in other countries. There are many cultures abroad, and it’s nearly impossible to predict what all those cultures will enjoy. Market research comes into play heavily when deciding to take our sports overseas. Now, as the U.S. sport franchises try and go global they are scouting and recruiting foreign athletes, which makes not only that team but also it might make that sport popular with that country of which these foreign players come from. Just like with any business wanting to go global they have to be willing to adapt to that countries customs and rules, for sports it might mean how they play the sport or the rules of the sport and the overall sportsmanship. The most important thing I believe franchises should do to ensure their product is appropriate is to first see if their product is adaptable......

Words: 706 - Pages: 3

Premium Essay

Accounting 557 Entire Course (Str)

...Course (STR) ACC 557 Week 3 Assignment 1 - Review of Accounting Ethics ACC 557 Week 6 Assignment 1 - You Are an Entrepreneur! ACC 557 Week 10 Assignment 2 - You Are an Investment Analyst Including All Weeks Quizzes and Homework Accounting 557 Entire Course (STR) To purchase this tutorial visit here: http://mindsblow.us/question_des/Accounting557EntireCourseSTR/2804 contact us at: help@mindblows.us Accounting 557 Entire Course (STR) ACC 557 Week 3 Assignment 1 - Review of Accounting Ethics ACC 557 Week 6 Assignment 1 - You Are an Entrepreneur! ACC 557 Week 10 Assignment 2 - You Are an Investment Analyst Including All Weeks Quizzes and Homework Accounting 557 Entire Course (STR) To purchase this tutorial visit here: http://mindsblow.us/question_des/Accounting557EntireCourseSTR/2804 contact us at: help@mindblows.us Accounting 557 Entire Course (STR) ACC 557 Week 3 Assignment 1 - Review of Accounting Ethics ACC 557 Week 6 Assignment 1 - You Are an Entrepreneur! ACC 557 Week 10 Assignment 2 - You Are an Investment Analyst Including All Weeks Quizzes and Homework Accounting 557 Entire Course (STR) To purchase this tutorial visit here: http://mindsblow.us/question_des/Accounting557EntireCourseSTR/2804 contact us at: help@mindblows.us Accounting 557 Entire Course (STR) ACC 557 Week 3 Assignment 1 - Review of Accounting Ethics ACC 557 Week 6 Assignment 1 - You Are an Entrepreneur! ACC 557 Week 10 Assignment 2 - You Are an Investment......

Words: 1473 - Pages: 6

Premium Essay

Acct 301 Homework Assignments Week 1 to 7

...ACCT 301 HOMEWORK ASSIGNMENTS WEEK 1 TO 7 To purchase this visit following link: http://www.activitymode.com/product/acct-301-homework-assignments-week-1-to-7/ Contact us at: SUPPORT@ACTIVITYMODE.COM ACCT 301 HOMEWORK ASSIGNMENTS WEEK 1 TO 7 ACCT 301 Homework Assignments Week 1 To 7 ACCT 301 Week 1 Homework (Problems & Solutions) ACCT 301 Week 2 Homework (Problems & Solutions) ACCT 301 Week 3 Homework (Problems & Solutions) ACCT 301 Week 4 Homework (Problems & Solutions) ACCT 301 Week 5 Homework (Problems & Solutions) ACCT 301 Week 6 Homework (Problems & Solutions) ACCT 301 Week 7 Homework (Problems & Solutions) Activity mode aims to provide quality study notes and tutorials to the students of ACCT 301 Homework Assignments Week 1 To 7 in order to ace their studies. ACCT 301 HOMEWORK ASSIGNMENTS WEEK 1 TO 7 To purchase this visit following link: http://www.activitymode.com/product/acct-301-homework-assignments-week-1-to-7/ Contact us at: SUPPORT@ACTIVITYMODE.COM ACCT 301 HOMEWORK ASSIGNMENTS WEEK 1 TO 7 ACCT 301 Homework Assignments Week 1 To 7 ACCT 301 Week 1 Homework (Problems & Solutions) ACCT 301 Week 2 Homework (Problems & Solutions) ACCT 301 Week 3 Homework (Problems & Solutions) ACCT 301 Week 4 Homework (Problems & Solutions) ACCT 301 Week 5 Homework (Problems & Solutions) ACCT 301 Week 6 Homework (Problems & Solutions) ACCT 301 Week 7 Homework (Problems & Solutions) Activity mode aims to provide quality study notes and tutorials to the......

Words: 631 - Pages: 3

Premium Essay

Bshs 312 Uop Tutorial, Bshs 312 Uop Homework

...to Purchase Homework http://www.homeworkbasket.com/BSHS-312/BSHS-312-Complete-Course BSHS 312 Week 1 DQ 1 BSHS 312 Week 1 DQ 2 BSHS 312 Week 2 DQ 1 BSHS 312 Week 2 DQ 2 BSHS 312 Week 2 Individual Assignment Self Management Behavior Contract BSHS 312 Week 3 DQ 1 BSHS 312 Week 3 DQ 2 BSHS 312 Week 3 Individual Assignment Site Visit Report BSHS 312 Week 3 Learning Team Assignment Presentation on Model or Theory of Helping BSHS 312 Week 3 Learning Team Behavioral Cognitive Tools Beck Depression Inventory BSHS 312 Week 4 DQ 1 BSHS 312 Week 4 DQ 2 BSHS 312 Week 4 Learning Team Assignment Major Systems Theories BSHS 312 Week 4 Learning Team Assignment Paper Cognitive Interventions BSHS 312 Week 5 DQ 1 BSHS 312 Week 5 DQ 2 BSHS 312 Week 5 Individual Assignment Paper Personal Model of Helping BSHS 312 Week 5 Learning Team Assignment Annotated Bibliography BSHS 312 Week 5 Learning Team Assignment Report on Family Systems Tools BSHS 312 Week 5 Learning Team Assignment Stages of Change Theory and Model For More Homework Goto http://www.homeworkbasket.com BSHS 312 Week 1 DQ 1 Click Below URL to Purchase Homework http://www.homeworkbasket.com/BSHS-312/BSHS-312-Week-1-DQ-1 Why is it important for human services workers, and the professionals they assist, to have a theoretical framework for helping and creating change? For More Homework Goto http://www.homeworkbasket.com BSHS 312 Week 1 DQ 2 Click Below URL to Purchase Homework http://www...

Words: 619 - Pages: 3

Premium Essay

Mat 540 Entire Course Latest Strayer

...COURSE LATEST STRAYER MAT 540 WK 1 Homework Chapter 1,11 MAT 540 WK 1 Quiz 1 Chapter 1,11 MAT 540 WK 2 Homework Chapter 12 MAT 540 WK 2 Quiz 2 Chapter 11,12 MAT 540 WK 3 Assignment 1 – JET Copies Case Problem MAT 540 WK 3 Homework Chapter 14 MAT 540 WK 4 Assignment 2 – Internet Field Trip MAT 540 WK 4 Homework Chapter 15 MAT 540 WK 5 Midterm Exam MAT 540 WK 6 Homework Chapter 2 MAT 540 WK 6 Quiz 3 Chapter 2 MAT 540 WK 7 Assignment 3 Case Problem – Julia’s Food Booth MAT 540 WK 7 Homework Chapter 3 MAT 540 WK 8 Homework Chapter 4 MAT 540 WK 8 Quiz 4 Chapter 4 MAT 540 WK 9 Homework Chapter 5 MAT 540 WK 9 Quiz 5 Chapter 9 MAT 540 WK 10 Assignment 4 Case Problem – Stateline Shipping and Transport Company MAT 540 WK 10 Homework Chapter 6 MAT 540 WK 11 Final Exam Course Home Work aims to provide quality study notes and tutorials to the students of MAT 540 Entire Course Latest Strayer in order to ace their studies. MAT 540 ENTIRE COURSE LATEST STRAYER To purchase this visit following link: https://coursehomework.com/product/mat-540-entire-course-latest-strayer/ Contact us at: HELP@COURSEHOMEWORK.COM MAT 540 ENTIRE COURSE LATEST STRAYER MAT 540 WK 1 Homework Chapter 1,11 MAT 540 WK 1 Quiz 1 Chapter 1,11 MAT 540 WK 2 Homework Chapter 12 MAT 540 WK 2 Quiz 2 Chapter 11,12 MAT 540 WK 3 Assignment 1 – JET Copies Case Problem MAT 540 WK 3 Homework Chapter 14 MAT 540 WK 4 Assignment 2 – Internet Field Trip MAT 540 WK 4 Homework Chapter 15 MAT 540 WK 5......

Words: 667 - Pages: 3