
[Java] Review of User Input & Basic Arithmetic Operators
Authored by Rodelene Joy Leonorio
Computers
9th Grade
Used 3+ times
![[Java] Review of User Input & Basic Arithmetic Operators](https://cf.quizizz.com/img/studentpreview.webp)
AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What do we use in Java to display OUTPUT to the user?
Scanner
System.out.println
System.out.println
main(String[] args)
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What do we use in Java to get INPUT from the user?
Scanner
System.out.println
System.out.println
main(String[] args)
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
When do we use the nextLine() method in Java?
To read a full line of text input
To display output to the user
To read only a single word from the user
To end a Java program
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the purpose of the nextInt() method in Java?
To read a full line of text input
To display a number on the screen
To read an integer value from the user
To declare an integer variable
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the + symbol used for in Java?
Addition
Subtraction
Multiplication
Division
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the - symbol used for in Java?
Addition
Subtraction
Multiplication
Division
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What symbol do we use for multiplication in Java?
/
x
*
%
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?