Answer:
Option b is the correct answer for the above question.
Explanation:
- The mystery function is a recursive function that calls for the two times when the user passes 38 on the argument.
- The first value is 38 and the second value is 2 for which that function is called.
- When the value 38 is passed, then again 2 is passed because of the "mystery (n % 3);" statement.
- This statement holds by the if condition which gives the true when the argument value is greater than 2.
- Hence for the 2 value the if condition will not true and the function is not called again.
- Then the 38/3 and 2/3 are printed whose value is 12 0, but it will print 0 12 because of the recursive function.
- Hence option b is the correct answer while the other is not because other options does not states the output of this program.
Answer:
4160000 bytes
Explanation:
One page = 52 lines of text
One line of text = 80 characters
=> One page = 80 x 52 = 4160 characters
Therefore, 500 pages of text will have 4160 x 500 characters = 2080000 characters.
Since 1 character takes up 2 bytes of computer memory, it impleies that a 500 page novel will take up 2080000 x 2 bytes = 4160000 bytes.
I think it is D because you would need there contact information in case something happens not there trade name