Basic Input and Output in Java
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Barbara Sach-Lackner
Used 13+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
BASIC PROGRAMMING QUIZ by Group 5
Quiz
•
University
10 questions
Make DevOps, not DevUps
Quiz
•
University
10 questions
Python Basic level 1
Quiz
•
University
7 questions
Fundamental of Information Systems
Quiz
•
University
10 questions
cybercrime
Quiz
•
12th Grade - University
10 questions
El Paradigma Orientado a Objetos: Una Introducción Mediante Java
Quiz
•
University
10 questions
CHAPTER 3 - SECURITY BREACHES
Quiz
•
University
7 questions
ESBrotherX_Medical AI_Lecture
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
