Search Header Logo

CSA Lessons 1-10

Authored by Anne Kohart

Computers

10th - 12th Grade

Used 12+ times

CSA Lessons 1-10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which variable type is NOT a primitive variable type?

boolean

String

int

double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 3/2 in Java?

1.5

1.0

1

0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 3.0/2 in Java?

1.5

1.0

1

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 2%1?

0

1

2

This cannot be calculated.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the long form of x++?

x += x;

x = x + 1;

x + 1;

y = x + 1;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does modulus fall within the PEMDAS order of operations?

After multiplication and division

Before multiplication and division

At the same level of multiplication and division

Whenever you feel like it.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is an incorrect attempt at instantiating a String object?

new String("hi!");

String s = new String("hi!");

String s = "hi!";

String s = String("hi!");

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?