AP Computer Science A Review Flashcard

AP Computer Science A Review Flashcard

Assessment

Flashcard

Science

11th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What are the two types of streams defined in Java?

Back

Byte stream and character stream.

2.

FLASHCARD QUESTION

Front

What is the purpose of streams in programming?

Back

Streams are used for input and output operations.

3.

FLASHCARD QUESTION

Front

What classes are used for input and output operations in byte streams?

Back

InputStream and OutputStream classes.

4.

FLASHCARD QUESTION

Front

What classes are incorrectly associated with character streams?

Back

InputStream and OutputStream classes (character streams use Reader and Writer classes).

5.

FLASHCARD QUESTION

Front

What is the output of the expression 4 / 2 in Java?

Back

2

6.

FLASHCARD QUESTION

Front

What is the output of the following code: System.out.print("Hello"); System.out.print("World");

Back

HelloWorld

7.

FLASHCARD QUESTION

Front

What does the statement System.out.println("six " + 3 + 3); output?

Back

six 33

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?