Instructions

  • 1. Your final score will reflect your grasp of the concepts—approach each question with precision.
  • 2. Thoroughly review each solution before proceeding to ensure full understanding.
  • 3. Final results will be available after submission to provide insights into areas for further improvement.
  • 4. Maintain academic integrity—plagiarism undermines learning and professional growth.
  • 5. Once submitted, responses are final, so ensure you’re confident in your answers.
  • 6. These challenges are designed to test practical knowledge; apply your skills as you would in real-world scenarios.

All Problems

Question

Action

What is a data type in Python?

View

Which of the following is an immutable data type in Python?

View

Which of the following is a composite data type?

View

Which data type is used to store True or False values?

View

What is the output of the expression: type(5)?

View

Which of the following data types allows duplicate values?

View

What is the key difference between a list and a tuple?

View

Which data type is used to represent a collection of key-value pairs?

View

What is the correct data type to store the value: 3.14?

View

Can Python variables change their data type dynamically?

View

What is a data type in Python?

A function that stores data
A classification that specifies what kind of value a variable can hold
An operator used in loops
A method to format strings

Which of the following is an immutable data type in Python?

List
Dictionary
String
Set

Which of the following is a composite data type?

Float
Tuple
String
Integer

Which data type is used to store True or False values?

Integer
Float
Boolean
String

What is the output of the expression: type(5)?

int
str
float
bool

Which of the following data types allows duplicate values?

Set
List
Dictionary
Tuple

What is the key difference between a list and a tuple?

Tuples are mutable; lists are immutable
Lists are mutable; tuples are immutable
Lists are faster than tuples
Tuples are faster than lists

Which data type is used to represent a collection of key-value pairs?

List
Set
Dictionary
Tuple

What is the correct data type to store the value: 3.14?

Integer
String
Float
Boolean

Can Python variables change their data type dynamically?

Yes
No