Quiz Discussion

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

Course Name: Python

  • 1]

    tuple

  • 2]

    list

  • 3]

    class

  • 4]

    dictionary

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

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
2
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
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 will be the value of the following Python expression?

4 + 3 % 5

 

  • 1]

    4

  • 2]

    7

  • 3]

    2

  • 4]

    0

Solution
5
Discuss

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

  • 1]

    23

  • 2]

    13

  • 3]

    1

  • 4]

    3

Solution
6
Discuss

What data type is the object below?

L = [1, 23, 'hello', 1]

 

  • 1]

    list

  • 2]

    dictionary

  • 3]

    array

  • 4]

    tuple

Solution
7
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
8
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
9
Discuss

Which one of the following has the same precedence level?

  • 1]

    Addition and Subtraction

  • 2]

    Multiplication, Division and Addition

  • 3]

    Multiplication, Division, Addition and Subtraction

  • 4]

    Addition and Multiplication

Solution
10
Discuss

What is the return value of trunc()?

  • 1]

    int

  • 2]

    bool

  • 3]

    float

  • 4]

    None

Solution
# Quiz