Search Header Logo

Java Basics

Computers

9th - 12th Grade

Used 391+ times

Java Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the correct Java code to display the phrase "Java!"?

System.Out.Print("Java!");

System.Out.print("Java!");

System.out.Print("Java!");

System.out.print("Java!");

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which primitive type is for integers?

boolean

char

double

long

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which primitive type is for floating point decimals?

boolean

char

double

long

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which accepts the smallest range of values?

byte

int

long

short

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which puts the cursor on the next line after printing a String?

next()

nextLine()

print()

println()

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which is the conventional way to name a class in Java?

test

Test

Both are equally acceptable

Neither are acceptable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the 4 basic components of a computer system?

Processor, Main Memory, Secondary Memory and I/O
Processor, RAM, ROM and the bus
Processor, hard drive, VGA port and USB
Processor, RAM, I/O and Windows

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?