Programming Quiz Channel
Kanalga Telegram’da o‘tish
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
Ko'proq ko'rsatish737
Obunachilar
+324 soatlar
+87 kunlar
+2830 kunlar
Postlar arxiv
Find the error in the code.
Difficulty: Average🤨
const numbers = [1, 2, 3, 4, 5];
const doubleNumbers = numbers.map(function(num) {
num *= 2;
});
console.log(doubleNumbers);What will this code output?
Difficulty: Average🤨
const obj1 = { name: 'Alice' };
const obj2 = { name: 'Alice' };
if (obj1 === obj2) {
console.log("true");
} else {
console.log("false");
}Which HTML element is used to define a navigation section?
JavaScript Task
Write a greet function that takes a name and prints the message "Hello, [name]!".
Difficulty: Easy 😁
greet("John");
greet("Alex");Which CSS property is used to create space between elements on a page?
Find the error in the code.
Difficulty: Average🤨
const person = {
name: "John",
greet: function() {
setTimeout(function() {
console.log(Hello, my name is ${this.name});
}, 1000);
}
};
person.greet();Which JavaScript method is used to create a new instance of a Date object?
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);Which HTML tag is used to define a list of key-value pairs?
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();Find the error in the code.
Difficulty: Easy😁
function add(a, b) {
return a + b;
}
const result = add(5);
console.log(result);
Endi mavjud! Telegram Tadqiqoti 2025 — yilning asosiy insaytlari 
