Reference no: EM131290590
Exercises & iLabs Logic and Design
Exercise
- Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions.
- Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors.
Assignment: You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel. Calculate the charges using the following data:
Parcel Weight (kg) Cost per kg ($)
< 2.5="" kg="" $3.50="" per="" kg="">
2.5 to 5 kg $2.85 per kg
> 5kg $2.45 per kg
Make sure that the weight entered is a positive number, otherwise your program should display an error message and end. Test your algorithm with the following THREE sets of data:
Test case 1: package weight of 2 kg
Test case 2: package weight of 5 kg
Test case 3: package weight of 6 kg
Lab Grade Calendar (Devry)
You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student's first and last name and the number of points the student received. The program shall only accept scores between 0 and 1,000 points (including 0 and 1,000), with 1,000 points being the maximum number of points. If the input value is within the valid range, the program will display a "good score" message; otherwise, the program will display an error message and then terminate the program. The program shall then calculate the score percentage, and then determine the grade based on the percentage using the following grade criteria:
The program will then display the student's first name, last name, number of points, calculated percentage, and the final grade.
The program shall have an initial prompt informing the user of the program's purpose, and a program termination message.
Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing.
Design an application that it will prompt a user
: You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed.
|
Well-defined codes of ethics
: A number of professional public relations groups have very well-defined codes of ethics. What are these codes seeking to accomplish? What are some of the common characteristics of them?
|
What is meant by independent risk monitoring
: Explain the advantages for senior management having detailed, written policies for financial risk management? Define and explain what is meant by independent risk monitoring. How can senior management improve independent risk monitoring?
|
Appropriate analytical method for information wheels
: Choose the appropriate analytical method for information wheels. HR wants to optimize the company's future hiring process. Choose appropriate analytical methodologies for HR's information wheels.
|
Design an application that will receive the weight of parcel
: You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel.
|
What is the purpose of risk management industry standards
: What is the most important component of an effective risk management system? Briefly explain how speculative derivatives transactions are treated from an accounting perspective.
|
Public sector bargaining differs from private sector
: Many labor relations experts believe there is a need to revise U.S. labor law. Do you agree andwhy is there pressure to update the law now? Name at least three (3) changes you would considermaking and why? Although there are many similarities betw..
|
Fnd the var for one day
: Find the VAR for one year at a probability of 0.05. Identify and use the most appropriate method given the information you have.
|
Does the otr time appear to be stable
: Does the OTR time appear to be stable? Why or why not?If you were to use a control chart to evaluate stability, which chart would you use? Why?
|