This combination of symbols is used often in if statements to set a variable NOT equal to a value.
What is != ?
Fran Kalal works at this company in graphic design and animation.
What is Pixar?
show ("What is your favorite number?")
let number = askForNumber("Number)
Number needs a second quotation mark.
This operator is used when using two or more conditions in an if statement.
What is && ?
What are clothes/textiles?
if firstNumbers !=secondNumbers {
show("That's right!")
}
The space on both sides of the operator must be the same.
What is looping?
The act of doing something over and over again
What is a difference between using let vs. var to declare a variable?
You CANNOT redeclare a variable using let or change the value, but you CAN redeclare a variable using var and change the value later.
Amy Robinson Sterling created this game to map neurons in the brain.
if snowAmount = 8 {
show("SNOW DAY!")
}
The equal operator needs two equal signs.
What are conditionals?
Programs or "rewards" that only run when certain parameters are met. They allow programs to make decisions often using if statements.
This is the location of each individual item inside an object in an array.
What is an index?
The ENIAC Women took part in this war by programming and using complex equations to calculate the trajectory to hit distant targets.
func addNumbers(inputA, inputB) ->
Int {
return inputA + inputB
}
Why is debugging necessary? What causes bugs?
Several programmers working on the same code can create inconsistencies which lead to bugs in the finished product.
This describes when the same actions is performed on each item in an array or simply the repetition of a process.
Iteration
Gitanjali Rao created Tethys to test the water quality in this location.
Where is Flint, Michigan?
function favorites() {
let favoriteSeason = ask("What is your favorite season?")
var favoriteColor = askForChoice("Color", strings: ["Blue", "Green", "Orange", "Purple", "Red", "Yellow"])
{
let favoriteSeason = askForChoice("Seasons", strings: ["Spring", "Summer", "Fall", "Winter"])
Let cannot be redeclared.