# Quiz Discussion

What is the output of this expression, 3*1**3?

Course Name: Python

• 1]

23

• 2]

13

• 3]

1

• 4]

3

##### 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 is the return type of function id?

• 1]

int

• 2]

float

• 3]

dict

• 4]

bool

##### Solution
2
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
3
Discuss

Which one of the following has the same precedence level?

• 1]

• 2]

• 3]

• 4]

##### Solution
4
Discuss

In order to store values in terms of key and value we use what core data type.

• 1]

tuple

• 2]

list

• 3]

class

• 4]

dictionary

##### Solution
5
Discuss

What will be the value of the following Python expression?

4 + 3 % 5

• 1]

4

• 2]

7

• 3]

2

• 4]

0

##### Solution
6
Discuss

What is the value of the following expression?

8/4/2, 8/(4/2)

• 1]

(1.0, 4.0)

• 2]

(1.0, 1.0)

• 3]

(4.0. 1.0)

• 4]

(4.0, 4.0)

##### Solution
7
Discuss

The following is displayed by a print function call. Select all of the function calls that result in this output.

tom
dick
harry

• 1]

print(”’tomdickharry”’)

• 2]
print('''tom
\ndick
\nharry''')
• 3]
print('tom
dick
harry')
• 4]

print(‘tom\ndick\nharry’)

##### Solution
8
Discuss

In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.

>>>x = 13 ? 2

the objective is to make sure x has an integer value, select all that apply

• 1]

x = 13 // 2

• 2]

x = int(13 / 2)

• 3]

x = 13 % 2

• 4]

All of the mentioned

##### Solution
9
Discuss

Which of the following is the truncation division operator?

• 1]

/

• 2]

%

• 3]

//

• 4]

|

##### Solution
10
Discuss

What error occurs when you execute the following Python code snippet?

apple = mango

• 1]

SyntaxError

• 2]

NameError

• 3]

ValueError

• 4]

TypeError

# Quiz