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
How can you open a link in a new tab/browser window?
Anonymous Quiz
2%
<a href="url" target="_self">
54%
<a href="url" target="_blank">
24%
<a href="url" target="_new">
20%
<a href="url" target="_window">
โค2
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๐คจ
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());Which one is not a legal variable name in Python?
Anonymous Quiz
23%
my_var
35%
_myvar
23%
Myvar
19%
my-var
How do you define a function in JavaScript?
Anonymous Quiz
63%
function myFunction() {}
18%
func myFunction() {}
16%
function: myFunction() {}
4%
define myFunction() {}
Which is the correct CSS syntax?
Anonymous Quiz
19%
body: color = black;
59%
body {color: black;}
11%
{body;color:black;}
11%
body: {color=black;}
Which of the following is NOT a JavaScript data type?
Anonymous Quiz
11%
Boolean
9%
Number
43%
Character
36%
Undefined
Find the error in the code.
Difficulty: Easy๐
Difficulty: Easy๐
function greet(name) {
console.log("Hello, " + name);
}
greet();๐2
How do you insert comments in Python code?
Anonymous Quiz
35%
// This is a comment
49%
# This is a comment
7%
/* This is a comment */
9%
<!-- This is a comment -->
What is the correct HTML for making a checkbox?
Anonymous Quiz
9%
<check>
14%
<input type="check">
8%
<checkbox>
69%
<input type="checkbox">
This media is not supported in your browser
VIEW IN TELEGRAM
โค2๐1๐จโ๐ป1