|\ |\ |\ |\ |\ |\
True or False: Input is sending messages to the
|\ |\ |\ |\ |\ |\ |\ |\
console/user. - CORRECT ANSWERS ✔✔False
|\ |\ |\ |\ |\
Which one of the options below is NOT a property of a
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
good algorithm? |\
A) Complex
|\
B) Unambiguous
|\
C) Precise
|\
D) Correct - CORRECT ANSWERS ✔✔A
|\ |\ |\ |\ |\
Which of the following is not a Principal Data Type in
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Python?
A) Numeric types
|\ |\
B) Sequence types
|\ |\
C) Mapping types
|\ |\
D) Set types - CORRECT ANSWERS ✔✔D
|\ |\ |\ |\ |\ |\
Assume the program below is run twice. The first time,
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
the user enters 2 and the second time, the user enters 3.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
What would be the resulting data type stored in x after
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
each run? |\
, if __name__ == "__main__":x = int(input("Enter a number:
|\ |\ |\ |\ |\ |\ |\
"))x = 2 * 4 / xprint("Your output is " + str(x))
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
A) Float and Integer
|\ |\ |\
B) Integer and Integer
|\ |\ |\
C) Float and Float
|\ |\ |\
D) Integer and Float - CORRECT ANSWERS ✔✔C
|\ |\ |\ |\ |\ |\ |\
Given the code below, what will be its output if the user
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
types in "Forest"? |\ |\
biome = input("What is your favorite biome? ")print("Your
|\ |\ |\ |\ |\ |\ |\
favorite biome is " + biome + "s.")
|\ |\ |\ |\ |\ |\ |\ |\
A) What is your favorite biome?Your favorite biome is
|\ |\ |\ |\ |\ |\ |\ |\ |\
Forests
B) What is your favorite biome?Your favorite biome is
|\ |\ |\ |\ |\ |\ |\ |\ |\
Forest
C) What is your favorite biome?Your favorite biome is
|\ |\ |\ |\ |\ |\ |\ |\ |\
Forest.
D) What is your favorite biome?Your favorite biome is
|\ |\ |\ |\ |\ |\ |\ |\ |\
Forests. - CORRECT ANSWERS ✔✔D |\ |\ |\ |\
What is the resulting data type of the following expression
|\ |\ |\ |\ |\ |\ |\ |\ |\
in Python?
|\ |\