UNIT-4-2

UNIT-4-2

University

15 Qs

quiz-placeholder

Similar activities

PAS  X TKJ 2022

PAS X TKJ 2022

University

20 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Kiểm tra

Kiểm tra

University

10 Qs

Digital Icons

Digital Icons

12th Grade - University

16 Qs

Dasar Desain Grafis

Dasar Desain Grafis

12th Grade - University

15 Qs

KUIS MODUL 1 SIL 2022 - Pengembangan Sistem Informasi

KUIS MODUL 1 SIL 2022 - Pengembangan Sistem Informasi

University

10 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

UNIT-4-2

UNIT-4-2

Assessment

Quiz

Computers

University

Hard

Created by

N.ILAYARAJA IT

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the java.io package?

To perform network communications

To create graphical user interfaces

To manage database connections

To handle input and output operations

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is used for byte-oriented data input?

Reader

OutputStream

InputStream

Writer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does System.out refer to in Java?

Standard error stream

Standard output stream

Standard input stream

File output stream

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to read a line of text from the console using BufferedReader?

read()

getLine()

readLine()

nextLine()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default delimiter used by the Scanner class?

Tab

Newline

Space

Comma

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is used to write text data efficiently to a file?

PrintStream

BufferedWriter

Scanner

FileReader

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of stream is System.in?

FileReader

InputStream

PrintStream

BufferedReader

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?