Takes the opposite.
NOT
A precise set of rules for how to solve a problem.
Algorithms
Which symbol is used to show two values are equal?
==
What is the meaning of this relational operator:
>= ???
Greater than or equal to
Which computer hardware device performs the functions like click, point, drag, or select?
Mouse
Tests if both conditions are true.
AND
Keyword used to join test conditions in if statements.
Boolean
What does != mean?
Not
Command that tests a true/false condition.
If Statement
What is the name of the system that manages and programs hardware resources for a computer?
Operating System
Tests if at least one condition is true.
OR
A set of commands which can be run by calling it by name.
Function
Correct the mistakes in the code below:
IF (word = "winner ):
if (word == "winner" ):
The symbols used to compare values in true/false tests.
Relational Operator
Which information storage is used to store short-term running programs and data in a computer?
RAM ( Random Access Memory)
Used to let the program choose between two true/false options, happens when the if statement is false.
Else
Information sent to a function.
Parameter
Correct the mistakes in the following code:
IF (x < y < 6):
if (x < y and y < 6):
Tests a second (or third, or fourth...) condition in an if statement.
Elif
Input and output
Why do we analyze algorithms?
Predict performance and help choose which algorithm is best to use.
The set of rules that guide what is correct code for the compiler to run.
Syntax
What are five things algorithms must have?
have an order
have clear instructions
operations that can be done by a computer
produce a result
stop in a finite amount of time
Putting one if statement inside another.
Nested ifs
Popular computer brands like Apple, Dell and Microsoft started their offices from which place?
Garage - Silicon Valley