MCQ Answer

Which of these in not a core data type in python?

Which of these in not a core data type in python?

इनमें से कौन एक कोर डेटा प्रकार नहीं है?
Topic : Introduction to Python

A. Lists लिस्ट्स

B. Dictionary ड़िक्शनरी

C. Tuples टपल्स

D. Class क्लास




Correct Answer is :

D. Class



Explanation
In Python, core data types refer to the fundamental building blocks used to store and manipulate data. These core data types include:

Numeric Types:

  • int: Integer values, e.g., 5, -10, 1000.
  • float: Floating-point values, e.g., 3.14, -0.01, 2.0.

Sequence Types:

  • str: Strings, used to represent text, e.g., "hello", 'python'.
  • list: Ordered collections of items, e.g., [1, 2, 3], ['apple', 'banana', 'orange'].
  • tuple: Immutable ordered collections of items, e.g., (1, 2, 3), ('apple', 'banana', 'orange').
Mapping Type:

  • dict: Key-value pairs, e.g., {'name': 'John', 'age': 30}, {'apple': 2.0, 'banana': 1.5}.
Set Types:

  • set: Unordered collections of unique items, e.g., {1, 2, 3}, {'apple', 'banana', 'orange'}.
  • frozenset: Immutable version of set, e.g., frozenset({1, 2, 3}).
Boolean Type:

  • bool: Boolean values, True or False.
None Type:

  • None: Represents the absence of a value or a null value.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz