Java Operators - Part 1

Java Operators - Part 1

11th Grade

20 Qs

quiz-placeholder

Similar activities

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

10th - 12th Grade

15 Qs

PYTHON PROGRAMMING

PYTHON PROGRAMMING

11th - 12th Grade

15 Qs

Programming with JavaScript: Mastery Test

Programming with JavaScript: Mastery Test

9th - 12th Grade

16 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

CodeHS JavaScript

CodeHS JavaScript

8th - 12th Grade

21 Qs

Codecademy Intro to JavaScript

Codecademy Intro to JavaScript

9th - 12th Grade

16 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

AP CSP Unit 5 Ch 1 Quiz

AP CSP Unit 5 Ch 1 Quiz

9th - 12th Grade

21 Qs

Java Operators - Part 1

Java Operators - Part 1

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Menandro Bravo

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The statement x = 5 can be read as “Variable x is equal to 5”.

Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The value assignment operator assigns the result of an expression to a variable.

Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A string can be assigned to a variable only by using the cin.nextLine() statement.

Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The statement 5 = y assigns value 5 to variable y.

Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

On the right side of a value assignment operator an arithmetic operator must always exist.

Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

On the right side of a value assignment operator only variables can exist.

Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You cannot use the same variable on both sides of a value assignment operator.

Media Image
Media Image

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?