Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. What value is output with label Output #1? a. 0 b. 20 c. 30 d. 75 e. None of

ID: 3832951 • Letter: 1

Question

1. What value is output with label Output #1?

a. 0
b. 20
c. 30
d. 75
e. None of the above

2. What value is output with label Output #2?

a. 0
b. 20
c. 30
d. 69
e. None of the above

3. What value is output with label Output #3?

a. 0
b. 20
c. 30
d. 75
e. None of the above

4. What value is output with label Output #4?

a. 0
b. 20
c. 30
d. 69
e. None of the above

5. What value is output with label Output #5?

a. 10
b. 15
c. 20
d. 30
e. None of the above

6. What value is output with label Output #6?

a. M
b. T
c. W
d. R
e. None of the above

7. What value is output with label Output #7?

a. 69
b. 75
c. 81
d. 89
e. None of the above

8. What value is output with label Output #8?

a. M
b. T
c. W
d. F
e. None of the above

9. What value is output with label Output #9?

a. 69
b. 75
c. 81
d. 89
e. None of the above

10. What is the value of the last output?

a. 0
b. 144
c. 225
d. 314
e. None of the above

class Quiz12 int count, j, s, x, y; char ltr Day int score public void appMain initvars System. out.println ("output ++count is x) System.out.println ("Output ++count is y) x PerMute (x, y) System. out.println ("output ++count is x) System. out.println ("output ++count is y) System. out.println ("output ++count is PerMute (10, 15) System. out.println ("output ++count is ltrDay[1]) System. out.println ("output ++count is score C1]) System.out.println ("Output ++count is ltrDay [0]) System. out.println ("output ++count is score [2]) for (j 0 j 3 j++) s c score [j]; System. out.println ("output ++count is s) int PerMute (int a int b) int c; b a; a E C; return (a) void initvars count s 0; 20 y 30 ltrDay new char ('M F score new int 175, 69 81, 89, 92 77, 10, 100)

Explanation / Answer

1. What value is output with label Output #1?

Ans) b. 20

__________________

2. What value is output with label Output #2?

Ans) c. 30

__________________

3. What value is output with label Output #3?

Ans) c. 30

__________________
4. What value is output with label Output #4?

Ans) c. 30

__________________

5. What value is output with label Output #5?

Ans) b. 15

__________________

6. What value is output with label Output #6?

Ans) b. T

__________________

7. What value is output with label Output #7?

Ans) a. 69

__________________

8. What value is output with label Output #8?

Ans) a. M

__________________

9. What value is output with label Output #9?

Ans) c. 81

__________________

10. What is the value of the last output?

Ans) c. 225
__________________Thank You