Java - Unit 1 Questions

Java - Unit 1 Questions

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Excel Quiz

Excel Quiz

KG - University

15 Qs

CHƯƠNG TRÌNH CON BT1

CHƯƠNG TRÌNH CON BT1

10th - 12th Grade

10 Qs

TIN 10 BÀI F14

TIN 10 BÀI F14

10th Grade

10 Qs

Arrays

Arrays

12th Grade

10 Qs

DTJSQuiz

DTJSQuiz

11th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1

АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1

12th Grade

12 Qs

Одновимірні масиви.

Одновимірні масиви.

10th Grade

10 Qs

Java - Unit 1 Questions

Java - Unit 1 Questions

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Jessica Guthrie

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following escape sequences adds a tab to the text in Java?

/t

\t

\tab

\tt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following escape sequences adds a new line in a Java program?

/n

\n

\new

\line

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a primitive data type?

int

bit

char

boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to hold true/false values?

int

float

char

boolean

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which two datatypes are used to hold values with decimal places?

float

double

int

char

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which datatype is most appropriate to use when storing bank account amounts?

boolean

double

int

char

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which datatype is most appropriate to use when storing the letter answer to a multiple choice question?

boolean

double

int

char

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

Already have an account?