Show:
Questions
Responses
Print
Unit 3 Vocab
Unit 1
Mixed Bag
Unit 2
You Missed It!
100
A set of commands which can be run by calling it by name.
What is a Function?
100
Command displays text and numbers on the screen.
What is print?
100
Functions in Python that can find the minimum or maximum of a list of numbers
What are min and max?
100
The variable type used to store decimal numbers.
What is float?
100
Instructions written in code that a computer follows.
What is a Program?
200
Information sent to a function.
What are Parameters?
200
Central Processing Unit - carries out program instructions.
What is the CPU?
200
To predict performance and help choose which algorithm is best to use.
What are the two reasons why we analyze algorithms?
200
"RGB (57,57,57)"
What is Grey?
200
Pulling information into the computer.
What is an input?
300
A command that tests a true/false condition.
What is an if statement?
300
Long term memory; storage.
What is secondary memory?
300
:
What is the symbol that has to appear at the end of an "if","elif" or "else" statement?
300
Collection of commands given a name, ex.: input( )
What is a function?
300
r = random.randint(0,255) g = random.randint(0,255) b = random.randint(0,255) randRGBColor = "RGB( " + str(r) + "," + str(g) + "," + str(b) + ")"
What is an example of code that will generate a random color?
400
The symbols used to compare values in true/false tests.
What are Relational Operators?
400
Function that translates Strings to integer numbers.
What is int?
400
Putting one if statement inside another.
What are nested if statements?
400
Storing a value in a variable.
What is Assignment?
400
3 % 15
What is 3?
500
The set of rules that guide what is correct code for the compiler to run.
What is Syntax?
500
Data and information from the real world.
What is analog?
500
Must have an order, have clear instructions, operations that can be done by a computer, produce a result, and stop in a finite amount of time.
What is an algorithm?
500
255%255
What is 0?
500
x = int(input("Input an integer: ")) if (x >= 0): print("Yay!") else: print("Boo!")
What is a statement that prints "Yay!" for values greater than or equal to 0 and "Boo!" for anything else.