Monday 11/28

Essential Knowledge

Variable

Data Types

Lists

Tuesday 11/29

Lesson 3.3.1

Lesson 3.4

String :

Characters in sequential order

There may be some processes that can be applied to strings.

Every language has its own conventions, techniques, and capabilities.

Remainder:

The order of operations for division and multiplication is the same for operators with MOD. The syntax of MOD in Python and the majority of computer languages is %

Friday 12/02

Lesson 3.5

Relational Operators

Lesson 3.7

Monday 12/05

Lesson 3.8

Lesson 3.3.8

Lesson 3.10

Lesson 3.10.1

Tuesday 12/06

Lesson 3.9.1

Lesson 3.9.2

Lesson 3.9.3

Lesson 3.11

Monday 12/12

objective: To be able to select appropriate libraries and/or existing code to use in the creation of new programs.

getstate() Returns the current internal state of the random number generator
setstate() Restores the internal state of the random number generator
getrandbits() Returns a number representing the random bits
randrange() Returns a random number between the given range
randint() Returns a random number between the given range
choice() Returns a random element from the given sequence
choices() Returns a list with a random selection from the given sequence
shuffle() Takes a sequence and returns the sequence in a random order
sample() Returns a given sample of a sequence
random() Returns a random float number between 0 and 1
uniform() Returns a random float number between two given parameters
betavariate() Returns a random float number between 0 and 1 based on the Beta distribution (used in statistics)
expovariate() Returns a random float number based on the Exponential distribution (used in statistics)
gammavariate() Returns a random float number based on the Gamma distribution (used in statistics)
gauss() Returns a random float number based on the Gaussian distribution (used in probability theories)
lognormvariate() Returns a random float number based on a log-normal distribution (used in probability theories)
normalvariate() Returns a random float number based on the normal distribution (used in probability theories)
vonmisesvariate() Returns a random float number based on the von Mises distribution (used in directional statistics)
paretovariate() Returns a random float number based on the Pareto distribution (used in probability theories)

weibullvariate() | Returns a random float number based on the Weibull distribution (used in statistics)

Tuesday 12/13

Lesson 3.16

also known as a virtual experiment

Wednesday 12/14

Lesson 2.17-3.18

Mort Vocab

Unit 2… Binary/Data Terms

Bits, Bytes, Hexadecimal / Nibbles:

One byte is equivalent to eight bits.

Nibble: four consecutive binary digits or half of an 8-bit byte.

Hexadecimal: A byte (or octet) is 8 bits so is always represented by 2 Hex characters in the range 00 to FF.

Binary Numbers: Unsigned Integer, Signed Integer, Floating Point

Unsigned Integer: ust like integers (whole numbers) but have the property that they don’t have a + or - sign associated with them.

signed integer: A signed integer is a 32-bit datum that encodes an integer in the range

Floating point: A number type that may represent decimal values is a floating point number. It is stored in a particular format in a computer’s memory and is composed of a mantissa and an exponent.

Boolean: A boolean is a type of data that only has the options of true or false. In programming, it is frequently used to indicate the result of a comparison or logical process.

ASCII: The American Standard Code for Information Interchange (ASCII) is a convention for how characters are represented in computers. Each numerical value that it uses to represent a character is associated with a particular character.

Unicode is a standard for how characters are displayed on computers. Despite having a far larger variety of characters than ASCII and being able to represent characters from several languages and scripts, it is comparable to ASCII. RGB: The color model RGB (Red Green Blue) is utilized in computer graphics and digital photography. By blending various red, green, and blue light intensities, it simulates color.

Lossy: A method of data compression called lossy involves throwing away some of the data in order to make the data smaller. The quality may suffer as a result, but the data may become more manageable and straightforward to send.

Data compression that doesn’t cause any data loss is known as lossless data compression. It functions by figuring out methods to more effectively portray the data without erasing any of the original data.

Programming terms for designated storage areas that may store values are variables. A variable’s value can be altered while a program is running.

Data types are a way for programmers to categorize data according to the kind of value that it can store. Integers, floating point numbers, strings, and booleans are examples of common data types.

Assignment operator: In programming, an assignment operator is a symbol that is used to give a variable a value. The equal symbol (=) is used as the assignment operator in Python.

Lists: A list is an ordered collection of values in programming. Any data type may be stored in a list, and its indices can be used to access those items (the position of the value in the list).

Lists that include other lists are referred to as 2D lists.