Programming Quiz Channel – Telegram
Programming Quiz Channel
612 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 correct syntax for referring to an external noscript called "xxx.js"?
Anonymous Quiz
70%
<noscript src="xxx.js"></noscript>
18%
<noscript src="xxx.js">
7%
<noscript src=""></noscript>
5%
<noscript name="xxx.js">
Who is making the Web standards?
Anonymous Quiz
34%
Google
8%
Mozilla
48%
The World Wide Web Consortium
10%
Microsoft
🤣4👍2😁2
Find the error in the code.
Difficulty: Easy😁

number = 5
text = "Quantity: " + number

print(text)
🔥3🤔3👍2
How do you add a background color for all <h1> elements?
Anonymous Quiz
60%
h1 {background-color:#FFFFFF;}
6%
all.h1 {background-color:#FFFFFF;}
15%
h1 background-color:#FFFFFF;
❤‍🔥5🔥1
Event delegation in Javanoscript!!

Commonly used for handling clicks on dynamically added elements, managing events for a large number of similar elements efficiently, and simplifying event management in complex user interfaces.
3👍1🔥1
Which HTML tag is used to define an internal style sheet?
Anonymous Quiz
84%
<style>
11%
<css>
2%
<noscript>
3%
<tag>
1
Find the error in the code.
Difficulty: Hard😤

function processArray(arr) {
let result = [];

arr.forEach(item => {
if (item != '') {
result.push(item);
} else if (typeof item === 'number') {
result.push(item * 2);
}
});

return result;
}

let data = [1, '', 2, 3, '', 5, null, undefined, 'hello'];

console.log(processArray(data));
3👍1🔥1
3 rounding methods in JavaScript
🔥21👍1
🤣10😁1
Which CSS property controls the text size?
Anonymous Quiz
77%
font-size
9%
text-style
4%
font-style
9%
text-size
What will this code output? Spot the bug.
Difficulty: Hard😤

for (var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}
6🔥3👍1
Channel name was changed to «Programming Quiz Channel»
Channel photo updated
What is the time complexity of binary search on a sorted array?
Anonymous Quiz
20%
O(n)
42%
O(log n)
20%
O(1)
18%
O(n log n)
2
Which SQL keyword removes duplicate rows?
Anonymous Quiz
28%
UNIQUE
4%
CLEAN
52%
DISTINCT
16%
REMOVE
🥱1
In Python, what is the result of len("abc" * 3)?
Anonymous Quiz
19%
3
10%
6
63%
9
8%
12
Which OS algorithm may cause starvation?
Anonymous Quiz
16%
FCFS
35%
Round Robin
23%
FIFO
25%
Priority scheduling
Which HTTP status implies retry later?
Anonymous Quiz
8%
200
32%
429
24%
301
36%
404
2
In Java, what is the default value for uninitialized int variable inside a class?
Anonymous Quiz
39%
0
37%
null
24%
undefined
0%
1
Which data structure uses LIFO behavior ?
Anonymous Quiz
23%
Queue
7%
Tree
68%
Stack
3%
Graph