A: Are you anxious? B: _____ ! If I fail, my life is over!
Anonymous Quiz
38%
Do I ever
45%
Am I ever
11%
Do you ever
7%
Are you ever
I met my wife in university. We _______ to have the same economics class.
Anonymous Quiz
4%
dared
15%
tended
8%
had
73%
happened
Forwarded from Ephraimite
Consider a group of k people. Assume that each person's birthday is drawn uniformly at random from the 365 possibilities. What is the smallest value of such k that the expected number of pairs of distinct people with the same birthday is at least one?
Anonymous Quiz
11%
20
19%
27
24%
28
46%
366
Forwarded from Ephraimite
Consider a directed graph G with a source vertex s, a destination t, and nonnegative edge lengths. Under what conditions is the shortest s-t path guaranteed to be unique?
Anonymous Quiz
41%
When all edges lengths are distinct positive integers and the graph G contains no directed cycles.
29%
None of the other options are correct.
26%
When all edge lengths are distinct powers of 2.
3%
When all edge lengths are distinct positive integers.
Forwarded from Ephraimite
We use a hash function h to hash n distinct keys into an array T of length m. Assuming simple uniform hashing that is, with each key mapped independently and uniformly to a random bucket .what is the expected number of pairs of distinct keys that collide?
Anonymous Quiz
19%
n(n − 1)/2m
31%
n/m²
28%
n(n − 1)/m
16%
n/m
6%
n²/m
_______ I realized astrology can’t accurately predict one’s future.
Anonymous Quiz
21%
It was until that moment then
15%
It was at that moment then
4%
It was until that moment which
60%
It was until that moment that
What's the output?
function sayHi() {
console.log(name); console.log(age); var name = 'Lydia'; let age = 21; } sayHi();
function sayHi() {
console.log(name); console.log(age); var name = 'Lydia'; let age = 21; } sayHi();
Anonymous Quiz
16%
A: Lydia and undefined
23%
B: Lydia and ReferenceError
15%
C: ReferenceError and 21
46%
D: undefined and ReferenceError
for (var i = 0; i < 3; i++) {
setTimeout(() => console.log(i), 1);
} for (let i = 0; i < 3; i++) { setTimeout(() => console.log(i), 1); }
setTimeout(() => console.log(i), 1);
} for (let i = 0; i < 3; i++) { setTimeout(() => console.log(i), 1); }
Anonymous Quiz
37%
A: 0 1 2 and 0 1 2
30%
B: 0 1 2 and 3 3 3
33%
C: 3 3 3 and 0 1 2
One ____________ remember that, sooner or later, everyone’s luck runs out.
Anonymous Quiz
17%
would well do
37%
would do well to
15%
might well to do
31%
might do well
const shape = {
radius: 10,
diameter() { return this.radius * 2; }, perimeter: () => 2 * Math.PI * this.radius, }; console.log(shape.diameter()); console.log(shape.perimeter());
radius: 10,
diameter() { return this.radius * 2; }, perimeter: () => 2 * Math.PI * this.radius, }; console.log(shape.diameter()); console.log(shape.perimeter());
Anonymous Quiz
35%
A: 20 and 62.83185307179586
45%
B: 20 and NaN
10%
C: 20 and 63
10%
D: NaN and 63
let c = { greeting: 'Hey!' };
let d;
d = c; c.greeting = 'Hello'; console.log(d.greeting);
let d;
d = c; c.greeting = 'Hello'; console.log(d.greeting);
Anonymous Quiz
53%
A: Hello
33%
B: Hey!
6%
C: undefined
8%
D: ReferenceError
0%
E: TypeError
let a = 3;
let b = new Number(3);
let c = 3; console.log(a == b); console.log(a === b); console.log(b === c);
let b = new Number(3);
let c = 3; console.log(a == b); console.log(a === b); console.log(b === c);
Anonymous Quiz
26%
A: true false true
13%
B: false false true
49%
C: true false false
11%
D: false true true
A _______ is a short piece of writing at the beginning of a book, as an introduction to it.
Anonymous Quiz
16%
starter
64%
foreword
13%
promotion
7%
surface
We must respond to opportunities before they become conventional wisdom. — Satya Nadella 我们必须在机遇成为普遍观点之前及时应对机遇。
quizSolver电报做题家 pinned «We must respond to opportunities before they become conventional wisdom. — Satya Nadella 我们必须在机遇成为普遍观点之前及时应对机遇。»