What is the purpose of an API rate limiter?
Anonymous Quiz
0%
To speed up all requests equally
93%
To restrict how many requests a client can make in a given time window
4%
To translate API responses into JSON
4%
To cache database queries
Which statement best explains why binary numbers are used inside computers?
Anonymous Quiz
6%
Binary calculations are always shorter
63%
Electronic circuits can reliably represent 2 stable states
9%
Binary stores more information than decimal
22%
CPUs cannot process decimal numbers
What HTTP status code indicates a resource was not found?
Anonymous Quiz
8%
200
5%
301
82%
404
5%
500
Topic: Debugging & Code Output
🔍 Quick look before the question:
🔍 Quick look before the question:
def greet(name):
print("Hello " + name)
greet()
What happens when this code runs?
Anonymous Quiz
22%
It prints "Hello"
22%
It prints "Hello None"
50%
It raises a TypeError for a missing argument
6%
It runs but prints nothing
Which JOIN returns only rows with matches in both tables?
Anonymous Quiz
13%
LEFT JOIN
13%
RIGHT JOIN
58%
INNER JOIN
16%
FULL OUTER JOIN
What are the units of transmitted network data called?
Anonymous Quiz
83%
Packets
10%
Blocks
3%
Folders
3%
Files
What does refactoring mean in software development?
Anonymous Quiz
0%
Adding new features
97%
Restructuring existing code without changing its external behavior
3%
Deleting unused files
0%
Rewriting documentation
What is the space complexity of a typical recursive Fibonacci implementation without memoization?
Anonymous Quiz
3%
O(1)
55%
O(n)
31%
O(log n)
10%
O(n^2)
❤2
Which CSS property controls the space between an element's border and its content?
Anonymous Quiz
29%
margin
50%
padding
17%
spacing
4%
border-gap
What advantage does a doubly linked list have over a singly linked list?
Anonymous Quiz
5%
Faster random access
86%
It can be traversed backward as well as forward
9%
It uses less memory
0%
It supports binary search
What does the Python slice list[::-1] do?
Anonymous Quiz
25%
Removes the last element
57%
Reverses the list
12%
Sorts the list descending
7%
Returns an empty list
👍2
What is the default value of a boolean instance variable in Java?
Anonymous Quiz
20%
true
40%
false
36%
null
4%
0
Which concept allows one algorithm to solve many different problems by changing only the input?
Anonymous Quiz
7%
Hardcoding
59%
Abstraction
14%
Duplication
21%
Compilation
What is the core idea behind consistent hashing, and why is it useful for distributed caches?
Anonymous Quiz
19%
It hashes every request to the same single server for simplicity
52%
It maps servers and keys onto a hash ring, remapping only a few keys
14%
It guarantees perfectly even load regardless of key distribution
14%
It's a way to encrypt cache keys
What is the amortized time complexity of appending to a dynamic array (like Python's list or Java's ArrayList)?
Anonymous Quiz
18%
O(n) always, because it must resize every time
68%
O(1) amortized, even though occasional resizes cost O(n)
9%
O(log n) amortized
5%
O(1) worst case, every single append
What does the strict equality operator === check that == does not?
Anonymous Quiz
11%
Variable names
74%
Type in addition to value
8%
Memory address
8%
Nothing, they're identical
What problem does a message queue primarily solve?
Anonymous Quiz
10%
Sorting large datasets
76%
Decoupling producers and consumers so they can work asynchronously
10%
Encrypting messages between services
5%
Rendering web pages faster
In dynamic programming, what distinguishes memoization from tabulation?
Anonymous Quiz
0%
They are the same technique with different names
76%
Memoization is top-down recursion; tabulation is bottom-up
19%
Tabulation always uses more memory than memoization
5%
Memoization can't be used with recursion
Topic: JavaScript
🔍 Quick look before the question:
🔍 Quick look before the question:
function Counter() {
this.count = 0;
this.increment = function() {
this.count++;
};
}
const c = new Counter();
const inc = c.increment;
inc();
console.log(c.count);