Which TCP congestion control mechanism causes the sender to halve its congestion window upon detecting packet loss via timeout?
Anonymous Quiz
17%
Slow start
52%
Congestion Avoidance
22%
Fast retransmit
9%
Fast recovery
Which algorithmic technique does dynamic programming primarily rely on?
Anonymous Quiz
32%
Divide and conquer with no overlapping subproblems
16%
Greedy local choices at each step
26%
Backtracking with pruning
26%
Memoization of overlapping subproblems
👍2
Which scheduling algorithm can lead to the 'convoy effect', where short processes wait behind a long one?
Anonymous Quiz
12%
Round Robin
54%
FCFS(First-Come, First-Served)
12%
Shortest Job First
23%
Priority Scheduling
In public-key cryptography, if Alice wants to send Bob a message only Bob can read, which key does she encrypt with?
Anonymous Quiz
41%
Alice's private key
19%
Alice's public key
22%
Bob's private key
19%
Bob's public key
👍1
In the context of neural networks, what does 'dropout' regularization do during training?
Anonymous Quiz
44%
Randomly deactivates a fraction of neurons on each forward pass
39%
Removes neurons with the lowest weights permanently
12%
Reduces the learning rate when loss plateaus
5%
Clips gradient norms to prevent explosion
🔥2
What is a 'closure' in programming?
Anonymous Quiz
20%
A function that cannot be called outside its module
43%
A function bundled with references to its surrounding lexical scope
23%
A class with no public methods
13%
A pattern for closing database connections
❤1👍1
What is the primary trade-off of using an event-driven, single-threaded architecture (like Node.js) compared to multi-threaded servers?
Anonymous Quiz
47%
Handles I/O-bound concurrency efficiently but struggles with CPU-bound tasks
29%
Cannot handle multiple requests simultaneously
10%
Cannot use TLS/SSL
14%
Uses more memory per connection
❤2
In a confusion matrix, 'precision' is calculated as:
Anonymous Quiz
28%
TP / (TP + FN)
44%
TP / (TP + FP)
15%
TN / (TN + FP)
13%
TP / (TP + TN)
❤1
What is 'thrashing' in virtual memory systems?
Anonymous Quiz
21%
Excessive CPU context switching between processes
58%
A state where the OS spends more time paging than executing processes
13%
Memory fragmentation causing allocation failures
8%
Cache invalidation storms across cores
Which statistic is least affected by extreme outliers?
Anonymous Quiz
27%
Mean
15%
Sum
14%
Average
45%
Median
👍1
Which data structure would you choose to implement an autocomplete feature?
Anonymous Quiz
31%
Trie
22%
Stack
19%
Queue
28%
Heap
👏1
What is a context switch?
Anonymous Quiz
19%
Switching databases
56%
Switching CPU execution
22%
Switching programming languages
3%
Switching monitors
Which browser storage mechanism is automatically sent with HTTP requests?
Anonymous Quiz
26%
Local Storage
53%
Cookies
10%
IndexedDB
12%
Session Storage
❤2
Which metric is most appropriate for evaluating a regression model's performance?
Anonymous Quiz
14%
F1 score
19%
ROC-AUC score
56%
Mean squared error
12%
Confusion matrix
❤3
What does the 'I' in ACID database properties stand for?
Anonymous Quiz
18%
Immutability
41%
Isolation
13%
Idempotency
29%
Integrity
👍2
Which traversal of a Binary Search Tree produces sorted output?
Anonymous Quiz
35%
Preorder
21%
Level Order
17%
Postorder
27%
Inorder
👍2
A developer changes a single function and unexpectedly breaks five unrelated features. Which design issue is MOST likely present?
Anonymous Quiz
17%
High cohesion
53%
Tight coupling
17%
Low Cohesion
13%
Loose coupling
What is the primary purpose of a load balancer?
Anonymous Quiz
0%
Store data
10%
Compile code
17%
Encrypt traffic
73%
Distribute requests
A computer has multiple CPU cores, but a program only uses one core. Which change is MOST likely to improve performance?
Anonymous Quiz
16%
Increase RAM
59%
Parallel execution
19%
Add caching
6%
Reduce disk space
❤3
Why do databases use transactions?
Anonymous Quiz
11%
To make queries shorter
12%
To improve UI responsiveness
16%
To reduce storage requirements
60%
To keep data consistent
Why is a model evaluated on data it has never seen before?
Anonymous Quiz
17%
To reduce training time
48%
To measure generalization
10%
To test memory usage
24%
To improve feature engineering