INTRODUCTION TO PYTHON: UNIT 1, MODULE 1
QUESTIONS WITH VERIFIED ANSWERS LATEST
UPDATE
Question 1.
infinite loop
ANSWER
a loop that never ends
Question 2.
.lower()
ANSWER
all characters of a string are made lowercase.
Question 3.
Integer data type
ANSWER
A numeric data type used for fields that contain whole numbers
Question 4.
Cast a data type
ANSWER
make a variable the data type that you want.
Question 5.
.swapcase()
ANSWER
all characters of a string are made to switch case.
1/6
, Question 6.
string data type
ANSWER
the data type used for memory locations that store alphanumeric text
Question 7.
character art
ANSWER
creates "art" using the print() function.
Question 8.
.startswith()
ANSWER
Checks whether a string begins with specified characters
Question 9.
Boolean
ANSWER
A single value of either TRUE or FALSE
Question 10.
Python function
ANSWER
A mini program that runs and returns a value.
Question 11.
Variables
ANSWER
A placeholder for a value.
2/6
QUESTIONS WITH VERIFIED ANSWERS LATEST
UPDATE
Question 1.
infinite loop
ANSWER
a loop that never ends
Question 2.
.lower()
ANSWER
all characters of a string are made lowercase.
Question 3.
Integer data type
ANSWER
A numeric data type used for fields that contain whole numbers
Question 4.
Cast a data type
ANSWER
make a variable the data type that you want.
Question 5.
.swapcase()
ANSWER
all characters of a string are made to switch case.
1/6
, Question 6.
string data type
ANSWER
the data type used for memory locations that store alphanumeric text
Question 7.
character art
ANSWER
creates "art" using the print() function.
Question 8.
.startswith()
ANSWER
Checks whether a string begins with specified characters
Question 9.
Boolean
ANSWER
A single value of either TRUE or FALSE
Question 10.
Python function
ANSWER
A mini program that runs and returns a value.
Question 11.
Variables
ANSWER
A placeholder for a value.
2/6