IO STREAMS -1

IO STREAMS -1

Professional Development

12 Qs

quiz-placeholder

Similar activities

java

java

Professional Development

10 Qs

Formulier verwerking PHP

Formulier verwerking PHP

Professional Development

16 Qs

PHP nulmeting

PHP nulmeting

8th Grade - Professional Development

14 Qs

CTFL Mock Exam - 1

CTFL Mock Exam - 1

Professional Development

10 Qs

Curso UC - Clase 4

Curso UC - Clase 4

Professional Development

10 Qs

Streams

Streams

Professional Development

10 Qs

SOFTWARE INSTALLATION CAT 1

SOFTWARE INSTALLATION CAT 1

Professional Development

16 Qs

Media quiz

Media quiz

1st Grade - Professional Development

10 Qs

IO STREAMS -1

IO STREAMS -1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Jegathesh C1291

Used 5+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?