Bank Utara Malaysia (BUM) has decided to give dividend to its accournt hoklers at thie end ul 2021. The amount decided is as follow: ACCOUNT BALANCE % OF DIVIDEND = 10 15 Your program should calculate the dividend amount for each customer and then add the dividend amount to the account balance. Then display the new account balance amount. Let user input the value for account balance. Based on the scenario a) Write a complete pseudocode for the above problem.
Q: Does artificial intelligence and machine learning mean that algorithms and data structures are…
A: Data structures are not obsolete: The debate is on whether the phrase "algorithms and data…
Q: What is the link between cohesion and coupling in software?
A: Answer: Cohesion deals with the relationship between different elements within the same module.
Q: Use technical examples to explain *The software industry; *Applications;
A: Introduction: Use technical examples to explain *The software industry; *Applications;
Q: Evaluate the benefits and drawbacks of cloud computing. How much does cloud computing cost?
A: Before we discuss the advantages and disadvantages of cloud computing let us first understand what…
Q: Because automation relies on knowledge information technology, what is the reason for this…
A: Introduction: The process of storing and transferring information via computers and…
Q: Can someone explain how the ouput is, 642211431136 def Q3(n): if (n <= 0):…
A: I have fixed to print desired output--------- After fixing , I have provided PYTHON CODE…
Q: ween the many methods of categorising access control systems. Discuss the many sorts of controls…
A: Introduction: Below the distinguish between the many methods of categorising access control systems…
Q: Write a single function • that squares each item of a list, t • then sums all the items in the list,…
A: The required code for the python program is provided in the next step.
Q: Facebook and Cambridge Analytica data leak was of what type?
A: let us see the answer:- Introduction:- The ICO discovered that Facebook violated data protection…
Q: What approaches do different operating systems employ to safeguard the system's resources?
A: Answer: An operating system (OS) is a piece of software that handles all computer operations;…
Q: distinguish between project, project management, and software project management. Explain briefly…
A: INTRODUCTION: Here we need to tell the difference between project, project management, and software…
Q: ridge
A: Introduction:A data breach occurs when malevolent insiders or external attackers get unauthorized…
Q: Why use thin clients instead of desktop computers in a university computer lab? Describe 4…
A: Advantages: Cost - small clients are usually cheaper, individually, than a desktop computer.Life…
Q: DHCP and APIPA are side by side. In what ways does merging these two methods make sense?
A: Introduction: The APIPA includes the configuration for looking for a DHCP server (in every five…
Q: Find initial values of x and y that demonstrate that the following Hoare triples do not hold. 1) {{…
A: Answer is given below-
Q: (JAVA)Consider this code: int m = 3; int n = -2; m = ++m * n--; What are the final values of m…
A: if a= 3 b=a++ ( then b=3 and a=4 ) b=++a (then b= 4 and a=4) same also applicable in -- operator…
Q: QUESTION 11 What will be the output of the following Python code snippet? A.…
A: Introduction: What will be the output of the following Python code snippet? A. 4 3 2…
Q: Computer science Where can I get the finest software deals?
A: Introduction: Computer science Where can I get the finest software deals?
Q: Which statement is true about Staged Payload? O Instructs the target machine to open a shell command…
A: It is a payload of type staged type windows/shell/reverse_tcp. In the whole process string sent to…
Q: Do data breaches have the potential to have a significant effect on cloud security? Does anybody…
A: INITIATION: Unauthorized access to and disclosure of sensitive, confidential, or otherwise protected…
Q: Q7: File Upload Question. Know the 2-3 tree properties that define its shape. Know its search tree…
A: The answer is
Q: What exactly is an entity-relationship diagram (also known as an erD)?
A: An entity relationship diagram (ERD), also known as an entity relationship model, is a graphical…
Q: What is the function of information security management in today's environment?
A: Management of Information Security: Now-a-days Customers' behavior analysis, use data, personal…
Q: What are the many types of file stream classes? Explain how to open a file in both read and write…
A: Given: What are the various file stream classes? Explain how to open a file in both read and write…
Q: 7. Find a regular expression which describes the language accepted by an NFA. a,b
A: Here the initial state is 0 and final state is 2. Remove the loop or cycle between state 0 and 1 and…
Q: When arrays are supplied to functions as parameters: A They are never passed by reference. B.…
A: An array is a data structure consisting of a collection of elements each identified by at least one…
Q: Give an example of each of the three types of relationships: unary, binary, and ternary.
A: Binary Relationship: A binary connection is a relationship between instances of two different entity…
Q: What do you think are the four most important characteristics of software development? Does anybody…
A: The following are the four most significant qualities of software development: Correctness: The…
Q: Give an example of a protocol handled by that layer's equipment. d) A wireless network…
A: Information: Give an example of a protocol handled by that layer's equipment. d) A wireless…
Q: C++is designed such that if the constructor of a class cannot fully do its job, the destructor for…
A: Answer : option c is the correct answer. is never called.
Q: What administrative, organizational, and technological issues must be addressed while creating a…
A: Start: We must write down the difficulties that must be handled by management, organization, and…
Q: de range of software systems in use by va
A: How various firms use IT.An outline In the corporate sense, data frameworks are organizations and…
Q: What exactly is the internet? what role the internet plays in e-commerce In addition, alternative…
A: What is the web? The Internet is a global network connecting computer systems worldwide. It consists…
Q: What are the most significant distinctions between the World Wide Web and the Internet, and how do…
A: Distinctions: The key to creating distinctions is to make sure you (and others) aren't referring to…
Q: How does a data breach affect cloud security? What are some of the various countermeasures that may…
A: answer is
Q: 5. Explain the DES data encryption technique with plaintext of 64 bits and keys of 56 bits. Also,…
A: Given: 5.DES encryption method with 64-bit plaintext and 56-bit key. cypher algorithm 5.DES…
Q: Check to see if any penetration testing is taking place. Is data security a concern?
A: Penetration Testing: A penetration test, often called a pen test, is a legitimate simulated cyber…
Q: List and discuss the most common file properties and actions. (About the operating system)
A: File Information: It required a password to access the file. It reveals the ID of the person who…
Q: What is the purpose of the Apache Web server? How much does it set you back? What features does it…
A: Apache Web Server: Apache's job as a Web server is to take directory (HTTP) requests from Internet…
Q: ”:40, “peter”:45} D. all of the me
A: correct option is d) All of the mentioned
Q: Why do servlets outperform programs that use the common gateway interface (CGI), despite the fact…
A: Servlets: It is a server side component that provides web applications for the server side. In…
Q: Explain why the distinction between computer organisation and computer architecture is important.
A: Introduction: Computer Architecture Computer architecture is a blueprint for the design and…
Q: To get started, what do you need to know about wireless networks?
A: Networks that don't use any form of wires are known as wireless networks, As a result, businesses…
Q: What issues did you have when adding or removing users in Windows 10 or Linux?
A: Answer: Problems encountered while adding or removing users from Windows 10: The administrator…
Q: computer science - Describe four important processes in marketing and implementing a knowledge…
A: Introduction: Before selecting a tool, defining a method, or designing workflows, imagine and define…
Q: Suppose you have a network arranged in a 3D mesh topology with size 30x40x50 on the x, y, and z axes…
A: Solution: The bisection bandwidth of the network is the minimum of the bandwidths of the individual…
Q: What are case labels?
A: Introduction: A label identifies an individual as a specific type of person. Determining whether an…
Q: My student claimed that the three fundamental page replacement algorithms (FIFO, LRU, and optimal)…
A: Page Replacement: Computers are designed with many levels of memory. As the memory's transmission…
Q: 3. What are the drawbacks of symmetric encryption key administration? 4. A symmetric cypher requires…
A: 3. The greatest disadvantage of symmetric key encryption is the requirement to provide the key to…
Q: cloud computing refers to the hosting of network services and applications in a cloud computing…
A: Network Services: Network Services include IP addressing, Domain Name System (DNS), primary domain…
Step by step
Solved in 3 steps with 1 images
- A long-distance carrier charges the following rates for telephone calls: Starting Time of Call Rate per minute ($) (**only depends on Starting Time) 00:00 – 06:59 0.10 07:00 – 19:00 0.45 19:01 – 23:59 0.30 Write a program that asks for the starting time and the number of minutes of the call, and displays the charges. The program should ask for the time to be entered as a floating-point number in the form HH.MM. For example, 07:00 hours will be entered as 07.00, and 16:28 hours will be entered as 16.28. Input Validation: The program should not accept times that are greater than 23:59. Also, no number whose last two digits are greater than 59 should be accepted. Assuming num is a floating-point variable, the following expression will give you its fractional part: num – static_cast<int>(num);The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay of their employees. The user will enter an employee’s first name, last name, the hourly rate of pay, and the number of hours worked for the week. In addition, Annan Supermarkets would like the program to compute the employee’s net pay and overtime pay. Overtime hours, any hours over 40, are paid at 1.5 the regular hourlyrate. Net pay is gross pay minus taxes (Refer to the tax table on the second page).Define a class called Employee. The class must have private attributes to store the employee's name, hourly rate, and regular (≤ 40) and overtime hours worked. The class must also have methods to perform the following tasks:• A constructor to initialize the hourly rate to the minimum wage of $7.25 per hourand the hours worked (regular and overtime) to 0.0.• A method to get (a setter/mutator method)⬧ the employee's name⬧ the hourly rate⬧ the hours work for the month (by the week – assume 4…// This program calculates an employee's take home pay. #include <iostream> using namespace std; int main() { double salary = 1250.00; double stateTax; double federalTax; double numDependents = 2; double dependentDeduction; double totalWithholding; double takeHomePay; // Calculate state tax here cout << "State Tax: $" << stateTax << endl; // Calculate federal tax here cout << "Federal Tax: $" << federalTax << endl; // Calculate dependent deduction here cout << "Dependents: $" << dependentDeduction << endl; // Calculate total withholding here // Calculate take-home pay here cout << "Salary: $" << salary << endl; cout << "Take-Home Pay: $" << takeHomePay << endl; return 0; }
- Fox International sells pre-paid calling card with the following features: Calls to USo 1.2 cents per minute plus a 49 cent connection fee per call Calls to Europeo 2.3 cents per minute plus a 49 cent connection fee per call Calls to Australiao 6.4 cents per minutes plus a 49 cent connection fee per callWrite a program that work out the charges for the month. The program should accept the followinginformation: Account holders name Card number Starting Balance on card For US callso Total number of minutes of all callso Total number of calls made For European callso Total number of minutes of all callso Total number of calls made For Australian callso Total number of minutes of all callso Total number of calls madeYou are NOT expected to error check your inputs for this assignment. (e.g. checking for negative values,etc.). There is NO GST charged on the calls as the GST was paid when the card was purchased.Format of output:Review the test plan to see how the user would like the…The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay of their employees. The user will enter an employee’s first name, last name, the hourly rate of pay, and the number of hours worked for the week. In addition, Annan Supermarkets would like the program to compute the employee’s net pay and overtime pay. Overtime hours, any hours over 40, are paid at 1.5 the regular hourly rate. Net pay is gross pay minus taxes (Refer to the tax table on the second page). Define a class called Employee. The class must have private attributes to store the employee's name, hourly rate, and regular (≤ 40) and overtime hours worked. The class must also have methods to perform the following tasks: A constructor to initialize the hourly rate to the minimum wage of $7.25 per hour and the hours worked (regular and overtime) to 0.0. A method to get (a setter/mutator method)⬧ the employee's name⬧ the hourly rate⬧ the hours work for the month (by the week –…Assume that a box of apples cost 8 dollars and a box of grapes cost 6 dollars. Given variables numBoxApples and numBoxGrapes that are read from input, compute the total cost and assign combinedCost with the result. Ex: If the input is 7 10, then the output is: Cost: 116 include <iostream> using namespace std; int main() { int applePrice = 8; int grapePrice = 6; int numBoxApples; int numBoxGrapes; int combinedCost; cin >> numBoxApples; cin >> numBoxGrapes; /* Your code goes here */ cout << "Cost: " << combinedCost << endl; return 0; }
- #include <iostream>using namespace std;int main(){ double hours, pay, gross, regular, OT, OT1; cout << "Enter pay rate:"; cin >> pay; cout << "Enter hours worked: "; cin >> hours; if (hours >= 40) { regular = hours * pay; OT = 0; OT1 = 0; gross = regular + OT + OT1; cout << "Regular hours: " << hours << "@" << pay << " $" << regular << endl; cout << "Ovetime hours: " << hours - 40 << "@" << pay << " $" << OT << endl;; cout << "Ovetime1 hours: " << "0" << "@" << pay << " $" << OT1 << endl;; cout << "Total gross pay: " << gross; } else if (hours < 40 && hours >= 54) { regular = 40 * pay; OT = regular + (hours - 40) * (pay * 1.5); OT1 = 0; gross = regular + OT + OT1; cout <<…1. Federal law requires that hourly employees be paid “time-and-a-half” for work in excess of 40 hours in a week.For example, if a person’s hourly wage is $12 and he or she works 60 hours in a week, the person’s gross pay shouldbe (40 *12) + (1.5 *12 * (60-40)) = $840.Write a program that requests the floating number of hours a person works in a given week and the person’s hourlywage as input, and then displays the person’s gross pay. Save it as overtimePay.pyAssume that you have price distributions as follows: (000 - 299 $), (300 – 599 $),(600 – 899 $), (900 $).Write a program asking the user to enter the number of occurrences of the abovedistribution, and represent that as STARS “*” for each occurrence in front of eachdistribution. Note:1- Use printf to format each distribution automatically as you learned before.2- If the number of occurrencesfor a distribution is more than 50, the programshould write the word “BINGO!”.
- The great circle distance is the distance betweentwo points on the surface of a sphere. Let (x1, y1) and (x2, y2) be the geographicallatitude and longitude of two points. The great circle distance between the twopoints can be computed using the following formula:d = radius X arccos(sin (x1) X sin(x2) + cos(x1) X cos(x2) X cos(y1 - y2))Write a program that prompts the user to enter the latitude and longitude of twopoints on the earth in degrees and displays its great circle distance. The averageradius of the earth is 6,371.01 km. Note you need to convert the degrees into radiansusing the Math.toRadians method since the Java trigonometric methods useradians. The latitude and longitude degrees in the formula are for north and west.Use negative to indicate south and east degrees. Here is a sample run: Enter point 1 (latitude and longitude) in degrees: 39.55 −116.25 ↵EnterEnter point 2 (latitude and longitude) in degrees: 41.5 87.37 ↵EnterThe distance between the two points is…4.7 for repetition #include <iostream>#include <iomanip>using namespace std;int main(){long USD, maxUSD; // Amount in USDdouble rate; // Exchange rate USD <-> MYRcout << "\n* * * * TABLE OF EXCHANGE * * * *\n ";cout << "* United State Dollar (USD) to Malaysia Ringgit (MYR) *\n\n";cout << "\nPlease give the rate of exchange: ";cout <<" \n\n 1 USD in RM MYR: ";cin >> rate;cout << "\n Please enter the USD you want to change: ";cin >> maxUSD;// Outputs the table & Titles of columns:cout << "\n If Rate Now is : " << rate << endl;cout << "\n so, USD to RM exchange is : "<< endl;cout << '\n'<< setw(12) << "USD" << setw(20) << "MYR";cout << '\n'<< setw(16) << "---------------------------------------------" ;cout << '\n'<< setw(24) << " >>> " ;// Formatting RM-MYR:cout << setprecision(2) << endl;long lower, upper,…Mortgage bond L, interest rate r =15%. The fixed payments P to pay off the loan over N years is given by P= rL(1+r/12)^12N/12(1+r/12)^12N -1) a)Write a code to compute and print P if N = 20 and the bond is $50,000 b) how P changes with N . Can you find a value for which the payment is less than $625? c) go back to N =20 and examine for different interest rate . Raising the interest rate increase the payment by $37?