The CEO of CodeDay
Who is Tyler Menezes?
X = [[12,7],
[4 ,5],
[3 ,8]]
result = [[X[j][i] for j in range(len(X))] for i in range(len(X[0]))]
for r in result:
print(r)
What is Python?
accelerate graphics rendering
What is a GPU?
Slang adjective for someone you think is not what they seem, especially if they might be the imposter in the game βAmong Us.β
"What is 'Sus'?
Percent of a volume you can fill with spheres
What is 73 to 75 percent? (74.048) (pi/3*sqr(2))
The year that CodeDay is founded
When is 2009?
class Stack {
constructor() {
this.items = [];
}
// add element to the stack
add(element) {
return this.items.push(element);
}
// remove element from the stack
remove() {
if(this.items.length > 0) {
return this.items.pop();
}
}
// view the last element
peek() {
return this.items[this.items.length - 1];
}
// check if the stack is empty
isEmpty(){
return this.items.length == 0;
}
// the size of the stack
size(){
return this.items.length;
}
// empty the stack
clear(){
this.items = [];
}
}
let stack = new Stack();
stack.add(1);
stack.add(2);
stack.add(4);
stack.add(8);
console.log(stack.items);
stack.remove();
console.log(stack.items);
console.log(stack.peek());
console.log(stack.isEmpty());
console.log(stack.size());
stack.clear();
console.log(stack.items);
What is JavaScript?
Used to type
What is a keyboard?
This is the voice of sonic
What is the 25th?
The person who is in first CodeDay Instagram post
Who is Tyler Menezes?
let mut optional = Some(0);
loop {
match optional {
Some(i) => {
if i > 9 {
println!("Greater than 9, quit!");
optional = None;
} else {
println!("`i` is `{:?}`. Try again.", i);
optional = Some(i + 1);
}
},
_ => { break; }
}
}
What is Rust?
connecting the PC Case's Power Switch, Reset Switch and LED indicators to the motherboard
What is the front IO panel?
What is $2700?
The amount of people that are here
Ryan's first CodeDay
When is Fall 2016?
IDENTIFICATION DIVISION.
PROGRAM-ID. STRINGHANDLE.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-CNT1 PIC 9(2) VALUE 0.
01 WS-CNT2 PIC 9(2) VALUE 0.
01 WS-STRING PIC X(25) VALUE 'ABCDADADADABVDFDFFAF'.
01 WS-STRING-DEST PIC A(30).
01 WS-STR1 PIC A(15) VALUE 'TUTORIALSPOINT'.
01 WS-STR2 PIC A(7) VALUE 'WELCOME'.
01 WS-STR3 PIC A(7) VALUE 'TO AND'.
01 WS-COUNT PIC 99 VALUE 1.
01 WS-UNSTR PIC A(30) VALUE 'WELCOME TO TUTORIALSPOINT'.
PROCEDURE DIVISION.
*> count the number of chars in string, store in ws-cnt1
INSPECT WS-STRING TALLYING WS-CNT1 FOR ALL CHARACTERS.
DISPLAY "WS-CNT1 : "WS-CNT1.
*> count just the A characters
INSPECT WS-STRING TALLYING WS-CNT2 FOR ALL 'A'.
DISPLAY "WS-CNT2 : "WS-CNT2.
*> replace A chars with X in strings
DISPLAY "OLD STRING : "WS-STRING.
INSPECT WS-STRING REPLACING ALL 'A' BY 'X'.
DISPLAY "NEW STRING : "WS-STRING.
*> string concatenate
STRING WS-STR2 DELIMITED BY SIZE
WS-STR3 DELIMITED BY SPACE
WS-STR1 DELIMITED BY SIZE
INTO WS-STRING-DEST
WITH POINTER WS-COUNT
ON OVERFLOW DISPLAY 'OVERFLOW!'
END-STRING.
DISPLAY 'WS-STRING : 'WS-STRING-DEST.
DISPLAY 'WS-COUNT : 'WS-COUNT.
*> string split
UNSTRING WS-UNSTR DELIMITED BY SPACE
INTO WS-STR3, WS-STR2, WS-STR1
END-UNSTRING.
DISPLAY 'WS-STR1 : 'WS-STR1.
DISPLAY 'WS-STR2 : 'WS-STR2.
DISPLAY 'WS-STR3 : 'WS-STR3.
STOP RUN.
What is COBOL?
provides power for the real time clock to run
This is the season that Arenas released on Apex Legends
What is Season 9?
Brian Griffin (the dog on family guy)
What is hit by a car?
What is 2575 people?
πππΌπΉ ππΉ ππ«πΈ ππ«π³πΉππΈ
What is cuneiform?
Used to connect a coax television cable to a computer
Do the fortnight default dance
What is *fortnight default dances*?
The number I am thinking of
Think?