Basic Input and Output in Java

Basic Input and Output in Java

University

5 Qs

quiz-placeholder

Similar activities

Què has après sobre el web ?

Què has après sobre el web ?

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

CD-2S5-23-5-22 WS21-22

CD-2S5-23-5-22 WS21-22

University

10 Qs

Geekers Battle - II (Batch - IV)

Geekers Battle - II (Batch - IV)

University

10 Qs

COMPUTERREADER

COMPUTERREADER

1st Grade - Professional Development

10 Qs

Kuis OSI

Kuis OSI

10th Grade - University

10 Qs

nestedif _ And _ Or

nestedif _ And _ Or

University

10 Qs

OOP Module 3 Tutorial (Quiz)

OOP Module 3 Tutorial (Quiz)

University

10 Qs

Basic Input and Output in Java

Basic Input and Output in Java

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Barbara Sach-Lackner

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

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

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which import is needed for System.out

java.lang.System

no import is needed

system.out

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

System.in offers...

read(byte[])

read(double[])

read(char[])

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

How can you read data from the console?

System.in.readLine();

System.in.read(byte[])

Scanner Class

Input class

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The correct import for Scanner is the _______ import

java.util.Scanner

java.in.Scanner

java.lang.Scanner

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Does Scanner throw an exception, and if so, which one?

Yes, InputException

Yes, IOException

No, no exception is thrown

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?