علم البيانات | 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
Which method adds an element to the end of an array?
Anonymous Quiz
56%
push()
35%
pop()
5%
shift()
5%
unshift()
Which method removes the first element from an array?
Anonymous Quiz
9%
push()
26%
pop()
53%
shift()
12%
unshift()
Which event occurs when the user hovers over an element?
Anonymous Quiz
28%
onhover
51%
onmouseover
7%
mousehover
14%
hover
What will Boolean() return?
Anonymous Quiz
9%
true
43%
false
7%
0
41%
undefined
👍1
Which method joins array elements into a string?
Anonymous Quiz
74%
join()
12%
split()
12%
concat()
2%
merge()
How do you remove duplicates from an array?
Anonymous Quiz
51%
arr.filter()
21%
arr.remove()
21%
arr.delete()
7%
arr.uniq()
Which statement correctly accesses an object property using a string key?
Anonymous Quiz
49%
obj.key
42%
obj[key]
2%
obj->key
7%
obj(key)
How do you add an element at the beginning of an array?
Anonymous Quiz
28%
push()
45%
unshift()
19%
shift()
9%
pop()
Which method is used to find an element in an array?
Anonymous Quiz
61%
find()
33%
search()
7%
filter()
How do you convert a number to a string?
Anonymous Quiz
7%
num.toString()
17%
String(num)
11%
parseString(num)
65%
Both A and B
Which method rounds a number to the nearest integer?
Anonymous Quiz
16%
Math.floor()
20%
Math.ceil()
64%
Math.round()
0%
Math.trunc()
How do you create a copy of an array?
Anonymous Quiz
38%
arr.slice()
56%
arr.copy()
2%
arr.clone()
4%
arr.duplicate()
Which of the following creates a private variable in JS class?
Anonymous Quiz
30%
_privateVar
17%
private var
9%
var privateVar
How can you prevent a property from being modified?
Anonymous Quiz
63%
Object.freeze(obj)
13%
Object.seal(obj)
13%
const obj
11%
None of the above
Which method converts a JSON string into an object?
Anonymous Quiz
50%
JSON.stringify()
50%
JSON.parse()
What is the output of console.log(typeof function(){})?
Anonymous Quiz
70%
function
11%
object
11%
undefined
9%
method
Which operator returns the type of a variable?
Anonymous Quiz
11%
type
81%
typeof
6%
instanceOf
2%
typeOf
Which property changes the content of an HTML element?
Anonymous Quiz
76%
innerHTML
10%
innerText
10%
textContent
4%
value