Java Variables, Input and Output

Java Variables, Input and Output

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

KOMPUTER DAN JARINGAN DASAR

KOMPUTER DAN JARINGAN DASAR

10th Grade

10 Qs

Input Device

Input Device

9th - 10th Grade

16 Qs

bài 7. Phần mềm máy tính-tin10

bài 7. Phần mềm máy tính-tin10

10th Grade

10 Qs

Conditions

Conditions

8th - 10th Grade

16 Qs

Data structure test1

Data structure test1

12th Grade

20 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Soal Simulasi Ujian Daring Informatika

Soal Simulasi Ujian Daring Informatika

10th Grade

15 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

Java Variables, Input and Output

Java Variables, Input and Output

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Created by

Claire Firman

Used 85+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What values can a boolean variable store?

true

false

hum hum

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The value 'e' would be best stored in a _____ type of variable.

char

int

double

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An int type variable can only store

whole numbers

real numbers

zeroes

Numbers less than 1000

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We store real numbers in this type of variable:

double

single

int

char

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To store text like a name or address we use this type of variable:

String

text

letters

string

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To output or display data on the screen we use:

System.out.println()

Print()

System.display()

JOptionPane.toScreen()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The shortcut for System.out.println is:

sout <TAB>

salt <TAB>

sop <TAB>

<Ctrl> <P>

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?