علم البيانات | DS2 Quizes – Telegram
علم البيانات | DS2 Quizes
966 subscribers
96 photos
2 videos
14 files
110 links
"قناة علمية متخصصة في مجال علم البيانات، قناة خاصة بالاختبارات MCQ ."
القناة العامة: @Computer_DS_1
النقاشات: @Computer_DS1
قناة الاختبارات: @Computer_DS_2
بوت التواصل والمشاركات : @DS_Combot
Download Telegram
What is the output of console.log(null == undefined)?
Anonymous Quiz
58%
true
27%
false
13%
Error
2%
undefined
How do you change the style of an element with ID "demo"?
Anonymous Quiz
65%
document.getElementById("demo").style.color = "red";
18%
document.getElement("demo").color = "red";
8%
document.style("demo").color = "red";
Which of the following is jQuery syntax to hide an element with ID "demo"?
Anonymous Quiz
25%
$("#demo").style.display = "none";
29%
document.getElementById("demo").hide();
35%
$("#demo").hide();
How do you set the text of an element in jQuery?
Anonymous Quiz
39%
$("#demo").text("Hello")
26%
$("#demo").innerHTML = "Hello"
24%
document.getElementById("demo").text = "Hello"
11%
$("#demo").value = "Hello"
Output of : let y = 10;
y = 20;
console.log(y);
Anonymous Quiz
81%
20
7%
10
10%
error
2%
y
Output of : const z = 15;
z = 25;
console.log(z);
Anonymous Quiz
33%
Error
39%
25
26%
15
2%
undefined
Output of : let a = 5;
a += 3;
console.log(a);
Anonymous Quiz
5%
53
3%
5
2%
error
90%
8
Output of : let person = {name: "Ali", age: 20};
console.log(person.name);
Anonymous Quiz
3%
20
5%
person
91%
Ali
0%
name
Output of : <button onclick="alert('Hi')">Click me</button>
Anonymous Quiz
66%
Shows alert when clicked
6%
Error
3%
Nothing
24%
Prints "Hi" in console
Output of : let str = "Hello";
console.log(str.length);
Anonymous Quiz
5%
4
71%
5
8%
error
17%
Hello
Output of : let name = "Ali";
console.log(`Hello ${name}`);
Anonymous Quiz
0%
name
6%
Hello
86%
Hello Ali
8%
Hello ${name}
Output of : let age = 20;
console.log(`I am ${age} years old`);
Anonymous Quiz
0%
Error
0%
age
8%
I am ${age} years old
92%
I am 20 years old
Which symbol is used for addition in JS?
Anonymous Quiz
3%
*
83%
+
10%
%
4%
-
What is the output of console.log( 5 + "5") ?
Anonymous Quiz
3%
10
79%
"55"
8%
5
10%
error
Output of : console.log(5 + 2);
Anonymous Quiz
86%
7
9%
52
3%
Error
3%
5+2
1
What is the output of :
function add(a, b) {
return a + b; } console.log(add(2, 3));
Anonymous Quiz
3%
23
80%
5
9%
2+3
8%
error
Which symbol is used for multiplication?
Anonymous Quiz
78%
*
8%
x
10%
×
4%
%
What will console.log(2 ** 3) output?
Anonymous Quiz
19%
6
10%
9
65%
8
5%
23
😁1
Which symbol is used for remainder in JS?
Anonymous Quiz
75%
%
12%
/
8%
*
5%
-
What is the output of : console.log(2 * 4);
Anonymous Quiz
3%
6
91%
8
4%
24
3%
error