Command that finds the largest value in a set of values.
Max
Command that finds the smallest value in a set of values.
Min
What is 4 % 3 ?
1
Name 3 New York Football teams?
Giants, Jets, Bills
How many terabytes is in one petabyte of storage?
1000
The process of storing a value in a variable.
Assignment
A module used to create random numbers in programs. The numbers generated are not really random.
Random
What is 15 % 10?
5
Capital city of Spain?
Madrid
How many possible outcomes can be generated by the following code?
random.randint(3,11)
8
3 -11
A symbol that defines a math operation.
Command that pulls in code to add functions to your code.
Import
What is output?
a = 5
b = 5
print(a + b / a)
6
Who was the first person to fly a plane?
Wilbur and Orville Wright
Wright Brothers
To input a decimal you need the ____________ function.
float
A calculation which gives the remainder of integers which have been divided
Modular Division
Data sets that are too large and complex for traditional data processing applications.
Big Data
What is the output of the following question?
print (7 * 3 - 4 +3**2)
26
What country is the world's largest producer of coffee?
Brazil
Which value will print?
print(max("cat", "dog", "iguana", "anteater", "fish", "aardvark"))
iguana
(Alphabetical max)
A collection of commands given a name, for example, input( ).
Function
A collection of code and functions that perform similar tasks.
Module
Consider the following code. What is the output?
a = 3
b = 3
print(a ** b)
27
(3*3*3)
Who invented Google?
Sergey Brin and Larry Page
What is the bug in the following code?
animal = random.choice(“cat”, “dog”, “fish”, “snake”)
Missing square brackets [ ]
animal = random.choice([“cat”, “dog”, “fish”, “snake”])