Search Header Logo

Java programming

Authored by Eleonor G.

Computers

Professional Development

Used 22+ times

Java programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Java statements: write the while loop, consider writing (expression) and {statements}

2.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Java statements: write the if else if statement, consider writing (expression) and {statements}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java String Methods:

LENGTH OF S

s.charAt(i)

s.length()

s.leght()

s.trim()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java String Methods:

search and replace s

s.toLow­erC­ase()

s.toUpp­erC­ase()

s.equals(s2)

s.replace(old, new)

5.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

Java String Methods:

search and replace of s, use the words old and new for the strings

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java String Methods:

s.equals(s2)

what it returns?

true if s equals s2

false if s equals s2

cat

0 if equal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a variable of type String:

remember-> the process of creating a variable is called declaration

string nameVariable:

String nameVariable;

int i;

long decimal = 2.4;

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?