Basic Input and Output in Java

Basic Input and Output in Java

University

5 Qs

quiz-placeholder

Similar activities

Computer Science: Computer Systems

Computer Science: Computer Systems

6th Grade - University

10 Qs

Introduction to AI - Healthcare & Business

Introduction to AI - Healthcare & Business

University - Professional Development

10 Qs

Chapter 2 Testing Throughout the SDLC

Chapter 2 Testing Throughout the SDLC

University

9 Qs

Quiz Rolling Vol.8

Quiz Rolling Vol.8

10th Grade - University

10 Qs

Topic 4-2: Multiple if-else and switch-case

Topic 4-2: Multiple if-else and switch-case

University

10 Qs

CHAPTER 1: COMPUTER SECURITY REVIEW

CHAPTER 1: COMPUTER SECURITY REVIEW

University

10 Qs

CLOUD COMPUTING: ACTIVITY 3

CLOUD COMPUTING: ACTIVITY 3

University

10 Qs

ระบบทางเทคโนโลยี ม.4

ระบบทางเทคโนโลยี ม.4

10th Grade - 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?

Discover more resources for Computers