Answer:
Forms help to reduce the data entry errors by the following ways as follows:
- As, forms are designed in a more user friendly way. So that it is easy to understand to the users and it also increases the accuracy of the information.
- In forms, very particular sections of information are divided into different section so it reduces the complexity and result into less data entry error.
- Forms automatically validate the data or information efficiently that is filled by the users. So, that is why there is less number of changes of errors while data entry.
Answer:
55
Explanation:
Given the codes as below:
- for (int a = 0; a < 10; a++)
- {
- for (int b = 10; b > a; b--)
- {
- System.out.print("#");
- }
- }
There are two layer loops in the code. The outer loop (Line 1) will run for 10 iterations by traversing through a = 0 to a=9. However, the inner loop (Line 3) will run for 10 + 9 + 8 + 7 +...+ 1 = 55 iterations.
Since the print statement is within the inner loop (Line 5) and therefore the number of printed "#" symbols is dependent on the number of iterations of the inner loop. There will be 55 "#" symbols printed.
The len ( ) function will run with each iteration, printing the element number each time.
Answer:
a. If the read is successful, the number of bytes read is returned.
b. If the end of file is encountered, 0 is returned.
Explanation:
A read function is one of the functions used in computer programming. A read function is used to read an information or data that was written before into a file.
If any portion of a regular file before to the end of file has not been written and the end of file is encountered the read function will return the bytes with value 0.
If read function has read some data successfully, it returns the number of bytes it read.