What is the Big O complexity of the following loop?
for (let i = 0; i < n; i++) {
console.log(i);
}
What is O(n)
In the Overworld, Steve gets tricked into clicking a sketchy link promising “Free Netherite!” — instead, it steals his login credentials.
What is phishing?
Legal instruments governing the use or redistribution of software.
What is software licensing?
What would this return?
let a = true;
let b = false;
return a == !b
What is true?
This base-2 number system uses only 1s and 0s to represent data.
What is Binary?
What is the time complexity of this nested loop?
for (let i = 0; i < n; i++) {
for (let j = 0; j < n; j++) {
console.log(i, j);
}
}
What is O(n^2)
A mysterious redstone contraption keeps sending endless books with weird links to every player’s mailbox—annoying, disruptive, and definitely not legit.
What is spamming?
Linux License Type
What is mr moreles facorite coler?
A.) Javascript
B.) Danielle Capybara
C.) Teal Von
D.) Macintosh
What is Teal Von?
This base-16 number system often shortens long binary sequences and uses the digits 0-9 and letters A-F.
What is hexadecimal?
What is the Big O complexity of this function?
function foo(arr) {
for (let i = 0; i < arr.length; i++) {
for (let j = i; j < arr.length; j++) {
console.log(arr[i], arr[j]);
}
}
}
What is O(n^2)
An Illager disguises his sender ID to appear like a trusted player, slipping past defenses and sending fake trade requests.
What is spoofing?
A legal agreement, like a contract between the person or company who created the software and the person or organization who wants to use the software
What is a license?
What would this return?
let a = false;
let b = true;
let c = a != b;
return c ? “Daniel” : “Capybara”;
What is Daniel?
The binary number 1010 is equal to this in hexadecimal.
What is A?
A function splits the input in half recursively:
function recursiveSplit(n) {
if (n <= 1) return;
recursiveSplit(Math.floor(n / 2));
recursiveSplit(Math.floor(n / 2));
}
A corrupted datapack allows hostile mobs to inject malicious commands into the chat window, making players run dangerous commands without knowing.
What is XSS?
Using GPL-licensed code in a closed-source commercial application without proper compliance can result in this legal action.
What is the result?
const result = !!(false && (true || (!0 && "0" && null)) || (!!undefined && !NaN));
console.log(result);
What is false?
The hex color #FF8800
What is orange?
A function loops through one array and does a binary search on another:
function mysteryFunction(arr1, arr2) {
for (let i = 0; i < arr1.length; i++) {
binarySearch(arr2, arr1[i]); // Assume this is O(log n)
}
}
What is O(n log n)
In a dramatic chase scene, a baby zombie rides a chicken right into the heroes’ base—but it wasn’t random. The zombie had detailed knowledge of the layout, thanks to a targeted deception campaign involving fake server invites.
What is spear phishing?
This type of software license allows users to freely use, modify, and distribute the software, but often requires that any derivative works also be distributed under the same license.
What is copyleft licensing?
Imagine that reference errors don’t exist
let a = true;
let e = !d;
let i = h;
let f = !d;
let c = !b;
let b = a;
let j = !f;
let h = !g;
let d = !c;
let g = f;
console.log(false !== j);
What does this return?
What is false?
To convert the binary 1101 0111 to hexadecimal
What is D7?