Search Header Logo

Java IO Fundamentals Quiz

Authored by JOHANN VIRGIL BATIANCILA

Computers

12th Grade

Used 1+ times

Java IO Fundamentals Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Stream in Java?

C. A data structure used to hold elements

B. A type of loop in Java

A. A flow of data from a source to a destination

D. A type of variable in Java

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class initiates the flow of data in Java streams?

D. End-Point Stream

A. Source Stream

B. Sink Stream

C. Node Stream

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the sources called in Java streams?

B. Output Streams

A. Input Streams

D. End-Point Streams

C. Node Streams

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data do Byte Streams handle?

C. Integer data

B. Non-Unicode data

D. Floating point data

A. Unicode data

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What concept does Java use to create complex I/O processing?

D. Polymorphism

C. Inheritance

B. Chaining Streams

A. Looping

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is used to accept inputs using BufferedReader and InputStreamReader?

C. InputStreamReader

B. FileWriter

D. BufferedReader

A. FileReader

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to format output in Java?

D. Integer.toString()

A. String.parse()

B. System.out.println()

C. String.format()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?