IO STREAMS -1

IO STREAMS -1

Professional Development

12 Qs

quiz-placeholder

Similar activities

8255 PPI

8255 PPI

Professional Development

10 Qs

Javascript

Javascript

Professional Development

17 Qs

Operating Systems

Operating Systems

Professional Development

12 Qs

Untitled Quiz

Untitled Quiz

Professional Development

10 Qs

Python Data Structures & Statements

Python Data Structures & Statements

Professional Development

11 Qs

การใช้คอมพิวเตอร์และสารสนเทศเพื่องานอาชีพ

การใช้คอมพิวเตอร์และสารสนเทศเพื่องานอาชีพ

Professional Development

10 Qs

Deci- Session 1- Time Machine

Deci- Session 1- Time Machine

Professional Development

12 Qs

Data Science / AI

Data Science / AI

Professional Development

15 Qs

IO STREAMS -1

IO STREAMS -1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Jegathesh C1291

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The …………………… package contains a large number of stream classes that provide capabilities for processing all types of data.

java.awt

java.io

java.util

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State whether the following statements about the stream in Java.

i) The two basic streams used are the input and output streams.

ii) Filters are used to read data from one stream and write it to another stream.

True, True

True, False

False, True

False, False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The InputStream class defines methods for performing input functions such as

i) reading bytes ii) closing streams

iii) skipping ahead in a stream iv) flushing streams

ii, iii and iv only

i, ii and iii only

i, iii and iv only

All i, ii, iii and iv

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The OutputStreams includes methods that are designed to perform the following tasks.

i) closing streams ii) flushing streams

iii) reading bytes iv) writing bytes

ii, iii and iv only

i, ii and iii only

i, ii and iv only

All i, ii, iii and iv

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method(s) not included in InputStream class.

available( )

reset( )

flush( )

close( )

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following methods not included in OutputStream class.

write( )

skip( )

close( )

flush( )

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The class DataInputStream extends …………………….. and implements the interface DataInput.

FileInputStream

SequenceInputStream

FilterInputStream

InputStream

Create a free account and access millions of resources

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?