2.16.1: Basic Java Review

2.16.1: Basic Java Review

10th Grade

32 Qs

quiz-placeholder

Similar activities

AP Java Exam

AP Java Exam

8th Grade - University

35 Qs

Array and ArrayLists in Java

Array and ArrayLists in Java

10th - 12th Grade

29 Qs

Java test 02

Java test 02

1st - 12th Grade

30 Qs

2023-2024 Fall final study guide

2023-2024 Fall final study guide

9th - 12th Grade

37 Qs

PBO - XI RPL (SMKN 1 Cisarua)

PBO - XI RPL (SMKN 1 Cisarua)

1st - 10th Grade

30 Qs

PBO - XII RPL (SMKN 1 Cisarua)

PBO - XII RPL (SMKN 1 Cisarua)

1st - 10th Grade

30 Qs

AP CSA Unit 3

AP CSA Unit 3

10th - 12th Grade

34 Qs

SKT5 : Bab 3 : c) Standard Library, Subaturcara, Tatasusunan

SKT5 : Bab 3 : c) Standard Library, Subaturcara, Tatasusunan

10th - 12th Grade

35 Qs

2.16.1: Basic Java Review

2.16.1: Basic Java Review

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Mark Freeman

Used 5+ times

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the method to print out text in Java?

System.out.println()

System.out.printline()

System.output()

System.out.PRINTLN()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following lines? int x = 24; System.out.println("The total is " + x + x);

The total is 24

The total is 2424

The total is 48

The total is x + x

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a primitive type?

int

double

String

boolean

char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of x after this code? int x = 5; x = 10; x = 4;

5

10

4

true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax to initialize a double called temperature to have the value 70.4?

int temperature = 70.4;

double temperature = 70.4;

temperature = 70.4;

float temperature = 70.4;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this expression? 5 + 2 / 3 + 1

5

6

6.67

0

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Which expression returns the 1’s place of an integer x?

Evaluate responses using AI:

OFF

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?