What is the output?
void greet() {
cout << "Hello, World!";
}
int main() {
greet();
return 0;
}
What is Hello World?
What is the output?
<style>
h1 { color: pink; }
</style>
<h1>Hello</h1>
What is a pink 'Hello'?
What is the output?
int main() {
int arr[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
cout << arr[4];
return 0;
}
What is 5?
The chemical name for water.
What is H2O?
One of the meetings GWC has held. (That is NOT study tables)
What is Valentine's Card, Cupcake Decorating, Women's History Month presentation, Bingo, LinkedIn, Github, Cookie Decorating, Debugging... ?
What is the output?
int main() {
int x = 2 * 3 + 4;
cout << x;
return 0;
}
What is 10?
What is the shape made?
<style>
.box { width: 100px; height: 100px; background-color: red; }
</style>
<div class="box"></div>
What is a red square?
The data structure that follows First In, First Out.
What is a queue?
The derivative of ex.
What is ex?
The full name of the main professor who teaches CptS 121 and 122.
Who is Andy/Andrew O'fallon?
What is the output?
int main() {
int x = 10;
int y = 3;
cout << x % y;
return 0;
}
What is 1?
What is the output?
let x = 15;
x += 37;
console.log(x);
What is 52?
The order that a stack uses.
What is LIFO (Last In, First Out)?
The formula for force.
What is F = ma (Force = mass x acceleration)?
The platform meant for professional networking.
What is LinkedIn?
This is a blueprint for creating objects, providing initial values for state, and implementations of behavior.
What is a class?
<img src="dog.jpg" alt="A cute dog">
What happens if the image file is missing?
What is "The text 'A cute dog' is displayed"?
Solve:
int main() {
stack<int> s;
s.push(2);
s.push(4);
s.push(6);
s.pop();
s.push(8);
s.pop();
cout << s.top();
return 0;
}
What is 4?
Solve: f(x) = x2 + 3x, find f'(2).
What is 7?
The process of identifying and removing errors in software.
What is debugging?
What is the output?
void func(int a, int b = 5, int c = 10) {
cout << a + b + c;
}
int main() {
func(3, 7);
return 0;
}
What is 20?
What is the output?
<script>
console.log(2 + "2");
</script>
What is "22"?
What is the output?
map<int, string> m;
m[1] = "one";
m[2] = "two";
m.erase(1);
cout << m.size();
What is 1?
Formula of Ohm's Law.
What is V = IR (Voltage = Current x Resistance)?
What are all our officers' names?
Who is Sierra, Skyllar, Molly, Caitlin, Alexis? Bonus: Guneet