2.16.1: Basic Java Review

2.16.1: Basic Java Review

10th Grade

32 Qs

quiz-placeholder

Similar activities

Data Representation 1

Data Representation 1

10th Grade

28 Qs

Systems Architecture

Systems Architecture

8th - 10th Grade

30 Qs

Chapters 1-3

Chapters 1-3

10th - 12th Grade

27 Qs

AP CS A CH 1 Review

AP CS A CH 1 Review

10th - 12th Grade

27 Qs

D&T Challenge 1

D&T Challenge 1

9th - 12th Grade

30 Qs

Information System IS unit 49

Information System IS unit 49

4th - 10th Grade

27 Qs

Video Games

Video Games

KG - University

28 Qs

Hardware and Software Fundamentals

Hardware and Software Fundamentals

10th - 11th Grade

30 Qs

2.16.1: Basic Java Review

2.16.1: Basic Java Review

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Mark Freeman

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?