Tuesday
May 3, 2016

# Homework Help: Computers: Programming Languages

## Recent Homework Questions About Programming Languages

fundamentals of programming
The ACME Company has approached you with a request to develop the psuedocode that will control the operations of their new series of vending machines. The program will be required to maintain the product inventory and money reservoir. The program should do the following ...
Saturday, December 7, 2013 by rich

programming logic
The No Interest Credit Company provides zero-interest loans to customers. (It makes a profi t by selling advertising space in its monthly statements and selling its customer lists.) Design an application that gets customer account data that includes an account number, customer...
Thursday, December 5, 2013 by carl

Computer Programming
Implement the classic “Rock, Paper, and Scissors game” using following methods: Headers of the methods are shown public static void printMenu( ) It is a void method –It uses no parameters --It is called to display choices and code (1 for Rock, 2 for Paper, and 3...
Thursday, November 14, 2013 by Nathan

programming
Waiting time in the queue by the driver can be used as a criterion whether toll plazas customer centric or not. Assume there are 3 counter serving customers. Customers who come will get in the shortest line (based on the number of customers / vehicles in the queue). Assume ...
Wednesday, November 13, 2013 by huda

Computer Programming using python
Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. By a fixed monthly payment, we mean a single number which does not change each month, but instead is a constant amount that will be paid each ...
Monday, October 28, 2013 by Anonymous

Computer Programming using python
Write a program to calculate the credit card balance after one year if a person only pays the minimum monthly payment required by the credit card company each month. The following variables contain values as described below: balance - the outstanding balance on the credit card...
Monday, October 28, 2013 by Anonymous

Computer Programming using python
You'll notice that in Problem 2, your monthly payment had to be a multiple of \$10. Why did we make it that way? You can try running your code locally so that the payment can be any dollar and cent amount (in other words, the monthly payment is a multiple of \$0.01). Does ...
Monday, October 28, 2013 by Anonymous

programming
Assume s is a string of lower case characters. Write a program that counts up the number of vowels contained in the string s. Valid vowels are: 'a', 'e', 'i', 'o', and 'u'. For example, if s = 'azcbobobegghakl', your program ...
Saturday, October 26, 2013 by theonewhoknocks

Computer Programming using python
You'll notice that in Problem 2, your monthly payment had to be a multiple of \$10. Why did we make it that way? You can try running your code locally so that the payment can be any dollar and cent amount (in other words, the monthly payment is a multiple of \$0.01). Does ...
Thursday, October 24, 2013 by Anonymous

Computer Programming using python
Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. By a fixed monthly payment, we mean a single number which does not change each month, but instead is a constant amount that will be paid each ...
Thursday, October 24, 2013 by Anonymous

Computer Programming using python
Write a program to calculate the credit card balance after one year if a person only pays the minimum monthly payment required by the credit card company each month. The following variables contain values as described below: balance - the outstanding balance on the credit card...
Thursday, October 24, 2013 by Anonymous

Computer Programming using python
Assume s is a string of lower case characters. Write a program that prints the longest substring of s in which the letters occur in alphabetical order. For example, if s = 'azcbobobegghakl', then your program should print Longest substring in alphabetical order is: ...
Thursday, October 24, 2013 by Anonymous

Computer Programming using python
Assume s is a string of lower case characters. Write a program that prints the number of times the string 'bob' occurs in s. For example, if s = 'azcbobobegghakl', then your program should print Number of times bob occurs is: 2 For problems such as these, do ...
Thursday, October 24, 2013 by Anonymous

Computer Programming using python
Assume s is a string of lower case characters. Write a program that counts up the number of vowels contained in the string s. Valid vowels are: 'a', 'e', 'i', 'o', and 'u'. For example, if s = 'azcbobobegghakl', your program ...
Thursday, October 24, 2013 by Anonymous

Statistics
The American Academy of Pediatrics (AAP) recommends that kids 2-5 years old watch no more than (on average) 1.6 hours a day of quality programming. A researcher selected a sample of 101 kids in the neighborhood and asked their parents how many hours per day they allow their ...
Friday, October 4, 2013 by Chris

programming c#
how do I Write a two class application that has a one-dimensional array as a data member. The array stores temperatures for any given week. Provide constructors for instantiating the class and methods to return the highest temperature, lowest temperature, average temperature, ...
Wednesday, October 2, 2013 by bo

programming
Grades are assigned on the standard 90, 80, 70, 60 scale. You are to write an algorithm which will receive a student name and a percentage grade and display the letter grade to be awarded
Thursday, September 26, 2013 by Anonymous

programming
where are the errors the pseudocode debugging exercise // This application reads student typing test data // including number of errors on the test, and the number // of words typed per minute. Grades are assigned based // on the following table: // Errors // Speed 0 1 2 or ...
Sunday, September 15, 2013 by Andre

programming-datastructures
Compute a new sorted list that represents the intersection of the two given sorted lists....
Friday, September 13, 2013 by Askvj

computer programming
. Design an application that displays the number of square feet in a house. Declare and initialize the length and width of the house to 37 and 22, respectively. Go into your source code and change the initialization values. Rerun the application
Thursday, September 12, 2013 by james love

programming
Show how you would read the status of 100 students and then print the total number of students who are married, single, widowed, divorced.
Monday, September 9, 2013 by Anonymous

programming
trying to debug pseudocode 2. Th e Springwater Township School District has two high schools—Jeff erson and Audubon. Each school maintains a student fi le with fi elds containing student ID, last name, fi rst name, and address. Each fi le is in student ID number order. ...
Wednesday, September 4, 2013 by Andre

programming
DEBUGGING // The two senior class homerooms at Littleville High School // are having a fundraising drive for the prom. Each time a student // solicits a contribution, a record is created with the // student's name and the value. Two files have been created for Homeroom A ...
Sunday, September 1, 2013 by Andre

programming
Find Bugs in the pseudocode start Declarations num category num SIZE = 5 num QUIT = 9 num sales[SIZE] = 0, 0, 0, 0, 0 string HEAD1 = "Sales" string HEAD2 = "Category Number of Sales" output "Enter category ", QUIT, " to quit " input ...
Friday, August 30, 2013 by Andre

statistics
Researchers conducted a survey of parents of 66 kindergarten children. The parents were asked whether they played games with their children. The parents were divided into two groups: working class and middle class. The researchers wanted to know if there was an association ...
Friday, August 23, 2013 by dd

programming c
Write a c program that will declare two dimensional array called of 5 row and 5 colum. The user will enter student marks for 25 student caculate and print the minimum and maximum average marks those students.
Monday, August 19, 2013 by livia

java programming
write a java program using arrays function for hotel bill calculation?
Sunday, August 18, 2013 by sasi

Write a program that adds the sum of the given number. Sample Output: Enter the range of number to be added: 5 The sum of 1 to 5 is 15
Wednesday, August 14, 2013 by Jnr John

programming Visual Command Prompt
This is the question that I have to do can someone please help?! QUESTION 2 - MANDATORY The file savings.txt contains the names and savings of 3 Bank customers in the last four months. Month1 Month2 Month3 Month4 Dennis Daly 480 620 57 73 Brid Jones 82 61 550 65 Mary Henry 49 ...
Wednesday, August 14, 2013 by Mark

Computer Programming
Write a C++ program in which you declare variables that will hold an hourly wage, a number of hours worked, and a withholding percentage. Prompt the user to enter values for each of these fields. Compute and display net weekly pay, which is calculated as hours times rate, ...
Monday, August 12, 2013 by Frances Bailey

CIS
Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart using Visual Logic for the following: A program that accepts a candy name (for example, “ chocolate-covered blueberries”), price per pound, and number of pounds sold in the ...
Sunday, August 11, 2013 by Rose

programming concepts
Write a menu driven program using a conditional structure.
Saturday, August 3, 2013 by Anonymous

object oriented programming
Write a program that takes as input the salesperson’s name, expected weekly sales and the number of hours worked then outputs the wages paid under each plan
Sunday, July 14, 2013 by indy

Java programming- simulation of rolling dice
This is what i have so far. I'm supposed to simulate the 4 dice tossed 1 million times . (so a total of 4 million) I'm trying to get the first die(If I can figure out the first one then I can figure out the other 3. So the trouble I am having is that I cant get the ...
Sunday, July 14, 2013 by Joel Borja

Computer Programming
I'm trying to create a vba code that solves this problem: 50 apartment units rent for 600 a month, for each 40 dollar increase in rent a unit becomes unoccupied. I want to find the max profit and number of units at that number. Sub Rent() Dim Rent As Variant Dim increase ...
Tuesday, July 9, 2013 by Dom

Computer Programming
A babysitter takes care of 20 kids. When taking care of all the kids she gets paid \$50 per kid. However, for every \$5 more she charges, a kid leaves. How many kids should she babysit to max her profit? I want to write a code that asks user to enter the charge per kid when ...
Monday, July 8, 2013 by Dom

VBA Programming
I'm trying to create a macro that asks for a loan between 1 dollar and 5 million, and returns different interest rates based on the amount of the loan. For some reason when I type in different loan amounts it automatically makes my rate ".1", when it should be ...
Friday, June 28, 2013 by Matt

VBA programming
How to get isnumeric function to display an "error" message when necessary. Sub DetermineinterestSelectCase() Dim loan As Variant Dim interest As Double loan = InputBox("Enter your desired loan amount, from 1 dollar to 5 million dollars.") Select Case loan ...
Friday, June 28, 2013 by Matt

Java Programming
I need to create a pseudocode for the follwing application: Write Java-like pseudocode to specify the logic for the following program application: Write an application that prompts an employee for an hourly pay rate and hours worked. Compute gross pay (hours times rate), ...
Thursday, June 27, 2013 by John

Programming
I need help with debug Debug06-02 // Program lets user input scores on four tests // Average is computed and letter grade is determined // Letter grades are based on 90 for an A, 80 for a B, and so on start string name num score num NUM_TESTS = 4 num NUM_RANGES = 5 num RANGES[...
Sunday, June 16, 2013 by Stephen

Java Programming
I'm new to Java and I'm not sure how to write the source code for this problem I got in class... Write a java program using the while and if statement that will accept ten student grades and that will display the sum of the grades, the student average, and the ...
Monday, June 10, 2013 by Samantha

C++
what are the simplest methods to understand C++ programming language?
Thursday, June 6, 2013 by Seth

comptuer programming
i need help with my code i keep comin up with errors in basic Dim Firstname as string Dim Lastname as string Dim Empnum As Integer Dim HourRate As Integer Dim Hours As Integer Dim Tools As Integer Dim Total As Integer Dim Netpay As Integer Dim Taxes As Integer Dim fedTax as ...
Tuesday, June 4, 2013 by farmer

programming
You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you are to design a program that asks for the sales figures, computes the total sales for the year, and calculates and displays the average quarterly sales for the year. using ...
Saturday, June 1, 2013 by Brett

programming
b. Write a well-commented C++ program that reads data from the input file employee.txt. Each input line consists of last name, first name, base salary, total sales, and number of years of service. Store the output in the file employees_payCheck.txt. Format your output to have ...
Saturday, June 1, 2013 by karl

C programming
Build a program that allows a user to select one of the following four menu options: enter new integer value, print pointer address, print integer address, and print integer value. For this program you will need to create two variables: one integer data type and one pointer. ...
Saturday, June 1, 2013 by pep

programming
a) Define a Cat class. A Cat has name. Define two constructors, one with no argument and another with the name as its argument. Initialize the name to a default value Unknown for the zero-argument constructor. b) Create a main class. In main class, create two objects as an ...
Monday, May 20, 2013 by michin

Programming Logic
How do I write case logic pseudocode and visual logic nested if-then-else flow charts for atm check balances, making remote photo capture check deposits, and perform balance transfers?
Tuesday, May 14, 2013 by Ryan

programming
Write a program reads the city names and respective gas prices into 2 single-subscripted arrays in your program - one of type string, the other of type double. (We would call these "parallel arrays" - each corresponding location shows the city name and gas price for ...
Monday, May 13, 2013 by George

programming
draw a flowchart and write a program and pseudocode that prompts the user for a starting balance and then prints the number of years it takes to reach 100000 and also number of years it takes to reach 1000000
Wednesday, May 8, 2013 by maria

programming
Write a C++ code to count the number of characters, words, and lines entered by the user. The program stops if the user enters two dots.
Saturday, May 4, 2013 by amgad ahmed

Operations Research
The Ploughman family farm owns and operates a 640-acre farm that has been in the family for several generations. The Ploughman’s always have had to work hard to make a decent living from the farm and have had to endure some occasional difficult years. Stories about ...
Monday, April 22, 2013 by Meme

Java Programming
Write a program that asks the users to enter five test scores into an array
Monday, April 22, 2013 by Caren

Computer Programming
I am trying to put the following in Python Code. I know how to do it mathematically, but code - not sure where to start. A state creates license plates that each contain two letters followed by three digits. The first letter must be a vowel ( A, E, I, O, U ) and duplicate ...
Sunday, April 21, 2013 by Sheryl

Java programming
can u give me some example of withdrawal money program using array to store ten information of user. including the attributes: (i) Name of the depositor (ii) Account number (iii) Type of account (iv) Balance amount And the methods: (i) Deposit (ii) Withdraw (iii) Display the ...
Thursday, April 18, 2013 by mike

Visual Basic Programming...Very Urgently!!!
Please Can someone help in proving the code about transactiopn program of images. it must have a two diffetrent form that will perform simultaneously which menas that first form will have login password to log in to use the transaction. Please your help is muchly appreciated.
Tuesday, April 16, 2013 by Jeconiah

programming
Write a program that requests the numeric grades on a midterm and a final exam and then uses a Function procedure to assign a semester grade (A, B, C, D, OR F). The final exam should count twice as much as the midterm exam, the semester average should be rounded up to the ...
Tuesday, April 16, 2013 by Shirley

Java programming
List all overloading methods (including constructors) in this coding.. public class Circle { private double radius; private String colour; public Circle() { radius = 0; colour = ""; } public Circle (double r) { radius = r; } double getRadius() { return radius; } ...
Tuesday, April 16, 2013 by nina

Java programming
Write a Java program that stores Customer accounts with the attributes: (i) Name of the depositor (ii) Account number (iii) Type of account (iv) Balance amount And the methods: (i) Deposit (ii) Withdraw (iii) Display the balance You need to create an array of objects to store ...
Tuesday, April 16, 2013 by nina

Programming in c++
Draw a flow-chart and Write a program that asks the user to enter students grades. The program should stop reading when the use enters ‘*’. In addition, your program should print the number of students got each grade. The grades can be A, B, C, D, and F. You should ...
Monday, April 15, 2013 by alhan

Java programming
can anybody help me.. Multidimensional Array Use a two-dimensional array (for example of 3 by 3) to simulate the addition operation of two matrices. Sample output: the first matrix: 1 2 3 1 0 1 1 2 1 the second matrix: 1 1 1 2 2 2 3 3 3 The total of two matrices: 2 3 4 3 2 3 5...
Sunday, April 14, 2013 by noh

Java programming
â€“ One Dimensional Array Consider this example problem: You are given 7 quiz scores of a student. You are to compute the final quiz score, which is the sum of all scores after subtracting the lowest one. For example, if the scores are 8 7 8.5 9.5 7 5 10 then ...
Sunday, April 14, 2013 by noh

Computer Programming
Hello, Any help on the following problem would be greatly appreciated. The assignment is done with .java in eclipse. I have a class and a form with a Jlist, 2 text fields to enter the check amount and the ending Balance and a calulate button. I have some aspects working, but ...
Saturday, April 13, 2013 by Marie

programming
create a program that prompts the user for a number the returns the value on the main method after validation.Create a method that promts the user for input?
Thursday, April 11, 2013 by thabo

computer programming
how do I figure out the math problem for Excel 2010?
Tuesday, April 9, 2013 by joni

C++ programming
write a program C++ program and Use a recursive function that finds the n-th term using the following rule: tn=3tn-1+12tn-2 . please help me out!
Wednesday, April 3, 2013 by Riana

Programming and Design
Draw the hierarchy chart and design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user's car travels 20 miles per gallon of gas. Design a program that prompts the user for a number of miles driven and a current cost per ...
Wednesday, April 3, 2013 by Matt

programming
Input a list of positive numbers (terminated by 0) into an array, find the mean (average) of the numbers in the array, and output the results. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.
Sunday, March 31, 2013 by Anonymous

computer programming
I need help with this problem please: Create the logic for a program that accepts input values for the projected cost of a vacation and the number of month until vacation. Pass both values to a method that displays the amount you must save per month to achieve your goal. Use ...
Sunday, March 31, 2013 by Andy

programming
Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data ﬁeld. Also include a displayInfo() method that displays each of the Book’s data ﬁelds with ...
Saturday, March 30, 2013 by stephanie

programming
pseudocode for // This application reads 10 numbers // and sorts them, and displays the three highest numbers
Friday, March 29, 2013 by stephanie

programming
// This application reads student typing test data // including number of errors on the test, and the number // of words typed per minute. Grades are assigned based // on the following table
Friday, March 29, 2013 by stephanie

programming
Create the logic for a program that prompts a user for three numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the main program.
Thursday, March 28, 2013 by stephanie

programming
The village of Ringwood conducted a census and created records that contain household data, including income. Ringwood has exactly 75 households. Write a program into which a village statistician can enter each of the 75 household income values, and determine the mean and ...
Thursday, March 28, 2013 by stephanie

programming
Write a program that displays the recommended weight, given the user’s age and height (cm). The formula for calculating the recommended weight is recommendedWeight = (height – 100 + age / 10) * 0.90 Define a service class named Height and include an appropriate ...
Thursday, March 21, 2013 by happy

Java programming
can you show me where is the wrong for this program..because it contains error..i dont know where is it wrong..help..tq.:) import java.util.Scanner; public class BMR { public static void main(String[] args, int x) { Scanner keyboard = new Scanner(System.in); int pound, inch,...
Wednesday, March 13, 2013 by yaya

QSO 510
Problem 2 Build-Rite construction has received favorable publicity from guest appearances on a public TV home improvement program. Public TV programming decisions seem to be unpredictable, so Build –Rite cannot estimate the probability of continued benefits from it ...
Tuesday, March 12, 2013 by Anonymous

Programming (Visual Basic)
Im seem to be having trouble with this Exercise. Would you mind helping me please? How do i do this Visual Basic program? Instructions say: Fix the following code: Dim dblRegularPay As Double Dim dblOvertimePay As Double intRegularPay = 783.87 intOvertimePay = 105.92 lbl ....
Tuesday, March 5, 2013 by Derek

Programming
I must write Analysis, IPOChart, Hierarchy Chart, Flowchart, GUI Design, Pseudocode, and Test Cases for an office supply inventory tracking program Here is the Pseudocode that i have so far: Main Module 1 Declare PensAmount As float 2 Declare PaperAmount As float 3 Declare ...
Monday, March 4, 2013 by Jim

programming
Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules. a.A call made between 8:00 AM and 6:00 PM is billed at a rate of 6 rupees per minute. b.A call made before 8:00 AM or after 6:00 PM is ...
Sunday, March 3, 2013 by farh

programming (C#)
Write a console-based program that accepts a user's message and determines whether it is short enough for a social networking service that does not accept messages of more than 140 characters.
Saturday, March 2, 2013 by Jackie

QSO 51O
Problem 4: Module 8 (30 points) The Exeter Company produces two basic types of dog toys. Two resources are crucial to the output of the toys: assembling hours and packaging hours. Further, only a limited quantity of type 1 toy can be sold. The linear programming model given ...
Friday, March 1, 2013 by Anonymous

Math
formulate but do not solve the linear programming problem. Tracy has at most \$200,000 to invest in stocks,bonds, and money-market funds. She expects anual yields of 15%, 10%, and 8%, respectively, on these investments. If Tracy wants at least \$50,000 to be invested in money-...
Friday, March 1, 2013 by Stacy

programming logic and design
The Daily Gazette accepts classified ads in several categories. For most ads, the newspaper charges 10 cents per word for the first 50 words, and 8 cents per word for every word after that. Design a flowchart for a program that accepts data about an ad: customer name, ad ...
Wednesday, February 27, 2013 by ashlee

programming
m trying to create an arraylist that's sorted but I have no idea how to sort the numbers. I cant use the array.sort method here is my code: public class Testing { private int [] data; private int count; private static int defCapacity = 10; public Testing (){ count = 0; ...
Sunday, February 24, 2013 by Adam

programming
I need to figure this problem out, I am using visual studio C#. • Powers - Write an application that displays a tables of squares and cubes of an integer from 1 to an upper limit. The user should enter the upper limit and press the calculate button. The application should...
Sunday, February 17, 2013 by Joe

programming
3. Your company needs to depreciate its assets. The accountant wants to record the purchase price, the useful life, and the estimated salvage value. Your program should be able to depreciate by the straight-line method. For example, a computer system was purchased for \$25,000...
Friday, February 15, 2013 by tina

programming
Write the following algorithms using pseudocode: 1. Calculate the net pay for an hourly employee. You will be given the name, pay rate and hours worked. You must calculate the state withholding (5%), federal withholding (18%), and Social Security (8%). You should display the ...
Friday, February 15, 2013 by tina

programming
Declare a string variable name myName
Wednesday, February 13, 2013 by newton

programming
Design an algorithm that accepts two values, the hourly rate and the number of hours worked by an employee. If the number of hours exceeds 40, then the excess hours should be paid at an overtime rate of twice the hourly rate. Calculate wages (including overtime, if any) due to...
Tuesday, February 12, 2013 by Anonymous

programming
Write a program that asks for and reads the price of a book (it may have a decimal part), multiplies it by 7% sales tax and displays both the sales tax and final price of the book on the screen.
Friday, February 8, 2013 by Caren

Programming
Hello All i am new in dynamics Ax when i am going to connect the C# with Dynamics Ax using logon method i am getting the following error when connecting with DynAX from the it's own server so it connects but when i want to connect it from client computer where i use ...
Tuesday, February 5, 2013 by ajmal

Computer (C)
I need help with c programming, i need to fill in the code and I got these (need help with question 4), I run the grader and I only got question 1 right. grader code: gcc worksheet.c; ./a.out 0; if [ \$? -eq 0 ] then echo 'Question 0 Correct'; else echo \$? 'is not ...
Friday, February 1, 2013 by Kevin

programming
1. Develop a menu-driven program that inputs two numbers and, at the user's option, finds their sum, difference, product, or quotient
Tuesday, January 29, 2013 by Jackie Holman

cist1305
third edition exercise 2 an object oriented approch to programming logic and design
Sunday, January 27, 2013 by tammy

Computer Programming
Draw a structured flowchart and write pseudocode that describes the process of looking up a word in a dictionary.
Wednesday, January 23, 2013 by Jackson

programming logic
The Banking e-Teller system allows bank customers to perform ATM transactions from their cell or smart phones. BET will allow customers to check balances, make remote photo capture check deposits, and perform balance transfers to their checking or savings account. It is time ...
Tuesday, January 22, 2013 by david

Visual Basic intro to Programming
What is the difference between the If Then ElseIF clause and a Nested If Block? Please provide examples of how you would use each.
Thursday, January 17, 2013 by Monika

Visual Basic (Computer Programming)
ALGORITHM EXERCISES 1. Wilma Peterson is paid by the hour. She would like a program that both calculates and displays her weekly gross pay. For this exercise, you do not need to worry about overtime pay, as Wilma never works more than 40 hours in a week. Desk-check your ...
Wednesday, January 16, 2013 by Erick

c-programming
Write the following in numbers in normal decimal notation?
Tuesday, January 15, 2013 by rafaeo

1. Pages:
2. <<Prev
3. 1
4. 2
5. 3
6. 4
7. 5
8. 6
9. 7
10. 8
11. 9
12. 10
13. Next>>