Vocab 1
Vocab 2
Math
Code
Others
100

Storing a value in a variable. 

Assignment

100

Symbol that defines a math operation.

Operator 

100

8 ** 2

64

100

Write a code that does the following: 43

import math

math.pow(4, 3)

OR

4 ** 3

100

What is the output?

x = 50

print("Answer is " + x)

Cannot concatenate string and number

200

Gives the remainder of integer which have been divided. 

Modular Division (%)

200

Collection of commands given a name, ex.: input()

functions 

200

5 - 4 * 9 + 3

-28

200

Complete the code:

x = 6

y = 10

# Add these two variables together

x + y

200

What is the output? 


print (56 / 0)

ERROR: Cannot divide by zero.

300

pulls in code to add functions to your code.

import

300

Collection of code and functions that perform similar tasks. 

Module

300

3 % 10 * 5 - (5 * 3)

0

300

Use a command that will display a red screen.

RGB(255, 0, 0)

300

56.0 is what type of datatype? 

float

400

Command used to mix colors - red, green, and blue

RGB

400

2^40 or one million million (10^12) bytes

Terabyte

400

6 * 8 / 3 % 7 * 4

8

400

Random a number between 10 and 50

import random

random.randint(10, 50)

400

What is the output?

x = ("animal", "apple", "april", "ape", "are")

print(min(x))

animal

500

Module used to create random numbers in programs. Numbers are not really random.

Random

500

Data sets that are too large and complex for traditional data processing applications.

Big Data
500

((8 * 6) + 4) % (6 + 4) * 9 / 3

6

500

Complete the code:

x = (10, 20, 30, 25, 45, 12, 42, 9, 11)

# How do we find the maximum value in the dataset stored in x and then display it?

print(max(x))

500

Name three functions that are used in the math module.

fabs

pow

sqrt