# Quiz Discussion

Which is the correct operator for power(xy)?

Course Name: Python

• 1]

X^y

• 2]

X**y

• 3]

X^^y

• 4]

None of the mentioned

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

What will be the value of the following Python expression?

4 + 3 % 5

• 1]

4

• 2]

7

• 3]

2

• 4]

0

##### Solution
2
Discuss

Given a function that does not return any value, What value is thrown by default when executed in shell.

• 1]

int

• 2]

bool

• 3]

void

• 4]

None

##### Solution
3
Discuss

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

• 1]

True

• 2]

False

##### Solution
4
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
5
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
6
Discuss

What is the order of precedence in python?

### i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtraction

• 1]

i,ii,iii,iv,v,vi

• 2]

ii,i,iii,iv,v,vi

• 3]

ii,i,iv,iii,v,vi

• 4]

i,ii,iii,iv,vi,v

##### Solution
7
Discuss

Which of the following is the truncation division operator?

• 1]

/

• 2]

%

• 3]

//

• 4]

|

##### Solution
8
Discuss

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

• 1]

True

• 2]

False

##### Solution
9
Discuss

What is the return value of trunc()?

• 1]

int

• 2]

bool

• 3]

float

• 4]

None

##### Solution
10
Discuss

Which of the following results in a SyntaxError?

• 1]

‘”Once upon a time…”, she said.’

• 2]

“He said, ‘Yes!'”

• 3]

‘3\’

• 4]

”’That’s okay”’

# Quiz