Programming Quiz Channel
رفتن به کانال در 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
نمایش بیشتر736
مشترکین
-224 ساعت
+87 روز
+2530 روز
آرشیو پست ها
Python Task
Write a program that asks the user to enter a number, then displays whether the number is even or odd.
Difficulty: Easy😁
Example of the program's output:
Enter a number: 7 The number 7 is odd. Enter a number: 10 The number 10 is even.
What is the correct HTML element for playing audio files?
Find the error in the code.
Difficulty: Easy😁
number = 5
text = "Quantity: " + number
print(text)How do you make each word in a text start with a capital letter in CSS?
How do you write "Hello World" in an alert box in JavaScript?
Which of the following elements is considered a global HTML structural element?
Find the error in the code.
Difficulty: Hard😤
function processArray(arr) {
let result = [];
arr.forEach(item => {
if (item != '') {
result.push(item);
} else if (typeof item === 'number') {
result.push(item * 2);
}
});
return result;
}
let data = [1, '', 2, 3, '', 5, null, undefined, 'hello'];
console.log(processArray(data));
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
