Mod 0 Terms Flashcards

1
Q

Any series of characters (alpha, numeric, or symbol) between quotation marks

A

String

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

Any whole positive or negative number, including 0

A

Integer

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

Any positive or negative number that involves a decimal

A

Float

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

true or false

A

Boolean

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

________are what allow us to store data in a Ruby program.

A

Variables

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

_________ is a Ruby Data Type that allows us to store multiple pieces of data in one variable.

A

Array

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

Each piece of data in an Array is referred to as an _______

A

element.

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

_____ s a piece of functionality that is built into the Ruby language, intended to be used on _____ specifically.

A

method Array

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

logical operators in Ruby

A

&& or and

|| or or

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

Conditional statements, or , are Ruby statements that evaluate to true or false

A

conditionals

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

comparison operators

A
== (equal)
!= (not equal)
> (greater than)
>= (greater than or equal to)
< (less than)
<= (less than or equal to)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_____ means it can take action on each element of an Array

A

iteration (iterate)

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

represents a collection of named values.

A

hash

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

______ is a package of instructions

A

Method

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

____ are inputs to a method

A

Arguments

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