Java Level 1 Complete Review

Java Level 1 Complete Review

6th - 8th Grade

53 Qs

quiz-placeholder

Similar activities

NĂM HỌC 22-23_KHỐI 6 ÔN TẬP CUỐI HK2

NĂM HỌC 22-23_KHỐI 6 ÔN TẬP CUỐI HK2

6th - 8th Grade

50 Qs

Latihan Informatika PTS-2

Latihan Informatika PTS-2

8th Grade

50 Qs

Second Semester – Grade 7 Revision Sheet

Second Semester – Grade 7 Revision Sheet

7th Grade

55 Qs

ICT in society

ICT in society

5th Grade - University

50 Qs

Unit 2 Data Representation

Unit 2 Data Representation

4th - 10th Grade

57 Qs

KS3 - HTML Assessment

KS3 - HTML Assessment

7th - 8th Grade

53 Qs

Python Year 7 Assessment

Python Year 7 Assessment

7th - 9th Grade

55 Qs

Instrucțiuni Pascal: Evaluare finală

Instrucțiuni Pascal: Evaluare finală

8th Grade

50 Qs

Java Level 1 Complete Review

Java Level 1 Complete Review

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

Shauna Hurley

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

53 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following can be used for decimal values?

int
double
long
String

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Java a string is a

Group of visible symbols contained in "quotes"
Long strand of thread
A series of objects arranged in a line
A series of objects arranged in a line

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct way to create a String in Java?

"Hello, World" = String message;
String message = "Hello, World!";
message = Hello, World!;
String = "Hello, World!"

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is acceptable as a variable name in Java for int type?

myInt
myint!
4isMyFavoriteInt
my int

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following statement display when run? System.out.println(5+2*4-1);

12

27

5+2*4-1

11

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following statements display when run?

String str1="Hello";

String str2="Goodbye";

String str3=str1+str2;

System.out.println(str3+str1);

"str3+str1"
"HelloGoodbyeHello"
"HelloHelloGoodbye"
"Hello GoodBye Hello"

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Variable names can start with an underscore.

True
False

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?