is properly executed, we will be able to input any sized room and quickly be able to find the square footage. B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode. Main module Declare EntireHouse As String Declare LivingRoom, As Float Declare Kitchen As Float Declare BedRoom As Float Declare BathRoom As Float Write “Square Footage Program” Write “This program computes the square footage
Words: 283 - Pages: 2
Unit 2 Homework Short Answer Pg. 71 (1-4) 1.) Work directly with and interview the customer. 2.) Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed. 3.) Input is received, some process is performed on the input, output is produced. 4.) User-friendly means that something is easy for anyone, regardless of their level of experience, to use. Algorithim Workbench Pg. 71 (1-2) 1.) Declare Height as Integer Display “ Enter Height
Words: 270 - Pages: 2
2: length=12, width=14;Room 3: length=14, width=10;Room 4: length=13, width=11; | 691 square feet | Test 3 | Room 1: length=14, width=16;Room 2: length=13, width=13;Room 3: length=11, width=12;Room 4: length=10, width=12; | 645 square feet | Pseudocode //This program takes the square footage of 4 rooms to determine the usable square footage of a living space. //Declare variables Declare Room 1, Room 2, Room 3, Room 4, sum As Integer //Initialize variables Set Room 1 = X * Y or length times
Words: 293 - Pages: 2
Room1: length=13, width=11 Room2: length=9, width=7 Room3: length=22, width=19 | Total Square Feet: 624 | Test Case 3: | Room1: length=8, width=6 Room2: length=4, width=12 Room3: length=30, width=25 | Total Square Feet: 846 | Pseudocode: //Declare Variables Declare L1, L2, L3, W1, W2, W3, RM1, RM2, RM3 and SqFT //Set Values of Variables Set L1=10 Set L2=15 Set L3=20 Set W1=20 Set W2=10 Set W3=15 Set RM1=L1*W1 Set RM2=L2*W2 Set RM3=L3*W3 Set SgFT=RM1+RM2+RM3 //Print
Words: 294 - Pages: 2
Pseudocode for Java Assignment/program #4 Version 1.0 import java.util.ArrayList import java.util.Scanner main() { Declare one dimensional array named Array1[]as double Declare a variable to hold the Name as String Declare/initialize base salary to 25,000 (from Program #3) Declare/initialize target sales to 120,000 (from Program #3) Declare annual sales variable as double Declare Total compensation as double create employee annual sales input via Scanner Input Name of salesperson
Words: 272 - Pages: 2
which gives them a 5% discount on their grocery bill. 4. The system should present the customer with a total amount owed for their grocery bill including a 6% sales tax added to their subtotal. 5. The system should accept a (cash) payment Pseudocode: Set value item to 0 Input (“Please scan”, item) Print( “$ “ , item) # add up cost of item Subtotal = item + item Input (“Additional items?, Yes or No”) # additional item loop If Yes, then “Please san next item.”): Else - Input (“Are
Words: 335 - Pages: 2
University of Phoenix Associates Program Material (revised by Albert Mink) Final Project Application-Level Requirements List Complete the following list of application-level requirements for the Metric Conversion program. The first requirement has already been entered for you. 1. The Metric Conversion Program will display a Main Menu to the user listing the available metric-to-U.S. measurement conversions available, along with an option to quit the program. 2. The Metric Conversion
Words: 1502 - Pages: 7
Derek Taylor 24 July 2015 Homework Assignment & Research Assignment 1.) What is the difference between Application Software and System Software? (Give an example of both) System software is an integral part that aids in the computer’s functioning. It manages the computer resources in ways that they can operate in tandem. System software provides a platform for the execution of application software. Examples of system software are BIOS and firmware. Application software is
Words: 1730 - Pages: 7
During this time of the process, the programmer uses tools to layout the program’s logical steps from beginning to end. The programmer decides the variables needed in the program. Also, the programmer uses planning tools like, Flowcharts, and Pseudocode to show the steps involved in his/her programming solution. Coding the Program: Coding is converting the design into an actual program, written in some form of programming language. This is the step where you actually have to sit down at the
Words: 511 - Pages: 3
numbers: f,g,h. h will store the quotient of f and g. Test Plan: To understand this program the following input numbers could be used for testing: a = 10 b = 20 c = a + b = 10 + 20 = 30 f = 75.0 g = 3.0 h = f/g = 75.0/3.0 = 25.0 Design using Pseudocode: // This program will sum two integer numbers to yield a third integer number. // It will also divide two float numbers to yield a third float number. // Declare variables Declare a,b,c as Integer Declare f as Float // Set values of Integers
Words: 458 - Pages: 2