علم البيانات | DS2 Quizes – Telegram
علم البيانات | DS2 Quizes
965 subscribers
96 photos
2 videos
14 files
110 links
"قناة علمية متخصصة في مجال علم البيانات، قناة خاصة بالاختبارات MCQ ."
القناة العامة: @Computer_DS_1
النقاشات: @Computer_DS1
قناة الاختبارات: @Computer_DS_2
بوت التواصل والمشاركات : @DS_Combot
Download Telegram
In Python, the operation -3 ** 2 gives the result -9.
Anonymous Quiz
30%
1
70%
0
😢21
The operation 10 % 5 gives the remainder zero because 10 is divisible by 5 without a remainder
Anonymous Quiz
71%
1
29%
0
The result of the operation 2 ** 0 is 1.
Anonymous Quiz
76%
1
24%
0
Python executes operations from right to left when there are multiplication and addition operations on the same line.
Anonymous Quiz
43%
1
57%
0
👍1
What is the result of the operation 9 % 4 in Python?
Anonymous Quiz
6%
0
80%
1
9%
2
6%
3
What is the result of 2 ** 3?
Anonymous Quiz
8%
6
78%
8
7%
9
7%
16
Which of the following operations is used to find the floor division result in Python?
Anonymous Quiz
14%
/
77%
//
3%
*
6%
٪
What is the result of the operation 10 / 3?
Anonymous Quiz
80%
3.33
11%
3
6%
3.22
3%
3.0
What is the result of 3 + 5 * 2 according to the order of operations?
Anonymous Quiz
93%
13
5%
14
1%
10
1%
12
Which of the following operations is used to find the result of exponentiation (power) in Python?
Anonymous Quiz
6%
*
86%
**
7%
*_*
1%
*~*
The function int("10.5") will successfully convert the string "10.5" to an integer in Python
Anonymous Quiz
38%
0
62%
1
The expression str(25.5) will convert the float 25.5 into the string "25.5".
Anonymous Quiz
30%
0
70%
1
In Python, bool(0) will return True
Anonymous Quiz
83%
0
17%
1
The function float("25") will convert the string "25" into the float 25.0.
Anonymous Quiz
35%
0
65%
1
What will the result of int("3.14") be in Python?
Anonymous Quiz
39%
3
25%
3.14
34%
Error
1%
None
Which of the following will correctly convert a string "123" to an integer?
Anonymous Quiz
41%
int(123)
44%
int("123")
9%
str(123)
6%
float("123")
Which function is used to convert a value to a floating-point number in Python?
Anonymous Quiz
10%
int()
5%
str()
82%
float()
3%
bool()
What will the result of bool([]) be in Python?
Anonymous Quiz
18%
True
30%
False
18%
0
33%
Error
🔥1🤔1
What is the correct way to convert a float 12.34 to an integer in Python?
Anonymous Quiz
11%
float(12.34)
5%
str(12.34)
84%
int(12.34)
0%
bool(12.34)
Which of the following will convert a tuple (1, 2, 3) to a list
Anonymous Quiz
30%
list(1, 2, 3)
27%
tuple([1, 2, 3])
36%
list((1, 2, 3))
7%
str(1, 2, 3)
What is the result of str(10 + 5) in Python?
Anonymous Quiz
18%
"15"
38%
"10 + 5"
19%
15
24%
"105"