Variables Java

Variables Java

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

QUIZ 3 - MULOK

QUIZ 3 - MULOK

12th Grade

20 Qs

Quiz KD Class Library di Java

Quiz KD Class Library di Java

11th Grade

16 Qs

ALGORITMA

ALGORITMA

10th Grade

20 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

Project-Stem Unit 1 python coding

Project-Stem Unit 1 python coding

9th - 12th Grade

12 Qs

PROGDAS #1

PROGDAS #1

10th Grade

20 Qs

Evaluación intermedia once

Evaluación intermedia once

1st - 11th Grade

20 Qs

Quiz Pemrograman Java dengan netbeans

Quiz Pemrograman Java dengan netbeans

10th Grade - University

16 Qs

Variables Java

Variables Java

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Charles Martinez

FREE Resource

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>

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?