IO STREAMS -1

IO STREAMS -1

Professional Development

12 Qs

quiz-placeholder

Similar activities

C Module 1 Quiz

C Module 1 Quiz

Professional Development

15 Qs

Chapter 4: ROM/RAM

Chapter 4: ROM/RAM

9th Grade - Professional Development

15 Qs

Online IT Test

Online IT Test

Professional Development

10 Qs

Keyboarding Vocabulary Part 1

Keyboarding Vocabulary Part 1

5th Grade - Professional Development

11 Qs

General sap

General sap

Professional Development

11 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Unity модуль 1

Unity модуль 1

Professional Development

10 Qs

VR and AR Tutorial 1

VR and AR Tutorial 1

Professional Development

16 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

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?