Data Types - JAVA & C# Flashcards

1
Q

Blocks

A

Also known as compound statement, are marked by delimiting with braces { }.

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

Boolean

A

Variable type used to represent a single true or false value. Size of 1 bit.

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

Byte

A

A variable type that is a sequence of 8 bits (enough to represent one character of alphanumeric data) processed as a single unit of information, Range [-127,128]

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

Char

A

Variable type with a size of 16 bytes whose range is all Unicode characters. It has a minimum value of ‘\u0000’ (or 0) and a maxiumum value of ‘\uffff’ (or 65,534 inclusive)

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

Double

A

Variable type of 64 bits and a range of [-1.7E308, 1.7E308]

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

Float

A

Variable type of 32 bits and a range of [-3.4E38,3.4E38]

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

Hexadecimal

A

These digits operate on a base-16 number These numbers use the letters A, B, C, D, E, and F along with the numbers 0 to 9 to create their 16 different digits, where A represents 10 and F represents 15. In programs written in the Java programming language must be preceded with 0x.

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

int

A

Variable type with 32 bits and a range of [-2147483648 to 2147483647] = 4 bytes of storage

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

Long

A

Variable type of 64 bits and with a range of [-9223372036854775808, 9223372036854775807]

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

Short

A

Variable type with a size of 16 bits and a range [-32768,32767 ]

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

Statements

A

smallest executable unit or instruction, each one ends in a semicolon.

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

Unicode

A

A standardized 16-bit character set that represents the character sets of most major languages in the world. The letters entered have to be above 192.

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

Variable Declarations

A

A statement that typically specifies two things about a variable: The variable’s name and the variable’s data type. Must be done before it can be used in a program.

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

Variable names

A

Strings of any length of letters, digits, underscores, and dollar signs that begin with a a letter, underscore, or dollar sign.

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