0%
0 votes, 0 avg
23

This quiz randomly generates 20 questions as asked in AP Computer Science A (AP CSA) - Programming in Java.

Congratulations!

(AP CSA) - Programming in Java

AP Computer Science A (AP CSA) - Programming in Java

This quiz randomly generates 20 questions (in 30 mins) as asked in AP Computer Science A (AP CSA) - Programming in Java.

1 / 20

What is the output?

 

2 / 20

What is the output ?

3 / 20

Question

4 / 20

What is the output?

5 / 20

Refer to the Point, Quadrilateral, and Rectangle classes below:

6 / 20

Question

7 / 20

What is the output ?

8 / 20

The insert method has two string parameters and one integer parameter. The method returns the string obtained by inserting the second string into the first starting at the position indicated by the integer parameter. For example, if strl contains xy and str2 contains cat, then

 

9 / 20

Question

10 / 20

Question

11 / 20

Question

12 / 20

Question

13 / 20

Number systems with different bases such as binary (base-2) and decimal (base-10) are all used to view and represent digital data.
Which of the following is NOT true about representing digital data?

14 / 20

Question

15 / 20

Which three statements are true about the structure of a Java class? (Choose three.)

16 / 20

Which three pieces of code, when inserted independently, set the value of amount to 100?

17 / 20

What output will be produced by invoking secondTestMethod for a Tester object, assuming that testArray contains 3, 4, 5?

18 / 20

Question

19 / 20

Question

20 / 20

What is the output?

Your score is

0%

Scroll to Top