Search Header Logo

APCSA unit 2 question set 4

Authored by Caleb Kim

Computers

9th - 12th Grade

Used 2+ times

APCSA unit 2 question set 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_______________________ occurs when an integer value is divided by another integer value, resulting in the decimal places being thrown away.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What class is used to retrieve data from the keyboard?


3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators is used for string concatenation in Java?


&
|
%
+

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

__________________ operations are binary operations that replace the value of a variable.


5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

String a = "5";
String b = "10";
System.out.println(a + b);

 

5 + 10

15

510

5 10

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_________________ operators are operators that modify the value of a variable, rather than replacing the value.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Operator ___________________ is the order in which operations are performed.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?