Semester 1 Review 1

Semester 1 Review 1

12th Grade

28 Qs

quiz-placeholder

Similar activities

pra PSPM SC025 (F02 KML)

pra PSPM SC025 (F02 KML)

6th Grade - University

24 Qs

CPJ Lesson 0 IE

CPJ Lesson 0 IE

9th - 12th Grade

30 Qs

Java - Primitive Type

Java - Primitive Type

11th - 12th Grade

23 Qs

Unit 2 Quiz review

Unit 2 Quiz review

12th Grade

23 Qs

Pra-PSPM SC025(F04)

Pra-PSPM SC025(F04)

12th Grade

24 Qs

Unit 1 Primitive Types

Unit 1 Primitive Types

9th - 12th Grade

25 Qs

Chapter 2 Review

Chapter 2 Review

10th - 12th Grade

25 Qs

Java Programming Quizz-GX

Java Programming Quizz-GX

9th - 12th Grade

25 Qs

Semester 1 Review 1

Semester 1 Review 1

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Jeffrey Smith

Used 3+ times

FREE Resource

28 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Give the output (type error if there is an error):

int x = 5 % 3;

System.out.print(x);

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Give the ouput:

double x = 5 / 3;

System.out.println(x);

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Give the ouput:

double x = (double)7 / 2;

System.out.println(x);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Sterling silver is pure silver.

True

False

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Give the output:

System.out.println(5 + 2 * 3);

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is returned?

String s = "123";

if(s == "123")

return true;

return false;

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is returned?

String s1 = new String("apple");

String s2 = new String("apple");

if(s1 == s2)

return true;

return false;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?