Semester 1 Review 1

Semester 1 Review 1

12th Grade

28 Qs

quiz-placeholder

Similar activities

JAVA_CH2

JAVA_CH2

12th Grade

31 Qs

Java Fundamentals

Java Fundamentals

12th Grade

24 Qs

Java Review

Java Review

9th Grade - University

25 Qs

Java conditional/loop/method/user input

Java conditional/loop/method/user input

9th - 12th Grade

23 Qs

Parcial 1 Programación en Java

Parcial 1 Programación en Java

12th Grade

29 Qs

AP CSA Unit 6 Arrays

AP CSA Unit 6 Arrays

10th - 12th Grade

26 Qs

JavaScript Variables

JavaScript Variables

10th - 12th Grade

26 Qs

AP CSA Unit 2 Review

AP CSA Unit 2 Review

10th - 12th Grade

31 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?