# Quiz Discussion

It is not possible for the two’s complement value to be equal to the original value in any case.

Course Name: Python

• 1]

True

• 2]

False

##### 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

Which one of the following has the same precedence level?

• 1]

• 2]

• 3]

• 4]

##### Solution
2
Discuss

Evaluate the expression given below if A = 16 and B = 15.

A % B // A

• 1]
0.0
• 2]

0

• 3]

1.0

• 4]

1

##### Solution
3
Discuss

Which of the following will run without errors?

• 1]

round(45.8)

• 2]

round(7463.123,2,1)

• 3]

round()

• 4]

round(6352.898,2,5)

##### Solution
4
Discuss

What is the average value of the following Python code snippet?

>>>grade1 = 80
>>>average = (grade1 + grade2) / 2

• 1]

85.0

• 2]

85.1

• 3]

95.0

• 4]

95.1

##### Solution
5
Discuss

What are the values of the following Python expressions?

 2**(3**2)
(2**3)**2
2**3**2

• 1]

64, 512, 64

• 2]

512, 512, 512

• 3]

512, 64, 512

• 4]

64, 64, 64

##### Solution
6
Discuss

What is the return type of function id?

• 1]

int

• 2]

float

• 3]

dict

• 4]

bool

##### Solution
7
Discuss

The expression Int(x) implies that the variable x is converted to integer.

• 1]

True

• 2]

False

##### Solution
8
Discuss

Which of the following is the truncation division operator?

• 1]

/

• 2]

%

• 3]

//

• 4]

|

##### Solution
9
Discuss

What is the return value of trunc()?

• 1]

int

• 2]

bool

• 3]

float

• 4]

None

##### Solution
10
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

# Quiz