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 are the units of transmitted network data called?
Anonymous Quiz
83%
Packets
10%
Blocks
3%
Folders
3%
Files
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 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 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
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
10%
O(1)
43%
O(log n)
43%
O(n)
5%
O(n log n)
Topic: SQL

🔍 Quick look before the question:

SELECT e.name, e.salary
FROM employees e
WHERE e.salary > (
SELECT AVG(salary)
FROM employees
WHERE department = e.department
);