Vocab and examples
Taking notes on vocab from the lessons that were taught and also implementing code examples.
- Logical Operator
- Selection?
- Iteration?
- Substring?
- If statement
- Variable
- Jupyter
- Strings
- Lists
- What is an algorithm?
- Adding more vocab:
isSaturday = True
isHoliday = False
if not isHoliday:
print('please start to work')
else:
print('take time off, it is a holiday!')
hasGas = True
noGas = False
if not noGas:
print('you have gas already')
else:
print('you need to fill your car up with gas')
nums = [1,2,3,4,5]
b = []
for i in nums:
b.append(i**2)
print(b)
greeting = ('what up everyone')
print(greeting[:])
print(greeting[:5])
x = 5
y = 10
if (x > 0):
print('x is greater than 0')
else:
print('x is less than 0')
goalsScored = ('you have scored 10 goals')
print(goalsScored)
menu = ('mexican food')
print(f"your type of food today will be: {menu}")
nums = [1,2,3,45,55]
print(nums)
winter = True
summer = False
if not winter:
print('its summertime')
else:
print('its winter')
Adding more vocab:
Square brackets
- [lists and tuples go inside]:
For Loop
- used for repeating a sequence
Metadata
- a set of data that describes and gives information about other data.
Binary
- a coding system using the binary digits 0 and 1 to represent a letter, digit, or other character in a computer or other electronic device. Calculate numbers by using the tens place method.
Preprocessing
- A step in the data mining and data analysis process that takes raw data and transforms it into a format (HTML) that can be understood and analyzed by computers and machine learning.
Abstraction Process
- Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.
Liquid
- Code that exits in the programming environment, but gets converted to something else when sent to the browser