What is a program?
An algorithm (or collection of algorithms) that has been coded into something that can be run by a machine
print("Hello my dudes")
Hello my dudes
C++
REAL CODE!
int numOPeople = 5
don't need to include int
What company codes phones (that sometime explode), washer machines, and now FRIDGES!
Samsung
What is looping?
The act of doing something over and over again
while(True):
print("Pie Shenanigans");
infinite loop of "Pie Shenanigans"
DOGO
Real code!
firstName = Reginald
Missing quotes around Reginald
This American city's public transportation system runs ENTIRELY off of pullies and cables.
What is San Francisco (cable cars)
What are conditionals?
Programs or "rewards" that only run when certain parameters are met.
x = "banana"
print("x")
x
LOLCODE
Code!
numOfStudent = "5"
numOfStudent += 1
trying to add 1 to a string
This technology allows for computer aided designs to be built to their exact specifications, in real time.
What is a 3D Printer
What is Camel Casing
The practice of writing compound words or phrases such that each word or abbreviation in the middle of the phrase begins with a capital letter, with no intervening spaces or punctuation
x = 0
while(x < 5):
print(x)
x += 1
0
1
2
3
4
Chicken
CODE
x = 5
print (x)
x needs to be casted as a string
This company wants to use drones to deliver packages
Amazon
What is a bug?
a error in the code
x = input("Enter a Number")
if (x >= 0):
print("Greater than 0")
if (x <= 0):
print("Less than 0")
If the input = 0 - infinity it will print out: "Greater than 0"
If the input = 0 -negative infinity it will print out: "Less than 0"
ColdFusion
CODE! Used by Adobe
x = "ABCDEF"
x[2] = 'c'
can't modify a string
This well known tech genius is one of the foremost names in clean energy and transportation. He also met with our president elect the other day
Elon Musk