Free Essay

Unit 2 Assignment 1 : Homework

In:

Submitted By alie02
Words 264
Pages 2
Short Answer 1. A professional 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 4” Input price 4 Display “What is the price of item 5” Input price 5 Set dollars= 0.06 Subtotal = price+price2+price3+price4+price5 Display Subtotal*Setdollar

Similar Documents

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

Words: 441 - Pages: 2

Premium Essay

Pt1420 Unit 2 Assignment 1: Homework

...Short Answer: 1.) The first thing a 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 ...

Words: 251 - Pages: 2

Free Essay

Network

...Network Technology and Service Integration Unit 1 Homework The following homework is designed to cover the course objectives for this unit. Assignment 1.1: Textbook/Workbook Assignments • Complete the following exercises and questions from Routers and Routing Basics: CCNA 3 Labs and Study Guide: Vocabulary Exercise: Matching on page 3 VLSM Subnetting a Subnet Exercises on pages 9-11 VLSM Addressing Design Scenarios 1-6 on pages 15-20 Summary Route Exercises on pages 21-24 Concept Questions on pages 25-27 VLSM Case Study on page 27 Internet Research on page 29 (Use the ITT Tech Virtual Library.) • Complete Chapter 9 Review Questions 2-7, 10, 14, 20-22 on pages 258-259 of Introduction to Telecommunications. Submit your written answers to your instructor at the beginning of Unit 2. . Assignment 1.2: Virtual Labs • Complete Virtual Labs 6, 7, and 8 from the CCNA 640-802 CCNA Simulator, which you can find by clicking through these paths: ICND1 Troubleshooting Scenarios Lab 6: IP Addressing and Routing. ICND1 Troubleshooting Scenarios ICND1 Part 4: Troubleshooting Labs Lab 7: IP Routing I ICND 2 Troubleshooting Scenarios Lab 13: IP Routing II Submit your written answers to your instructor at the beginning of Unit 2. ©ITT Educational Services, Inc: Date: 03/13/09 Network Technology and Service Integration Unit 2 Homework The following homework is designed to cover the course objectives for this unit. Assignment 2.1: Textbook/Workbook Assignments • Complete the following exercises and...

Words: 2825 - Pages: 12

Premium Essay

Diversity

...Learning, 2010; ISBN-13: 978-0-538-47808-3 Course Outline: Introduction Unit 1: Chapters 1, 4, 5 Chapter 1 – Exploring the World of Business and Economics Chapter 4 – Choosing a Form of Business Ownership Chapter 5 – Small Business, Entrepreneurship, and Franchises Unit Exam Unit 2: Chapters 9, 10, 11, 6, 7 Chapter 9 – Attracting and Retaining the Best Employees Chapter 10 – Motivating and Satisfying Employees and Teams Chapter 11 – Enhancing Union-Management Relations Chapter 6 – Understanding the Management Process Chapter 7 – Creating a Flexible Organization Unit Exam Unit 3: Chapters 12, 13, 14, 15 Chapter 12 – Building Customer Relationships Through Effective Marketing Chapter 13 – Creating and Pricing Products that Satisfy Customers Chapter 14 – Wholesaling, Retailing, and Physical Distribution Chapter 15 – Developing Integrated Marketing Communications Unit Exam Unit 4: Chapters 2, 18, 20, 3 Chapter 2 – Being Ethical and Socially Responsible Chapter 18 – Understanding Money, Banking, and Credit Chapter 20 – Understanding Personal Finances and Investments Chapter 3 – Exploring Global Business Unit Exam Final Exam (cumulative) Your final grade will be based on: Four Unit Exams 40% (10% each unit exam) Final Exam 20% Case Study 10% Questions of the Day 20% Homework and class participation 10% Grades: A=94-100 A-=90-93 B+=87-89 B=83-86...

Words: 1187 - Pages: 5

Free Essay

Dadsa

...log off PHYS 101 Exams UIUC Instructor Unit 3: Homework / Homework / Homework / Schulte, Elaine Student Homework: Hour Exam 3 Deadline: 100% until Thursday, November 21 at 8:00 AM Problems Print Assignment View Standard Exercise The Mass and The Spring 1 2 3 The Mass and The Spring Standard Exercise The Pendulum Standard Exercise The Hydraulic Lift Standard Exercise Archimedes and the King's Crown Standard Exercise The Garden Hose Standard Exercise The Guitar String A block of mass m = 5 kg is connected to a vertical spring as shown in the diagram. When the mass is at rest, the spring stretches y0 = 5 cm beyond its natural length lspring = 14 cm. Standard Exercise The Intense Speakers 1) For this system, in the vertical configuration, y0 = 5 cm gives the equilibrium position. False True Submit Hide Solution Standard Exercise The Speeding Car Standard Exercise Heating a Metal Strip Solution: This question asks about the effect of gravity on the equilibrium position of a spring. Remember that the effect of a gravitational force is to stretch the spring an amount Δx = mg/k. This stretch in the spring represents an offset in the natural (horizontal) equilibrium position of the spring. While the question is strangely worded, the answer is true, the change in position y0 = 5 cm represents the new equilibrium position. Standard Exercise Compressing a Gas 2) You pull straight down on the block with a...

Words: 3439 - Pages: 14

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

The Joys of Cheating

...Contract 1. Attendance – Science is a subject where everyday something new is being taught. If a student is absent, a note must be presented to his/her teacher when the student returns to class. This note must have information i.e. phone number, contact person and reason for absence. 2. Lateness – Lateness will be taken very seriously and will affect a student’s grade. Students are expected to come to class on time. If you come to class late you must sign the late log and provide the reason for your lateness (i.e. late pass) GRADING POLICY Every student has the right to see how their grade is calculated. In order to discuss individual grade calculations you can set up an appointment during your teacher’s office hours. Your science teacher will explain the grading policy during this meeting. Your child’s grades will also be available for you to view on line through a program called Pupil Path, www.Pupilpath.com Your child will receive the instructions and passwords for this within the first week of school. • Class participation –Class participation covers every aspect of a student’s behavior in the classroom. This includes the questions you ask, the comments you make, the notes you take, completion of class work, notebook check, presenting your reference tables and your prompt arrival to class. Students are expected to remain on task while in class and are accountable for their conduct. Class participation is 20% of your grade • Homework – Homework...

Words: 1313 - Pages: 6

Free Essay

Capstone

...Course GRADED ASSIGNMENTS Table of Contents Graded Assignments 4 Unit 1 Journal 1: Personal Narrative 4 Unit 1 Journal 1: Personal Narrative Handout 6 Unit 1 Journal 2: Civic Narrative 9 Unit 1 Journal 2: Civic Narrative Handout 11 Unit 1 Assignment 1: What Would You Do? 12 Unit 2 Journal 1: Personal Narrative 13 Unit 2 Journal 1: Personal Narrative Handout 15 Unit 2 Journal 2: Civic Narrative 19 Unit 2 Journal 2: Civic Narrative Handout 20 Unit 2 Journal 3: Article Response 22 Unit 2 Assignment 1: What Would You Do? 23 Unit 2 Assignment 2: Declaration of Independence and Public Safety 25 Unit 3 Journal 1: Car Commercials 26 Unit 3 Journal 2: Personal Narrative 27 Unit 3 Journal 2: Personal Narrative Handout 28 Unit 3 Journal 3: Civic Narrative 31 Unit 3 Journal 3: Civic Narrative Handout 32 Unit 3 Journal 4: Taste vs. Judgment 34 Unit 3 Presentation 1: What Would You Do? 35 Unit 3 Assignment 1: Habits That Hinder Thinking 36 Unit 4 Journal 1: Invention Exercise 37 Unit 4 Journal 1: SWOT Analysis Template 38 Unit 4 Journal 2: Personal Narrative 39 Unit 4 Journal 2: Personal Narrative Handout 41 Unit 4 Journal 3: Civic Narrative 43 Unit 4 Journal 3: Civic Narrative Handout 44 Unit 4 Assignment 1: What Would You Do? 46 Unit 4 Assignment 2: Invention White Paper 47 Unit 5 Journal 1: Personal Narrative 48 Unit 5 Journal 1: Personal Narrative Handout 49 Unit 5 Journal 2: Civic Narrative 51 Unit 5 Journal 2: Civic Narrative...

Words: 30149 - Pages: 121

Premium Essay

Sylubus

...ANTHROPOLOGY 101 Introduction to Cultural Anthropology Queens College / CUNY, Spring 2015 TuTh 12:15-1:30PM, Kiely 150 Professor: Ramona Lee Pérez, PhD Email: ramona.perez@qc.cuny.edu Office hours: Th 2-3 PM, PH 315H COURSE DESCRIPTION This course is an introduction to the range of human diversity through an exploration of the peoples of the world. We will cover the basic concepts, theories, and methods that anthropologists use to study variations in cultural norms and social practices, economic systems and rules of law, social organization and patterns of inequality, identity and worldview, and patterns of social and cultural change. Focusing on the culture concept and the method of ethnography, we begin with the historical foundations of anthropology and then follow its attempts to understand contemporary human cultures. Comparative analysis of multiple ethnographic case studies and major theoretical approaches illuminates the range of human diversity, the forces that shape cultures, and how people adapt to a rapidly changing modern world. The central objectives of this course are to develop your intellectual skills, your cross-cultural fluency, and your sense of civic and moral engagement in global society. I hope that this course inspires many of you to become anthropology majors or minors, and grants each of you an anthropological perspective on your own life. REQUIREMENTS This is an intensive course that requires full participation from every student...

Words: 9454 - Pages: 38

Free Essay

Resume

...obligations for businesses. Topics include: creation and evolution of laws, court decision processes, legal business structures, sales contracts, commercial papers, Uniform Commercial Code, and risk-bearing devices. ------------------------------------------------- Course Competencies Upon successful completion of this class, each student should be able to: Creation and Evolution of Laws Court Decision Processes Legal Business Structures Sales Contracts Commercial Papers Risk-Bearing Devices Uniform Commercial Code ------------------------------------------------- Required Materials Text: Law for Business, 18th ed. By Ashcroft & Ashcroft - ISBN 978-1-1335-8761-3 ------------------------------------------------- Evaluation Process All assignments must be typed. Assignments are due on the date provided by the...

Words: 3666 - Pages: 15

Free Essay

Devry Gscm 330 Complete Course-Latest 2015 December

...Devry GSCM 330 Complete Course-Latest 2015 December (All Discussisons All Quizes And All Lab Homework But No Final) IF You Want To Purchase A+ Work then Click The Link Below For Instant Down Load http://www.hwspeed.com/Devry-GSCM-330-Complete-Course-Latest-2015-December-2234123463.htm?categoryId=-1 IF You Face Any Problem Then E Mail Us At JOHNMATE1122@GMAIL.COM Question week 1 Master Planning (graded) How does master planning affect the overall organization? Why is this a necessary part of the overall management process of an organization? Planning Horizons (graded) What are time horizons as used in the corporate planning process? How do these horizons affect our forecasting processes? let’s first considertime horizons as used in the corporate planning process. What are these horizons and how do they affect our forecasting processes? week 2 Which forecast error measuring tool is the best? (graded) Of the four error tracking tools we have learned about in our assigned textbook reading (MAD, MSE, MAPE and seasonality), which method provides the best way to track forecast error? Give examples. Is it possible to forecast seasonal products without removing the seasonal variations? (graded) We calculate a seasonal index in order to remove the seasonal component before creating a forecast. Is it possible to remove this step and create a forecast with the seasonal variation still in place? Why or why not? Explain. whether it...

Words: 1783 - Pages: 8

Premium Essay

Acc 560 Course Extraordinary Success/ Tutorialrank.Com

...ACC 560 Week 1 Homework Chapter 1 (E1-5, E1-9, E1-10 and E1-2A) For more course tutorials visit www.tutorialrank.com ACC 560 Week 1 Homework Chapter 1 (E1-5, E1-9, E1-10 and E1-2A) E1-5 E1-5 Gala Company is a manufacturer of laptop computers. Various costs and expenses associated with its operations are as follows. 1. Property taxes on the factory building. 2. Production superintendents’ salaries. 3. Memory boards and chips used in assembling computers. 4. Depreciation on the factory equipment. 5. Salaries for assembly-line quality control inspectors. 6. Sales commissions paid to sell laptop computers. 7. Electrical components used in assembling computers. 8. Wages of workers assembling laptop computers. 9. Soldering materials used on factory assembly lines. 10. Salaries for the night security guards for the factory building. The company intends to classify these costs and expenses into the following categories: (a) Direct materials, (b) Direct labor, (c) Manufacturing overhead, (d) Period costs. List the items (1) through (10). For each item, indicate the cost category to which it belongs. E1-9 E1-9 An incomplete cost of goods manufactured schedule is presented below. Complete the cost of goods manufactured schedule for Hobbit Company. E1-10 E1-10 Manufacturing cost data for Copa Company arc presented below. Case A Case B Case C Direct materials used $ (a) $68,400 $130,000 Direct labor ...

Words: 10591 - Pages: 43

Premium Essay

Micrpeconomics

...BCO 116 Elementary Calculus 2Ch, 3 ECTS Academic Year 2015-2016 Course Description This course is an introduction to calculus and is intended to familiarize students with the mathematical thinking. It focuses on topics of calculus that are relevant to students in the managerial and business sciences. The main goals of the course are to develop technical skills allowing the analysis of real life problems, to provide the tools necessary to formulate, analyse and implement a simple quantitative model to support a business decision, and to understand articles and books on business analysis Starting with preliminaries to calculus, and limits, we follow with derivatives and its applications to real life problems, and integration. This course covers also functions with more than one variable, differential equations, and optimization. Basic requirement. Students must have a good background on algebra and arithmetic, as well as a good understanding of mathematical functions and their applications to practical problems. Course Objectives * To builds skills and proficiency in methods of calculus * To understand concepts, formulas and techniques of calculus through exercises and applied examples * To be able to translate real-world problems to mathematical language and models * To acquire ease in identifying the different kind of problem and the appropriated rule to solve it * To interpret results of calculus * To apply analytical methods of calculus...

Words: 1257 - Pages: 6

Free Essay

Undemanding Services

...Calculus 2 (BT) Homework Assignment #1 Spring 2015 Deadline: 8:00 AM on Thursday, March 26, 2015 Remarks: -Students hand in the solutions to the first 25 problems listed below: 20 problems of Chapter 1 and problems 1-5 of Chapter 2. -Students should show the solutions in A4 paper size. The solutions must be in the order as listed. Chapter 1: (20 problems) Section 9.1: 45. Section 9.2: 18, 27, 33, 53, 55. Section 9.3: 4, 5, 39, 42. Section 9.5: 4, 11, 21, 22. Section 9.6: 11, 22, 30, 37, 40, 53. Chapter 2: 1. Write down the augmented matrix, and then solve the following systems of linear equations. Comment on each case (e.g. the number of equations and unknowns, whether there is inconsistency, whether the solutions are unique, many, trivial, etc.). (a) x − 2y − z − w = −4 3x + y + z − 2w = 11 x + 12y + 7z + w = 31. (b) 2x + y + 5z = 1 x − 3y + 6z = 2 3x + 5y + 4z = 0 (c) 2x + 5y − z = 15 x − y + 3z = 4 3x + 3y − 5z = 2. (d) x1 + 2x2 + 2x3 = 4 x1 + 3x2 + 3x3 = 5 2x1 + 6x2 + 5x3 = 6 (e) −7x1 − 6x2 − 12x3 = −33 5x1 + 5x2 + 7x3 = 24 x1 + 4x3 = 5 1 Calculus 2 (BT) Homework Assignment #1 Spring 2015 2. It is known that three brands of fertilizer (Fertifun, Big Grow and Soakem) are available that provide Nitrogen, Phosphoric Acid and Soluble Potash to the soil. One bag of each brand provides the following units of each nutrient: F ertif un BigGrow Soakem   N itrogen 1 2 3  3 1 2  P hosphoric Acid P otash 2 0 1 Suppose the soil of Dong Nai farm needs 18 units of nitrogen...

Words: 780 - Pages: 4

Premium Essay

Argument

...Argument Essay Unit: Lesson Plan and Class Activities Global Learning Outcomes for this Unit *In the course of completing the assignment students will: • Learn to compose an argumentation-oriented thesis • Defend their thesis with academic-quality research that is properly sourced and cited as per the standard of university level writing • Anticipate and respond to counterarguments • Learn to critically engage the revision process through draft writing, instructor conferencing, and peer commentary • Respond the work of their peers as peer reviewers while providing relevant, productive feedback Class 1 – Introducing the Classical Argument Essay *Daily Learning Outcomes: • Reflect on Informative Essay • Introduce Classical Argument Essay • Break down the assignment sheet *Activity 1: Individual Reflection / Class Discussion (15 min) - Students open their portfolios and journals then reflect for ~10 minutes on their experiences during the Informative Essay Unit - Discuss reflections as a class *Activity 2: Introduce Classical Argument (20 min) - Have students bring a hard copy of the assignment to class with a highlighter: a. Get into groups of 4 b. Read the sheet aloud, highlighting all the action verbs c. Discuss the sheet as a group as instructor makes rounds *Activity 3: Mini-Lecture on Assignment /Questions (15 min) - Powerpoint slides “The Features of an Academic Argument” - Allow...

Words: 4392 - Pages: 18