علم البيانات | 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 does console.log(true && false) return?
Anonymous Quiz
7%
true
84%
false
9%
0
0%
1
How do you access the first element of arr?
Anonymous Quiz
85%
arr[0]
5%
arr[1]
5%
arr.first
5%
arr[0,0]
Which keyword defines a variable globally (if not in a function)?
Anonymous Quiz
28%
var
7%
let
9%
const
56%
Both A and B
Which event occurs when a user clicks on an HTML element?
Anonymous Quiz
86%
onclick
5%
onmouseover
7%
onkeypress
2%
onhover
How do you find the length of a string str?
Anonymous Quiz
0%
str.size
55%
str.length
14%
str.len
32%
str.length()
Which function pops the last element from an array?
Anonymous Quiz
71%
arr.pop()
20%
arr.push()
2%
arr.shift()
7%
arr.unshift()
Which statement is used to stop a loop?
Anonymous Quiz
88%
break
5%
stop
5%
return
2%
exit
What will let x; console.log(x); output?
Anonymous Quiz
12%
0
63%
undefined
21%
null
5%
Error
What will typeof null return?
Anonymous Quiz
30%
null
50%
object
17%
undefined
2%
number
🤔5
Which keyword declares a block-scoped variable?
Anonymous Quiz
9%
var
16%
let
4%
const
71%
Both let and const
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