Programming Quiz Channel
724 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
Find the error in the code.
Difficulty: Easy😁

function greet(name) {
console.log("Hello, " + name);
}

greet();
Which statement is used to execute a function in JavaScript?
Anonymous Quiz
18%
run
47%
function
7%
execute
29%
call
Which of the following is NOT a valid JavaScript variable name?
Anonymous Quiz
9%
myVariable
53%
2ndVariable
29%
$variable
9%
_variable
Find the error in the code.
Difficulty: Average😐

const data = [1, 2, 3, 4, 5];

function getEvenNumbers(arr) {
return arr.filter(num => num % 2 = 0);
}

console.log(getEvenNumbers(data));
👍42🔥2
What is the correct way to create a hyperlink in HTML?
Anonymous Quiz
14%
<link href="www.example.com">click</link>
71%
<a href="www.example.com">click</a>
2%
👍3🕊3🔥2🐳2
Best colors for brands

#colors
🔥41👍1
The task is to write a palindrome function.
Difficulty: Hard😤

isPalindrome("radar"); // true
isPalindrome("hello"); // false
👍4🔥1🍾1
Find the error in the code.
Difficulty: Easy😁

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

const result = add(5);
console.log(result);
❤‍🔥1👍1👏1
Find the error in the code.
Difficulty: Hard😤

async function fetchData() {
const response = await fetch('https://api.example.com/data');
const data = await response.json();
return data;
}

async function processData() {
const data = fetchData();
console.log(data);
}

processData();
Which HTML tag is used to define a list of key-value pairs?
Anonymous Quiz
32%
<list>
30%
<dl>
18%
<ul>
20%
<ol>