Programming Quiz Channel
794 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 is the time complexity of searching in a balanced binary search tree?
Anonymous Quiz
10%
O(1)
47%
O(log n)
40%
O(n)
3%
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
);
Which keyword is used to inherit a class in Java?
Anonymous Quiz
19%
implements
56%
extends
15%
inherits
11%
super
Topic: Debugging & Code Output

🔍 Quick look before the question:

def modify(lst):
lst.append(100)
lst = [1, 2, 3]
lst.append(200)

original = [0]
modify(original)
print(original)
Which collection interface in Java does not allow duplicate elements?
Anonymous Quiz
15%
List
70%
Set
7%
Map
7%
Queue
Which Python keyword defines a named function?
Anonymous Quiz
3%
func
93%
def
0%
function
3%
lambda
Topic: Java

🔍 Quick look before the question:

public class Test {
static int counter = 0;

static synchronized void increment() {
counter++;
}

public static void main(String[] args) throws InterruptedException {
Thread t1 = new Thread(() -> {
for (int i = 0; i < 1000; i++) increment();
});
Thread t2 = new Thread(() -> {
for (int i = 0; i < 1000; i++) increment();
});
t1.start(); t2.start();
t1.join(); t2.join();
System.out.println(counter);
}
}
In Python, what is the result of 3 ** 2?
Anonymous Quiz
15%
6
81%
9
4%
5
0%
8