Mod 0 Terms Flashcards
Any series of characters (alpha, numeric, or symbol) between quotation marks
String
Any whole positive or negative number, including 0
Integer
Any positive or negative number that involves a decimal
Float
true or false
Boolean
________are what allow us to store data in a Ruby program.
Variables
_________ is a Ruby Data Type that allows us to store multiple pieces of data in one variable.
Array
Each piece of data in an Array is referred to as an _______
element.
_____ s a piece of functionality that is built into the Ruby language, intended to be used on _____ specifically.
method Array
logical operators in Ruby
&& or and
|| or or
Conditional statements, or , are Ruby statements that evaluate to true or false
conditionals
comparison operators
== (equal) != (not equal) > (greater than) >= (greater than or equal to) < (less than) <= (less than or equal to)
_____ means it can take action on each element of an Array
iteration (iterate)
represents a collection of named values.
hash
______ is a package of instructions
Method
____ are inputs to a method
Arguments