<jupyter_start><jupyter_text>Lab One---Ok for this lab we're going to reiterate a lot of the things that we went over in class.Our Goals are:- Binary Math- Defining Variables    - Primitive Types    - Reference Types- Using Math- Manipulating Variables For this section I just want you to type the answer. I know that you can just look this up but try and do the math. 
 What is 1000 in Binary
 ^^^Answer: 8 -> ((2 ^ 0) * 0) + ((2 ^ 1) * 0) + ((2 ^ 2) * 0) + ((2 ^ 3) * 1) = 0 + 0 + 0 + 8
 What is 1000 1001 in Binary (This is a byte. It's just split for readability)
 ^^^Answer: 137 -> ((2 ^ 0) * 1) + ((2 ^ 1) * 0 ) + ((2 ^ 2) * 0) + ((2 ^ 3) * 1) + ((2 ^ 4) * 0) + ((2 ^ 5) * 0) + ((2 ^ 6) * 0) + ((2 ^ 7) * 1) = 1 + 0 + 0 + 8 + 0 + 0 + 0 + 128
 What is 1010 1111 in Binary (This is a byte. It's just split for readability)
 ^^^Answer: 175 -> ((2 ^ 0) * 1) + ((2 ^ 1) * 1) + ((2 ^ 2) * 1) + ((2 ^ 3) * 1) + ((2 ^ 4) * 0) + ((2 ^ 5) * 1) + ((2 ^ 6) * 0) + ((2 ^ 7) * 1) = 1 + 2 + 4 + 8 + 0 + 32 + 0 + 128
 What is 0101 1010 in Binary (This is a byte. It's just split for readability)
 ^^^Answer: 90 -> ((2 ^ 0) * 0) + ((2 ^ 1) * 1) + ((2 ^ 2) * 0) + ((2 ^ 3) * 1) + ((2 ^ 4) * 1) + ((2 ^ 5) * 0) + ((2 ^ 6) * 1) + ((2 ^ 7) * 0) = 0 + 2 + 0 + 8 + 16 + 0 + 64 + 0<jupyter_code>// Define 8 variables, one of each type listed: [boolean, byte, short, int, long, float, double, char]. Print all 8 of them.


// Definition of variables of each data type
boolean bool = true;
byte bitty = 25;
short lilnum = 12345;
int ints = 7;
long longly = 16;
float lofty = 0.12f;
double doubling = 0.18;
char letter_of_choice = 'd';

// Printing of each variable 
System.out.println(bool);
System.out.println(bitty);
System.out.println(lilnum);
System.out.println(ints);
System.out.println(longly);
System.out.println(lofty);
System.out.println(doubling);
System.out.println(letter_of_choice);
// Make me a list of any type

Integer[] num_even = {0, 2, 4, 6, 8};
// With whatever variables you'd like demonstrate the following: [Addition, Subtraction, Division, Multiplication, Modulo]. Print all 5.

// Definition of variables (for operation)
int x = 20;
int z = 10;

// Printing of variables, and operations with variables
System.out.println("First Variable: x = 20");
System.out.println("Second Variable: z = 10");
System.out.println("x + z = " + (x + z));
System.out.println("x - z = " + (x - z));
System.out.println("x * z = " + (x * z));
System.out.println("x /z = " + (x / z));
System.out.println("x % z = " + (x % z));
// Using 2 variables and addition print the number 57

// Definition of variables (for addition)
int int1 = 42;
int int2 = 15;

// Priting of addition operation b/w two pre-defined variables
System.out.println("int1 + int2 = " + (int1 + int2));
// Define a variable and print it out. Then alter the same variable and print it out. This can be through string concatenation or addition, etc.

// Definition of variable
int some_random_number_to_modify = 3;

// Priting of variable (from above)
System.out.println("Random Number = " + some_random_number_to_modify);

// Priting of modified varialbe (using addition of 2,048)
System.out.println("Random Number + 2048 = " + (some_random_number_to_modify + 2048));<jupyter_output>Random Number = 3
Random Number + 2048 = 2051
{'fraction_non_alphanumeric': 0.16396396396396395, 'fraction_numerical': 0.06696696696696697, 'mean_word_length': 3.0572472594397078, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '460075', 'license': 'MIT', 'n_tokens_mistral': 1369, 'n_tokens_neox': 1183, 'n_words': 460, 'path': 'JupyterNotebooks/Labs/Lab 1.ipynb', 'repo_name': '15-fiore/CMPT-220L-903-21S', 'size': '3330'}