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
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));
๐Ÿ‘4โค2๐Ÿ”ฅ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
๐Ÿ”ฅ4โค1๐Ÿ‘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>
JavaScript Task
Write a double function that takes an array of numbers and returns a new array with each number multiplied by 2.
Difficulty: Average๐Ÿคจ

const numbers = [1, 2, 3, 4, 5];
const doubledNumbers = double(numbers);

console.log(doubledNumbers);