String & Regular Expression – MCQ
String: A string is a data type used in programming, that is used to represent text rather than numbers. A string is a sequence of
Selvam College of Technology (Autonomous)
String: A string is a data type used in programming, that is used to represent text rather than numbers. A string is a sequence of
Arrays -MCQ An array is a data structure designed to store multiple values of the same data type efficiently. It allows storing of multiple values
Dictionary – MCQ A dictionary is a dynamic data structure used for storing and organizing data in key-value pairs. It is defined by enclosing a
Sets & Frozen Sets QB In Python, a set is an unordered and mutable collection of unique elements. It is defined by enclosing a comma-separated
Tuple – MCQ Tuples are a built-in data structure in Python used for storing ordered collections of elements. Similar to lists, tuples are defined by
List – MCQ In Python, a list is a built-in data type used to store a collection of items. Lists are mutable, meaning you can
Functions – MCQ Functions in Python are blocks of statements designed to perform specific tasks. Code that is frequently used can be enclosed within a