Data Types Flashcards

(7 cards)

1
Q

What is assignment operator?

A

(=). An equals sign. Assigns value to variable.

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

What is boolean?

A

True or False (value).

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

What is a float?

A

A number with a decimal.

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

What is an integer?

A

A whole number.

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

What is a string?

A

Text closed in quotes.

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

What is irb?

A

A command for testing ruby.

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

What is a variable?

A

Named container to store data (ex: greeting = “___Hi___ “). Think of a box with a label.

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