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

Question

2 / 20

Question

3 / 20

What is the output?

 

4 / 20

What value is stored in result if

5 / 20

Refer to the code:

Consider the implementation of a writeDeck method that is added to the Deck class.

6 / 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?

7 / 20

What will the output be?

8 / 20

What is the output?

9 / 20

What is the output?

10 / 20

What is the output?

 

11 / 20

Consider this inheritance hierarchy, in which Novel and Textbook are subclasses of Book.

12 / 20

What is the output ?

13 / 20

Question

14 / 20

The boolean expression !A && B || C is equivalent to

15 / 20

What is the output?

16 / 20

Question

17 / 20

Two students have developed a protocol in which they send 4-bit messages to each other. They decide to modify their protocol to start sending 8-bit messages instead. How many more values can be represented in an 8-bit message than a 4-bit message?

18 / 20

Question

19 / 20

What is the output?

20 / 20

What is the output?

Your score is

0%

Scroll to Top