being a java developer what do you think, "would multi-threading play a vital role in maintaining concurrency for efficient and fast transactions of atm or will slow down the atm services by making it more complicated?”.

Answers

Answer 1

Answer:

I would state that performance is not the main challenge of an atm, nor is multi-threading. Robustness and provable correctness is of greater importance, and those are much easier to achieve using a single-threaded solution.


Related Questions

Define the missing member function. Use "this" to distinguish the local member from the parameter name.
#include
using namespace std;
class CablePlan{
public:
void SetNumDays(int numDays);
int GetNumDays() const;
private:
int numDays;
};
// FIXME: Define SetNumDays() member function, using "this" implicit parameter.
void CablePlan::SetNumDays(int numDays) {
/* Your solution goes here */
return;
}
int CablePlan::GetNumDays() const {
return numDays;
}
int main() {
CablePlan house1Plan;
house1Plan.SetNumDays(30);
cout << house1Plan.GetNumDays() << endl;
return 0;
}

Answers

Answer:

Here is the complete member function:

void CablePlan::SetNumDays(int numDays) {   //member function of class CablePlan which take numDays as parameter

this->numDays = numDays;   // refers to the fields numDays of CablePlan  class using this keyword

return;  }

Explanation:

The complete program is:  

#include <iostream>  //to use input output functions

using namespace std; //to identify objects like cin cout

class CablePlan{  //class

public:  //public methods of class

void SetNumDays(int numDays); //method of class CablePlan that takes numDays as parameter to set the days

int GetNumDays() const;  // method of class CablePlan to get no of days

private:  //private data member of class CablePlan

int numDays;  //private data member of class CablePlan that holds no of days

};

// FIXME: Define SetNumDays() member function, using "this" implicit parameter.

void CablePlan::SetNumDays(int numDays) { /

this->numDays = numDays;     // used to refer to numDays variable of CablePlan class using this keyword

return;}  

int CablePlan::GetNumDays() const {  //define member function GetNumDays

return numDays;}  

int main() {  //start of main function

CablePlan house1Plan;  //creates object of CablePlan class

house1Plan.SetNumDays(30);  //uses object to call member function of  CablePlan passing value 30 to it in order to set no of days

cout << house1Plan.GetNumDays() << endl;  //uses object to call member function of  CablePlan to get the no of days (numDays)

return 0;}

Here this keyword is used to refer to the field i.e. numDays of CablePlan class. This distinguishes local member numDays  from parameter numDays using this with -> symbol.  

'this' pointer retrieves the object's numDays  which is hidden by the local variable numDays . The output of this program is:

30

Answer:

this.numDays = numDays;

Explanation:

You just need one line of code.  "this." to access the class member, and the "." is the member access operator.

what is difference between ssd and hdd

Answers

Answer:

HDD is old-school storage device that uses mechanical platters and a moving read/write head to access data.SSD is a newer, faster type of device that stores data on instantly-accessible memory chips..SSD is little expensive than HDD and gives better performance

Answer:

Differed performance level's

In which of the following situations would you want to use GOMS/KLM as an evaluation tool?
A. Shopping mall movie rental kiosk assuming the user rarely ever rents movies
B. Amazon's create an account process
C. A teacher evaluation form that a student fills out once
D. None of the above
E. All of the above

Answers

Answer:

B. Amazon's create an account process

Explanation:

The Keystroke-Level Model (KLM) is a cognitive modeling tool which can be used in predicting the performances carried out by human on interface designs. It's the most "practical" of the GOMS methodologies.

This model tends to predict how long it will take for the completion of a routine task by an expert user. There should be no errors.

So, Option B is correct because GOMS/KLM is an evaluation tool which fits in the evaluation of Amazon's create an account process.

At the Network layer, what type of address is used to identify the receiving host?

Answers

Answer:

IP Address

Explanation:

At the Network layer, the IP address is used to identify the receiving host. It identifies the senders and receivers of data in a network.

IP Address is used to assign every node in a network which is used to identify them. Its two main purposes are 1. Address location 2. Identification of network interface.

When you collaborate or meet with a person or group online, it is called

Answers

Answer:

Web Conferencing

Explanation:

When you collaborate or meet with people online, it is called a virtual meeting or collaboration.

What are virtual meetings?

They are meetings or collaborations done without the participants having to meet physically.

Instead, the participants meet via one or a combination of platforms specifically designed for such a purpose. These platforms include Discord,  Slack,  and so on.

More on virtual meetings can be found here: https://brainly.com/question/15293394

#SPJ2

Write a recursive function that accepts an integer argument, n. The function should display n lines of text on the screen, with the first line showing n spaces followed by an asterisk, the second line displaying n-1 spaces followed by an asterisk, to the nth line which shows 1 space and 1 asterisk.

Answers

I’m sorry Idk this I will try my best

Modern car odometers can record up to a million miles driven. What happens to the odometer reading when a car drives beyond its maximum reading?

Answers

Answer:

It would go to 1000000. Explanation:

  Unlike old vehicle odometers that will reach 999999 and stay there(though it is very unlikely to reach that figure) new vehicle odometers have the seventh digit reading and when it passes 999999 it would clock to 1000000.

     But in reality it is less likely for vehicles to reach the 999999 mark and most vehicle owners do not get to see their vehicles reach this mark as the vehicle will either be scrapped or abandoned before it gets to that million mile

Further, the ideal behind this million miles is due to the act of bad guys who tend to spin vehicle odometers to falsify their readings making it seem as though it has not gone a long mile.

The odometer reading of a modern vehicle resets to Zero, once it's maximum odometer reading is reached.

The odometer is a recording instrument in a car which is used to measure and keep a record of the total distance a car or wheeled machine such as bicycles has covered since their manufacture. The odometer is different from a speedometer which shows the current speed at which a car is moving. The odometer keeps track of distance, such that it takes the Cummulative sum of the distance covered usually in miles. The odometer resets to 0 once it's maximum value is exceeded.

Learn more : https://brainly.com/question/21087757?referrer=searchResults

A company's computers monitor assembly lines and equipment using ________ communications.

Answers

Answer:

Machine to machine communications

Explanation:

Machine to machine communication is a type of communication that exists among the technical devices. The communication is linked either with the help of wire or through wireless. The information is communicated and transmitted with this form of communication. Human involvement or intervention is not required during the transfer of data.

You have been hired to upgrade a network of 50 computers currently connected to 10 Mbps hubs. This long-overdue upgrade is necessary because of poor network response time caused by a lot of collisions occurring during long file transfers between clients and servers. How do you recommend upgrading this network?

Answers

Answer:

Following are the answer to this question:

Explanation:

A network adapter and network switches were also recommended because only 50 computer systems are accessible users could choose a router as well as two 24-port network cables. It could connect directly to a server or one computer with your router.  

It can attach some other machines to a switch.  If it is connected with the wireless router to the router so, it implies the ethernet port if you've had a landline installed two wireless networks throughout the location which can be easily accessed because the wired network will link all computers to all of it.

Switches could be managed or unmanaged unless circuits were also taken into account. It provides more implement strategies and remotely the controlled device can already be controlled as well as configured by the manager. In the CISCO and Dell controlled port devices, it also available for sustainabilty, that is used by the 24-port switches and for household or smaller networks, that's why we can upgrade it  

Other Questions
You have just moved from Florida to Alaska and you are having trouble adjusting to this new, colder climate. What is one thing you can do to acclimate to the cold without relying on technology, tools, heat, shelter, or extra clothing When analyzing any literary text, it is important to__ Determine whether the following statement is true or false. For a test of independence, the population that the data has come from must be normally distributed.A. TrueB. False An error condition consisting of an error in the passing of parameters -- a method passes or returns an unexpected value such as a negative price -- is usually found in what kind of testing?a. Unit testingb. Integration testingc. System testingd. Acceptance testing A exercise ball is on a table 2.5 m above the ground. What is the massof the ball if it has a GPE of 56.8 J? Kathleen is testing a mixture containing a certain substance. She takes a sample from the top and the bottom. The sample from the bottom has more of the substance than the sample from the top. What is this mixture? 1.what is goverment .what do it mean2. which country have the least number of people identify the property illustrated by the equation 8x(5x9)=(8x5)x9 The demand curve for the product of a firm in a competitive market is ________, and the demand curve for the product of a monopolist is ________. Group of answer choices If all the letters of the English alphabet were written on a piece of paper, over and over again, which letter would be the ten millionth letter to be written? Which is not a nicotine substitute? A nicotine patchB nasal sprayC nicotine gum D herbal cigarettes What type of deposit is illustrated below? Pay to the order of K.C. Thurman Jilly Flower 134 263 894 A bond pays annual interest. Its coupon rate is 8.5%. Its value at maturity is $1,000. It matures in 4 years. Its yield to maturity is currently 5.5%. The duration of this bond is _______ years. Multiple Choice 4.00 3.39 3.58 3.17 How might this front page help sell the newspaper? Why would such a story and title be a disservice to the people of New York? An underwater canyon begins at 40 feetbelow sea level and is 105 feet deep.What is the elevation of the bottom ofthe canyon? Which features characterize the Piedmont region? TFA teachers are required to jump into new situations with flexibility and curiosity to learn quickly, thus appealing to people with Joshua spins a spinner twice. The spinner consists of 3 equally spaced colors, Red, Blue, and Yellow. What is the probability that the spinner will stop on green and then yellow? ASAP Which types of chromosome mutations a.Increase the amount of genetic material in a particular chromosome provides definitions for food security and a pandemic