The Election interface provides two remote methods:
vote: with two parameters through which the client supplies the name of a candidate (a string) and the ‘voter’s number’ (an integer used to ensure each user votes once only). The voter’s numbers are allocated sparsely from the range of integers to make them hard to guess.
result: with two parameters through which the server supplies the client with the name of a candidate and the number of votes for that candidate.
Which of the parameters of these two procedures are input and which are output parameters?
vote: input parameters: name of candidate, voter’s number;
result: output parameters: name of candidate, number of votes
You might also like to view...
What is the corresponding numeric notation for a file with rw-rw-r-- permissions?
A. 221 B. 664 C. 110 D. 441
The ____ file format can store both vector and bitmap data.
a. JPEG b. GIF c. PSD d. EPS
A NIC is not concerned about the contents of the data part of a frame.
Answer the following statement true (T) or false (F)
If we are given the adjacency matrix of a weighted (undirected) graph, how can we use it to determine the number of edges in the graph?
What will be an ideal response?