Programming Quiz Channel
721 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
What programming language are you interested in for your next test?
Anonymous Poll
40%
Python
16%
Java
7%
C++
24%
PHP
13%
Other
โค2๐Ÿ‘1
Find the error in the code.
The answer should be: 0, 1
Difficulty: Average๐Ÿ˜

const createCounter = () => {
let count = 0;
return () => {
console.log(count++);
};
};

const counter1 = createCounter();
const counter2 = createCounter();

counter1();
counter2();
What is the correct way to create a variable with the value of 5 in Python?
Anonymous Quiz
35%
int x = 5
40%
x = 5
25%
let x = 5
0%
5 = x
๐Ÿ‘2๐Ÿ”ฅ1๐Ÿ‘1
Which tag is used to define an HTML table header?
Anonymous Quiz
34%
<header>
44%
<th>
18%
<head>
4%
<tr>
How can you ensure that an element always stays at the bottom of its parent container?
Anonymous Quiz
38%
position: fixed; bottom: 0;
15%
position: sticky; bottom: 0;
44%
position: absolute; bottom: 0;
3%
position: relative; bottom: 0;
Find the error in the code.
Difficulty: Average๐Ÿ˜

numbers = [1, 2, 3, 4, 5]

total = 0
for number in numbers:
total += number

print("The total is: " + total)
Best colors for brands

#colors
โค4๐Ÿ‘Œ1๐Ÿ‘จโ€๐Ÿ’ป1
What is a correct syntax to output "Hello World" in Python?
Anonymous Quiz
80%
print("Hello World")
5%
echo "Hello World"
11%
console.log("Hello World")
4%
printf("Hello World")
โค1๐Ÿ”ฅ1
Preparing for an interview? Check out all the key questions right here!
Programming Quiz Channel pinned ยซPreparing for an interview? Check out all the key questions right here!ยป
Where in an HTML document is the correct place to refer to an external style sheet?
Anonymous Quiz
4%
At the end of the document
20%
In the <body> section
65%
In the <head> section
11%
Before the <html> tag
Find errors in the code.
Difficulty: Average๐Ÿคจ

class Rectangle {
constructor(width, height) {
this.width = width;
this.height = height;
}

getArea() {
return width * height;
}
}

const rect = new Rectangle(5, 10);
console.log("Area:", rect.getArea());