# Quiz Discussion

What are the values of the following Python expressions?

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

Course Name: Python

• 1]

64, 512, 64

• 2]

512, 512, 512

• 3]

512, 64, 512

• 4]

64, 64, 64

##### 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 one’s complement of 110010101 is:

• 1]

001101010

• 2]

110010100

• 3]

110010101

• 4]

001101011

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

Which is the correct operator for power(xy)?

• 1]

X^y

• 2]

X**y

• 3]

X^^y

• 4]

None of the mentioned

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

Which of these in not a core data type?

• 1]

Lists

• 2]

Dictionary

• 3]

Tuples

• 4]

Class

##### Solution
6
Discuss

Which one of the following has the same precedence level?

• 1]

• 2]

• 3]

• 4]

##### Solution
7
Discuss

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

• 1]

True

• 2]

False

##### Solution
8
Discuss

Mathematical operations can be performed on a string.

• 1]

True

• 2]

False

##### Solution
9
Discuss

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

• 1]

23

• 2]

13

• 3]

1

• 4]

3

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

# Quiz