# Quiz Discussion

The one’s complement of 110010101 is:

Course Name: Python

• 1]

001101010

• 2]

110010100

• 3]

110010101

• 4]

001101011

##### 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 of these in not a core data type?

• 1]

Lists

• 2]

Dictionary

• 3]

Tuples

• 4]

Class

##### Solution
2
Discuss

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

• 1]

True

• 2]

False

##### Solution
3
Discuss

What is the value of the following expression?

2+4.00, 2**4.0

• 1]

(6.0, 16.0)

• 2]

(6.00, 16.00)

• 3]

(6, 16)

• 4]

(6.00, 16.0)

##### Solution
4
Discuss

Which one of the following has the same precedence level?

• 1]

• 2]

• 3]

• 4]

##### Solution
5
Discuss

What will be the output of the following Python code?

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

• 1]

he

• 2]

olleh

• 3]

lo

• 4]

hello

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

Mathematical operations can be performed on a string.

• 1]

True

• 2]

False

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

What is the return value of trunc()?

• 1]

int

• 2]

bool

• 3]

float

• 4]

None

# Quiz