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
A website loads slowly because it requests 500 small images. What is the main issue?
Anonymous Quiz
76%
Too many network requests
7%
Too much HTML
6%
Too many comments
11%
Too many CSS classes
👍1
What problem was DNS primarily created to solve?
Anonymous Quiz
18%
Packet loss problem
68%
Human-friendly addressing
14%
Bandwidth limitations
0%
Data encryption
👍1
What does high variance usually indicate?
Anonymous Quiz
7%
Normalization
25%
Underfitting
32%
Convergence
36%
Overfitting
👍3
What is the output of this code?
x = [1, 2, 3]
y = x y.append(4) print(len(x))
x = [1, 2, 3]
y = x y.append(4) print(len(x))
Anonymous Quiz
22%
3
40%
4
27%
Error
11%
Undefined
❤3
Two transactions modify the same record simultaneously and produce inconsistent results. What issue occurred?
Anonymous Quiz
22%
Deadlock
13%
Replication
52%
Race Condition
13%
Index Fragmentation
👍2
Why is debouncing often used for search bars?
Anonymous Quiz
21%
To improve database normalization
58%
To reduce unnecessary requests
17%
To increase browser memory
4%
To compress responses