[Java] Review of User Input & Basic Arithmetic Operators

[Java] Review of User Input & Basic Arithmetic Operators

9th Grade

11 Qs

quiz-placeholder

Similar activities

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

CodeHS Unit 2

CodeHS Unit 2

11th - 12th Grade

13 Qs

JavaScript Coding

JavaScript Coding

9th - 12th Grade

15 Qs

JavaScript and Graphics Quiz

JavaScript and Graphics Quiz

9th - 12th Grade

15 Qs

JavaScript Variable

JavaScript Variable

9th - 12th Grade

15 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

[Java] Review of User Input & Basic Arithmetic Operators

[Java] Review of User Input & Basic Arithmetic Operators

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Rodelene Joy Leonorio

Used 2+ times

FREE Resource

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

*

%

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?