Programming Quiz Channel
784 subscribers
81 photos
4 videos
1 file
Programming quizzes and knowledge tests

Short quizzes on programming, logic and computer science.

Test and improve your coding knowledge.
Join 👉 https://rebrand.ly/bigdatachannels

DMCA: @disclosure_bds
Contact: @mldatascientist
Download Telegram
What HTTP status code indicates a resource was not found?
Anonymous Quiz
8%
200
6%
301
81%
404
5%
500
Topic: Debugging & Code Output

🔍 Quick look before the question:

def greet(name):
print("Hello " + name)

greet()
Which JOIN returns only rows with matches in both tables?
Anonymous Quiz
16%
LEFT JOIN
13%
RIGHT JOIN
56%
INNER JOIN
16%
FULL OUTER JOIN
What are the units of transmitted network data called?
Anonymous Quiz
81%
Packets
13%
Blocks
3%
Folders
3%
Files
What is the space complexity of a typical recursive Fibonacci implementation without memoization?
Anonymous Quiz
3%
O(1)
57%
O(n)
30%
O(log n)
10%
O(n^2)
2
Which CSS property controls the space between an element's border and its content?
Anonymous Quiz
28%
margin
52%
padding
16%
spacing
4%
border-gap
What advantage does a doubly linked list have over a singly linked list?
Anonymous Quiz
4%
Faster random access
83%
It can be traversed backward as well as forward
13%
It uses less memory
0%
It supports binary search
What is the default value of a boolean instance variable in Java?
Anonymous Quiz
19%
true
38%
false
38%
null
4%
0
Which concept allows one algorithm to solve many different problems by changing only the input?
Anonymous Quiz
7%
Hardcoding
60%
Abstraction
13%
Duplication
20%
Compilation
What is the amortized time complexity of appending to a dynamic array (like Python's list or Java's ArrayList)?
Anonymous Quiz
17%
O(n) always, because it must resize every time
70%
O(1) amortized, even though occasional resizes cost O(n)
9%
O(log n) amortized
4%
O(1) worst case, every single append
What does the strict equality operator === check that == does not?
Anonymous Quiz
10%
Variable names
74%
Type in addition to value
8%
Memory address
8%
Nothing, they're identical
Topic: JavaScript

🔍 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);
What is the time complexity of searching in a balanced binary search tree?
Anonymous Quiz
9%
O(1)
43%
O(log n)
43%
O(n)
4%
O(n log n)