Answer:
that is so long i just want points
Explanation:
Answer:
(b) (int)(Math.random() * 101)
Explanation:
Given
--- minimum
--- maximum
Required
Java expression to generate random integer between the above interval
The syntax to do this is:
(int)(Math.random((max - min) + 1) + min)
Substitute the values of max and min
(int)(Math.random((100 - 0) + 1) + 0)
Simplify the expression
(int)(Math.random(100 + 1) + 0)
(int)(Math.random(101) + 0)
(int)(Math.random(101))
Hence, the right option is:
(b) (int)(Math.random() * 101)
Have a look at the man page for printf:
man 3 printf
Program testing is an evaluative process which is also called Unit Testing by the programmers.
Explanation:
Software testing is an important step in the software development process. The procedure analyzes the functionality of it and if it meets the specified requirements or not. This is a four-stage procedure that involves analysis, planning, development, setting the test environment, and finally the execution of the test.
The main stages of testing that will result in an error-free and quality product are-
- Unit testing
- Integration testing
- System testing
- Acceptance testing