Answer:
Explanation:
i) On a cold day, Capacity = (66 X 910 X 10∧-9) F
Charge, Q = (66 X 910 X 10∧-9) X 5050 = 0.30 Columb
Current, I= 5050/131013 = 0.039 Amp (where Resistance = 131013 ohms)
Time, t= 0.30/0.039 = 7.7 seconds
ii) On a humid day, Capacity = (77 X 910 X 10∧-9) F
Charge, Q = ( 77 X 910 X 10∧-9) X 5050 = 0.35 Columb
Current, I= 5050/6106 = 0.83 Amp ( where Resistance = 6106 ohms)
Time, t= 0.35/0.83 = 0.42 h or 0.42 X 60 mins = 25 mins
Discuss why different user interfaces require the use of different types of input device. Page 15. What is Secondary Storage? List 3 Storage Mediums: What is ...
mark me brain list
Answer:
C. Pipes
Explanation:
Pipes are medium of communication between two or more interrelated processes. It is used for communication between operating system components. It is also used in exchanging messages between components of large programs. It implements interprocess communications through an interface. It passes information from one program process to another.
(B) reporting additional cash found in the cash register
Answer:
words.hasNext()
Explanation:
Given the code snippet below:
- while (inputFile.hasNextLine()) {
- String word = "";
- String line = inputFile.nextLine();
- Scanner words = new Scanner(line);
- while (words.hasNext()) {
- word = words.next();
- }
- System.out.println(word); }
- }
We have a inputFile Scanner object that can read data from a text file and we presume the inputFile has read several rows of data from the text file. So long as there is another line of input data available, the outer while loop will keep running. In each outer loop, one line of data will be read and assign to line variable (Line 3). Next, there is another Scanner object, words, which will take the current line of data as input. To get the last word of that line, we can use hasNext() method. This method will always return true if there is another tokens in its input. So the inner while loop will keep running so long as there is a token in current line of data and assign the current token to word variable. The word will hold the last token of current line of data upon exit from the inner loop. Then we can print the output (Line 8) which is the last word of the current line of data.