Primitive Types Flashcards

1
Q

Integers (whole numbers)

A

Int

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

real numbers or decimals

A

Doubles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Single character

A

Char

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Logical values

A

Booleans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Converting from one date type to another

A

Casting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following is not a primitive type?
String, Int, Double, Boolean, Char

A

String

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a variable?

A

A variable is an identifier of a memory location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or false: Char is a primitive type.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly