# Quiz Discussion

What is the value of the following expression?

2+4.00, 2**4.0

Course Name: Python

• 1]

(6.0, 16.0)

• 2]

(6.00, 16.00)

• 3]

(6, 16)

• 4]

(6.00, 16.0)

##### Solution
No Solution Present Yet

#### Top 5 Similar Quiz - Based On AI&ML

Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api

# Quiz
1
Discuss

The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.

• 1]

True

• 2]

False

##### Solution
2
Discuss

What is the return type of function id?

• 1]

int

• 2]

float

• 3]

dict

• 4]

bool

##### Solution
3
Discuss

Which of the following operators has its associativity from right to left?

• 1]

+

• 2]

//

• 3]

%

• 4]

**

##### Solution
4
Discuss

Which is the correct operator for power(xy)?

• 1]

X^y

• 2]

X**y

• 3]

X^^y

• 4]

None of the mentioned

##### Solution
5
Discuss

What is the value of the following expression?

float(22//3+3/3)

• 1]

8

• 2]

8.0

• 3]

8.3

• 4]

8.33

##### Solution
6
Discuss

What will be the value of x in the following Python expression?

x = int(43.55+2/2)

• 1]

43

• 2]

44

• 3]

22

• 4]

23

##### Solution
7
Discuss

What will be the output of the following Python code?

>>>str="hello"
>>>str[:2]
>>>

• 1]

he

• 2]

olleh

• 3]

lo

• 4]

hello

##### Solution
8
Discuss

Mathematical operations can be performed on a string.

• 1]

True

• 2]

False

##### Solution
9
Discuss

Operators with the same precedence are evaluated in which manner?

• 1]

Left to Right

• 2]

Right to Left

• 3]

Can’t say

• 4]

None of the mentioned

##### Solution
10
Discuss

What data type is the object below?

L = [1, 23, 'hello', 1]

• 1]

list

• 2]

dictionary

• 3]

array

• 4]

tuple

# Quiz