06 Homework From the Gaddis textbook: * Programming Exercises 2, 6 and 9, on pages 160-161 For the Programming Exercises, design a program means write the pseudocode for the program. Except for Programming Exercise 2, your design should include multiple modules, not just main(). Upload a Microsoft Word document with the pseudocode to your shared PT1420 community website or submit a paper copy to your instructor by the beginning of the Week 7 class. Programing Exercises pg. 160-161 2. Areas
Words: 764 - Pages: 4
programmer must have an understanding of what the program should do. This is dependent on the conversation the programmer has with the client, leader etc. From this point on the programmer will create pseudocode and flowcharts to create models of the product they are creating. 2. What is pseudocode? Fake code - used during the code building process. 3. Computer programs typically perform what three steps? Input is received. Some process is performed on the input. Output is produced. (P
Words: 270 - Pages: 2
| Stores the cost of fiber | fiberCost | Stores the company name | Companyname | Stores the number of feet to be installed | feetinstalled | Stores the calculated cost of installed fiber | installedcost | Step 3: Complete the following pseudocode based on the algorithm and the variables you declared above. Display “Welcome to the Fiber Optic Calculator Program” Set fiberCost = .87 Display “What is the company name?” Input Companyname Display “How many feet of fiber will be installed
Words: 429 - Pages: 2
search for the index of keywords. It will make being able to type in the keyword and pull up the table containing that keyword much easier. For this I will have to set it up for a binary search. The following pseudocode is updated to include the arrays and the binary search: Pseudocode Display “Student Notebook” Display “Subject.......................................Enter 1” Display “Class..........................................Enter 2” Display
Words: 807 - Pages: 4
stumped so I’ll give you all the answers that are running through my head and see if that is what you are looking for here) a. Should “problem” = 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. Should “problem” = an issue in the code that is preventing it from executing, than the first thing I would
Words: 891 - Pages: 4
figure out the square feet of each room and then the square feet of the house. I will also create three sets of test data that we will use to include the inputs and the expected output of each test case. At the end of it all, I will provide the pseudocode of my overall design. In this step, I will need to figure out how to exactly calculate the square feet or area of a rectangle. With a little refresher in math I found the formula A = L * W or L * W = A, where A is the area, L is the length,
Words: 446 - Pages: 2
David McCon March 31, 2014 Unit 2 Assignment 1 Introduction to Programming 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. What is pseudocode? Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed. Computer programs typically perform what three steps? Computer programs usually follow the following three steps: 1) Input is received. 2)
Words: 400 - Pages: 2
Submit Files - Homework 4 ------------------------------------------------- Top of Form Hide Folder Information | Folder | | Homework 4 | Instructions | | FunctionsIn this homework, you will design a program to perform the following task:Write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (Length and width) are provided by a user. Assume the rooms are rectangular and that the user can enter from 1 to 10 rooms for the house. Also
Words: 471 - Pages: 2
or reversing the proper order of two words in a computer program (Syntax Error) Pictorial representation of the logical steps it takes to solve a problem (Flowchart) English-like representation of the logical steps it takes to solve a problem (Pseudocode) Used to show the correct sequence of statements (Flowlines) Preselected value that stops the execution of a program (Sentinel) Question 2 When you write a program that will run in a GUI environment, as opposed to a command-line environment
Words: 492 - Pages: 2
you declared and initialized earlier, then display the result. The result returned from the function is to be displayed in the main module, not in the function. 6) Implement the linear search (also called the sequential search) algorithm from the pseudocode given in the arrays lecture. 7) Demonstrate how the sequential search algorithm can be used in your main module. You should allow the user to enter an integer value to be found (the search key) in the main module. If the search key is found, display
Words: 523 - Pages: 3