New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Java IO Mastery Quiz

Quiz

Played 2 %Accuracy 55 Average time 02:39

About this activity

Java I/O basics

Created by

Philippines

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Java IO Mastery Quiz
 

Java IO Mastery QuizOnline version

Java I/O basics

by Gemmarie Tapnio-Muñoz
1

What class is typically used to read input from the keyboard in Java?

2

What does System.out.println() do?

3

Which package contains the Scanner class?

4

True or False: BufferedReader is used to read input efficiently line by line.

5

Which statement imports the Scanner class from its package?

6

True or False: nextInt() reads a decimal number.

7

Which method reads an entire line of text in Scanner?

8

Identify the purpose of a Java package.

9

What is the purpose of the JOptionPane class?

10

True or False: Catching exceptions is not needed with BufferedReader.

11

Which method of Scanner reads the next line of input?

12

What does System.out.print() do?

13

What is a package in Java used for besides grouping?

14

Which are common Scanner input methods? (select all)

15

Which class handles input streams efficiently for text in Java?

16

True/False: br.close() is recommended to free resources.

17

Name three classes involved in basic Java input: System.in, InputStreamReader, and ?

18

Which statement imports all classes from java.util?

19

True or False: JOptionPane is used to pop up a standard input dialog box.

20

What does nextBoolean() read from input?

21

Which Java language feature is used to group related classes to avoid naming conflicts?

22

Identify the class that provides standard dialogs for messages in Java GUI:

23

True/False: System.in is an InputStream associated with keyboard input.

Feedback

Scanner reads tokens from input; BufferedReader reads lines; System.in is the raw stream; JOptionPane handles dialogs.

println outputs text and advances to the next line.

Scanner is in java.util.

BufferedReader is designed for efficient line-by-line reading.

Correct syntax is import followed by the full package and class.

nextInt() reads an integer, not a decimal (double) value.

nextLine() captures the full line as a String.

Packages organize related classes and avoid naming conflicts.

JOptionPane displays dialogs for user interaction.

BufferedReader operations typically require exception handling.

nextLine() consumes the rest of the current line.

print outputs text on the same line; println adds a newline.

Packages help organization and namespace management.

Common Scanner methods include nextLine, nextInt, nextDouble.

BufferedReader reads text efficiently from streams.

Closing the stream frees resources.

These three are core to reading input in examples.

The wildcard form imports all classes in the package.

JOptionPane provides dialogs for input and output.

nextBoolean reads true/false values.

Packages organize and namespace classes.

JOptionPane shows dialog boxes for messages.

System.in is the standard input stream (InputStream).

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.