Programming Quiz Channel – Telegram
Programming Quiz Channel
614 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
Which character is used to indicate an end tag in HTML?
Anonymous Quiz
2%
^
2%
*
40%
/
55%
>
JavaScript Task
Given an array of numbers. Increase each number in the array by 10 percent.
Difficulty: Easy😁

let numbers = [100, 200, 300, 400, 500];
1
Which of the following is the correct way to center a block element horizontally using margins?
Anonymous Quiz
11%
margin: 0;
51%
margin: 0 auto;
23%
margin: 0 50%;
14%
margin: auto 0;
Which HTML5 element represents a self-contained piece of content that could be distributed independently?
Anonymous Quiz
26%
<div>
21%
<section>
18%
<container>
35%
<article>
What will this code output? Spot the bug.
Difficulty: Hard😤

for (var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}
Which HTML tag is used to define an unordered list?
Anonymous Quiz
74%
<ul>
9%
<li>
5%
<ol>
12%
<dl>
How can you select the element with the id 'example' in CSS?
Anonymous Quiz
26%
.example
8%
example
5%
*example
What will this code output to the console?
Difficulty: Easy 😁

function add(a, b) {
return a * b;
}

const result = add(5,'2');
console.log(result);
What programming language are you interested in for your next test?
Anonymous Poll
40%
Python
16%
Java
7%
C++
23%
PHP
14%
Other
Find the error in the code.
The answer should be: 0, 1
Difficulty: Average😐

const createCounter = () => {
let count = 0;
return () => {
console.log(count++);
};
};

const counter1 = createCounter();
const counter2 = createCounter();

counter1();
counter2();
What is the correct way to create a variable with the value of 5 in Python?
Anonymous Quiz
34%
int x = 5
39%
x = 5
26%
let x = 5
0%
5 = x