Important Python Mcqs

Which of the following is not a core data type in Python programming?

a) Tuples

b) List

c) Class

d) Dictionary

Answer:

c) Class

Explanation:

Class is a user-defined data type. Python’s Core Data Types include Numbers, Strings, Lists, Dictionaries, Tuples, and Files. Other types include Sets, types, None, and Booleans.

Related MCQs

The main method header is written as?

a. public static void main(string[] args) b. public static void Main(string[] args) c. public static void main(Strings[] args) d. public static void main(String[] args) Answer:

A Java variable is the name of a

a. data value stored in memory that can change its value but cannot change its type during the program’s execution b. data type stored in

Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?