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));
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
