KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

State whether the following statements are True or False:

  1. Comments are executable statements.
  2. The import statements are used to include modules or libraries into the program to accomplish tasks.
  3. Operators are the symbols or tokens to perform various mathematical or logical operations on data.
  4. All whole numbers (positive or negative numbers) without a decimal point are said to be float type numbers.
  5. The tuple is an ordered set of elements containing one or more data items of the same or different types.
  6. In Python, we cannot assign the same integer value to different variables.
  7. Python is case sensitive and thus it treats uppercase and lowercase letters differently.
  8. Boolean constants are special literals and represent only two Boolean values.

Python Funda

1 Like

Answer

  1. False
    Corrected Statement: Comments are non-executable statements.
  2. True
  3. True
  4. False
    Corrected Statement: All whole numbers (positive or negative numbers) without a decimal point are said to be int (integer) type numbers.
  5. True
  6. False
    Corrected Statement: In Python, we can assign the same integer value to different variables.
  7. True
  8. True

Answered By

3 Likes


Related Questions