en
Feedback
Programming Quiz Channel

Programming Quiz Channel

Open in Telegram

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

Show more
737
Subscribers
+324 hours
+87 days
+2830 days
Posts Archive
#css #flexbox #cheatsheet
#css #flexbox #cheatsheet

What does the typeof operator return for an array?
Anonymous voting

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 is Redux in the context of React?
Anonymous voting

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?
Anonymous voting

#css #cheatsheet
#css #cheatsheet

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?
Anonymous voting

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?
Anonymous voting

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?
Anonymous voting

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();

What does the "margin: 0 auto;" CSS rule do?
Anonymous voting

What is the purpose of the "Context API" in React?
Anonymous voting

Find the error in the code. Difficulty: Easy๐Ÿ˜
function add(a, b) {
  return a + b;
}

const result = add(5);  
console.log(result);

What is the "useState" hook in React used for?
Anonymous voting

#html
#html

What is the purpose of the "If" statement in JavaScript?
Anonymous voting